Please replace FF:FF:FF:FF:FF:FF
as well as ffffffffffff
with your devices mac.
Protocol documentation can be found here: https://github.com/vrachieru/xiaomi-flower-care-api#protocol
{
"type": "MiFloraDevice",
"friendlyName": "MiFlora Strawberries",
"pollingInterval": 600000,
"pollOnStartup": false,
"mac": "FF:FF:FF:FF:FF:FF"
}
pollingInterval
the interval this module will use to fetch battery information in milliseconds
If pollOnStartup
is set to true, the first polling will happen 1s after startup.
The device will attempt to autoconfigure Home Assistant for state information on the following topics:
homeassistant/sensor/miflora_ffffffffffff/ffffffffffff_battery/config
homeassistant/sensor/miflora_ffffffffffff/ffffffffffff_temperature/config
homeassistant/sensor/miflora_ffffffffffff/ffffffffffff_illuminance/config
homeassistant/sensor/miflora_ffffffffffff/ffffffffffff_moisture/config
homeassistant/sensor/miflora_ffffffffffff/ffffffffffff_conductivity/config
cybele/miflora/ffffffffffff/state
provides the current state as JSON
{
"battery": 21,
"temperature": 23.7,
"illuminance": 210,
"moisture": 17,
"conductivity": 23
}