2021-04-08 13:59:38 +02:00
b-parasite
==========
.. seo ::
:description: Instructions for setting up the b-parasite soil moisture sensor in ESPHome.
:image: b_parasite.jpg
:keywords: b-parasite, parasite, BLE, Bluetooth, soil moisture
2021-09-25 13:16:31 +02:00
`b-parasite <https://github.com/rbaron/b-parasite> `__ is an open source soil moisture and ambient temperature/humidity/light sensor.
2021-04-08 13:59:38 +02:00
2021-09-25 13:16:31 +02:00
The `` b_parasite `` sensor platform tracks b-parasite's Bluetooth Low Energy (BLE) advertisement packets. These packets contain soil moisture, air temperature/humidity and battery voltage data. Some b-parasite versions have light sensors, in which case the ambient illuminance is also present in the BLE advertisement data.
2021-04-08 13:59:38 +02:00
.. figure :: images/b_parasite.jpg
:align: center
:width: 80.0%
.. code-block :: yaml
# Example configuration.
# Required.
esp32_ble_tracker:
sensor:
- platform: b_parasite
2024-07-15 01:40:55 +02:00
mac_address: XX:XX:XX:XX:XX:XX
2021-04-08 13:59:38 +02:00
humidity:
name: 'b-parasite Air Humidity'
temperature:
name: 'b-parasite Air Temperature'
moisture:
name: 'b-parasite Soil Moisture'
battery_voltage:
name: 'b-parasite Battery Voltage'
2021-09-25 13:16:31 +02:00
illuminance:
name: 'b-parasite Illuminance'
2021-04-08 13:59:38 +02:00
Configuration variables
-----------------------
- **mac_address** (**Required** ): The MAC address of the device.
2021-07-22 23:38:38 +02:00
- **temperature** (*Optional* ): Air temperature in Celsius.
2021-04-08 13:59:38 +02:00
2024-08-14 04:33:05 +02:00
- All options from :ref: `Sensor <config-sensor>` .
2021-04-08 13:59:38 +02:00
- **humidity** (*Optional* ): Relative air humidity in %.
2024-08-14 04:33:05 +02:00
- All options from :ref: `Sensor <config-sensor>` .
2021-04-08 13:59:38 +02:00
- **moisture** (*Optional* ): Soil moisture in %.
2024-08-14 04:33:05 +02:00
- All options from :ref: `Sensor <config-sensor>` .
2021-04-08 13:59:38 +02:00
- **battery_voltage** (*Optional* ): Battery voltage in volts.
2024-08-14 04:33:05 +02:00
- All options from :ref: `Sensor <config-sensor>` .
2021-09-25 13:16:31 +02:00
- **illuminance** (*Optional* ): Illuminance in lux.
2024-08-14 04:33:05 +02:00
- All options from :ref: `Sensor <config-sensor>` .
2021-04-08 13:59:38 +02:00
See Also
--------
- `b-parasite on GitHub <https://github.com/rbaron/b-parasite> `__
- :doc: `/components/esp32_ble_tracker`
2023-03-07 22:21:36 +01:00
- :doc: `absolute_humidity`
2021-04-08 13:59:38 +02:00
- :ghedit: `Edit`