miflora-mqtt-daemon
miflora-mqtt-daemon copied to clipboard
Integration of connectivity stats in MQTT messages
The daemon already collects statistics on the communication success rate of each sensor.
https://github.com/ThomDietrich/miflora-mqtt-daemon/blob/04e43f23feb349ce062345e6c2d17bfe6f94ddef/miflora-mqtt-daemon.py#L238
However, this is not yet published to MQTT.
https://github.com/ThomDietrich/miflora-mqtt-daemon/blob/04e43f23feb349ce062345e6c2d17bfe6f94ddef/miflora-mqtt-daemon.py#L386-L388
Suggest to publish a percentage success rate in parallel to the actual sensor values.