I’ve setup ESPHome and a ESP32 as my relay for some of my MiFlora plant sensors, however I’m wondering if theres a way to change the frequency it gets the data from the sensor?
For native HA integration, there is a scan_interval
parameter which I’ve set to 21600, so it only updates ever 6 hours, therefore saving on battery.
I’d like to achieve the same for my plant sensor connected to my ESP32, however unsure how to do this?
My config is below
esp32_ble_tracker:
sensor:
- platform: xiaomi_hhccjcy01
mac_address: 'C4:7C:8D:6C:D5:7E'
temperature:
name: "Xiaomi MiFlora Temperature"
moisture:
name: "Xiaomi MiFlora Moisture"
illuminance:
name: "Xiaomi MiFlora Illuminance"
conductivity:
name: "Xiaomi MiFlora Soil Conductivity"
battery_level:
name: "Xiaomi MiFlora Battery Level"
Looking at the docs it seems there isn’t a way to set the interval between the actual scan cycles?