Hello,
I recently tried to use a Xiaomi Mi Flora sensor to take different data and save it in HA.
The battery lasts since then very little. In a matter of weeks it runs out.
The problem lies in the continuous data taking.
The automatic integration does not allow to change the logging frequency.
I tried the manual integration, knowing the iMac of the sensor, but I had problems.
I am quite novice and the only thing I would like to do is to decrease the data scanning frequency. One shot every half hour or every hour.
I tried with similar code, like this:
Example configuration.yaml entry
sensor:
- platform: miflora
mac: “XX:XX:XX:XX:XX:XX”
monitored_conditions:- moisture
- light
- temperature
- conductivity
scan_interval:
minutes: 30
name:
force_update: true
If someone could tell us where the error is pls