You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I start the script (docker or locally) it worked for one measurement, after "Data Published.." there is no feedback anymore. Even if I wait 10min and try it again. (step on the scale again)
Log:
2023-08-25 18:22:37 - (INFO) -------------------------------------
2023-08-25 18:22:37 - (INFO) Starting Xiaomi mi Scale v0.3.5...
2023-08-25 18:22:37 - (INFO) Loading Config From Options.json...
2023-08-25 18:22:37 - (INFO) No Logging Level Provided, Defaulting to INFO...
2023-08-25 18:22:37 - (WARNING) MQTT Discovery enabled but no MQTT Prefix provided, defaulting to 'homeassistant'...
2023-08-25 18:22:37 - (INFO) Config Loaded...
2023-08-25 18:22:37 - (INFO) MQTT Discovery Setup Completed...
2023-08-25 18:22:37 - (INFO) -------------------------------------
2023-08-25 18:22:37 - (INFO) Initialization Completed, Waiting for Scale...
2023-08-25 18:22:49 - (INFO) Publishing data to topic miscale/Jo/weight: {"weight":79.60,"weight_unit":"kg","bmi":24.57,"basal_metabolism":1632.23,"visceral_fat":13.71,"timestamp":"2023-08-25T18:22:49+00:00"}
2023-08-25 18:22:49 - (INFO) Data Published ...
If I restart the script it will mqtt push the last measurement (without stepping on the scale again): (See log time it starts and pushed instantly the "cached" measurement
2023-08-25 18:33:56 - (INFO) -------------------------------------
2023-08-25 18:33:56 - (INFO) Starting Xiaomi mi Scale v0.3.5...
2023-08-25 18:33:56 - (INFO) Loading Config From Options.json...
2023-08-25 18:33:56 - (INFO) No Logging Level Provided, Defaulting to INFO...
2023-08-25 18:33:56 - (WARNING) MQTT Discovery enabled but no MQTT Prefix provided, defaulting to 'homeassistant'...
2023-08-25 18:33:56 - (INFO) Config Loaded...
2023-08-25 18:33:56 - (INFO) MQTT Discovery Setup Completed...
2023-08-25 18:33:56 - (INFO) -------------------------------------
2023-08-25 18:33:56 - (INFO) Initialization Completed, Waiting for Scale...
2023-08-25 18:33:57 - (INFO) Publishing data to topic miscale/Jo/weight: {"weight":79.40,"weight_unit":"kg","bmi":24.51,"basal_metabolism":1629.24,"visceral_fat":13.61,"timestamp":"2023-08-25T18:33:57+00:00"}
2023-08-25 18:33:57 - (INFO) Data Published ...
To Reproduce
Start Script/Docker -> get on the scale -> scale recognized and send to mqtt broker -> script stop working
Expected behaviour
I guess it should loop and be ready to measure again.
Screenshots
If applicable, add screenshots to help explain your problem.
Scale (please complete the following information):
Xiaomi Scale 2
XMTZC04HM
Desktop/Server (please complete the following information):
Docker or manually ran after a Git Clone? -> Git Clone and run & also Docker container (docker-compose)
Device used to run the Script/Container [e.g. Raspberry Pi, NUC] -> Raspberry Pi 3B
Bluetooth device used [e.g. Built-in, USB Dongle] -> Built-in
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
If I start the script (docker or locally) it worked for one measurement, after "Data Published.." there is no feedback anymore. Even if I wait 10min and try it again. (step on the scale again)
Log:
2023-08-25 18:22:37 - (INFO) -------------------------------------
2023-08-25 18:22:37 - (INFO) Starting Xiaomi mi Scale v0.3.5...
2023-08-25 18:22:37 - (INFO) Loading Config From Options.json...
2023-08-25 18:22:37 - (INFO) No Logging Level Provided, Defaulting to INFO...
2023-08-25 18:22:37 - (WARNING) MQTT Discovery enabled but no MQTT Prefix provided, defaulting to 'homeassistant'...
2023-08-25 18:22:37 - (INFO) Config Loaded...
2023-08-25 18:22:37 - (INFO) MQTT Discovery Setup Completed...
2023-08-25 18:22:37 - (INFO) -------------------------------------
2023-08-25 18:22:37 - (INFO) Initialization Completed, Waiting for Scale...
2023-08-25 18:22:49 - (INFO) Publishing data to topic miscale/Jo/weight: {"weight":79.60,"weight_unit":"kg","bmi":24.57,"basal_metabolism":1632.23,"visceral_fat":13.71,"timestamp":"2023-08-25T18:22:49+00:00"}
2023-08-25 18:22:49 - (INFO) Data Published ...
If I restart the script it will mqtt push the last measurement (without stepping on the scale again): (See log time it starts and pushed instantly the "cached" measurement
2023-08-25 18:33:56 - (INFO) -------------------------------------
2023-08-25 18:33:56 - (INFO) Starting Xiaomi mi Scale v0.3.5...
2023-08-25 18:33:56 - (INFO) Loading Config From Options.json...
2023-08-25 18:33:56 - (INFO) No Logging Level Provided, Defaulting to INFO...
2023-08-25 18:33:56 - (WARNING) MQTT Discovery enabled but no MQTT Prefix provided, defaulting to 'homeassistant'...
2023-08-25 18:33:56 - (INFO) Config Loaded...
2023-08-25 18:33:56 - (INFO) MQTT Discovery Setup Completed...
2023-08-25 18:33:56 - (INFO) -------------------------------------
2023-08-25 18:33:56 - (INFO) Initialization Completed, Waiting for Scale...
2023-08-25 18:33:57 - (INFO) Publishing data to topic miscale/Jo/weight: {"weight":79.40,"weight_unit":"kg","bmi":24.51,"basal_metabolism":1629.24,"visceral_fat":13.61,"timestamp":"2023-08-25T18:33:57+00:00"}
2023-08-25 18:33:57 - (INFO) Data Published ...
To Reproduce
Start Script/Docker -> get on the scale -> scale recognized and send to mqtt broker -> script stop working
Expected behaviour
I guess it should loop and be ready to measure again.
Screenshots
If applicable, add screenshots to help explain your problem.
Scale (please complete the following information):
Desktop/Server (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: