igdr / node-red-contrib-xiaomi-smart-devices

8 stars 4 forks source link

Battery status #19

Closed voynovia closed 5 years ago

voynovia commented 5 years ago

How to get battery status in percent?

igdr commented 5 years ago

There is no direct way to get battery status in percent, you can listen for "read_ask" messages from the gateway and read voltage number, then calculate the percentage by dividing the number to 3500 (3.5 v) if I am not mistaken.

image

igdr commented 5 years ago

No activity, so I close this issue