jeedom-zigate / jeedom-plugin-zigate

Plugin Jeedom for ZiGate key.
MIT License
29 stars 12 forks source link

Xiaomi/Aqara/Mijia Battery percentage instead of voltage #164

Open smulle48 opened 5 years ago

smulle48 commented 5 years ago

Is it possible to use battery percentage instead of voltage?

Can see the function is present in the code.

If I parse battery voltage to homebridge, the homebridge think my batteri status is low (ie. 3v turns into 3%)

I never use voltage for anything on my battery powered devices, only percentage so I know when to change battery.

metroveinte commented 5 years ago

Would be possible to add a Battery Level command with % to devices like door sensor or temperature and humidity ?