Closed cybermerlo closed 2 years ago
When you step on the scale a 2nd time, is another message sent to your MQTT Broker? (Check with a tool like MQTT Explorer) Remember that if the same data is sent, HA will not update the sensor...
Issue has become stale, closing...
Add-on reads the weight from the scale one time and then need to be restarted (restart addon).
To Reproduce Restart HA, use the scale, then use it again. The first value will be registered immediatly, the second only after an addon restart.
Scale (please complete the following information):
Device running Home Assistant (please complete the following information):
LOG: 2022-04-16 08:32:54 - Starting Xiaomi mi Scale... 2022-04-16 08:32:54 - Loading Config From Add-On Options... 2022-04-16 08:32:54 - Config Loaded... 2022-04-16 08:32:55 - Discovery Completed... 2022-04-16 08:32:56 - Publishing data to topic miscale/Manuel/weight: {"weight":77.40,"weight_unit":"kg","bmi":25.27,"basal_metabolism":1580.56,"visceral_fat":14.29,"timestamp":"2022-04-16T08:32:56+00:00"} 2022-04-16 08:32:56 - Data Published ...