lolouk44 / hassio-addons

Xiaomi Mi Scale Add On for Home Assistant
MIT License
126 stars 42 forks source link

Missing Data #54

Closed arunoruto closed 2 years ago

arunoruto commented 2 years ago

Select Add-On (place a lowercase x for the relevant add-on)

Describe the bug Only a part of the data is transmitted to Home Assistant.

To Reproduce I am not able to switch between transmitting all and the partial data, so I don't know what causes it.

Expected behaviour The usual data is transmitted, which is also listed in the addon description.

Screenshots

Publishing data to topic miscale/Name/weight: 
{
  "weight": 73.0,
  "weight_unit": "kg",
  "bmi": 22,
  "basal_metabolism": 1600.0,
  "visceral_fat": 8.0,
  "timestamp": "2021-12-03 00:00:00.0"
}

I edited the data a bit, but that's what is received.

Scale (please complete the following information):

Device running Home Assistant (please complete the following information):

Additional context

lolouk44 commented 2 years ago

Full data is published if the scale can measure your impedance. To measure your impedance you need to step on the scale barefoot.

arunoruto commented 2 years ago

Thanks for the fast feedback. I got the issue with some data from my brother who uses the scale and I asked him if he used it barefoot, which he did. But he failed to mentioned that he didn't wait for the rest of the measurements to be taken, so yeah. Thanks for clarification! :)