Closed tobiasg021 closed 1 week ago
@martyn-vesternet could you check this?
@tobiasg021 earlier firmware versions of this device report battery as 0 - 100 so no conversion was required to make that into a percentage.
Later firmware versions of this device report battery as 0 - 200 (to allow for greater precision), so for these versions the reported value needs dividing by 2.
There are external converters that should fix the issue on the Vesternet Github at https://github.com/vesternet/zigbee2mqtt-herdsman-converters
Guidance on using external converters is available at https://www.zigbee2mqtt.io/guide/configuration/more-config-options.html#external-converters
These changes will eventually be submitted into the main zigbee2mqtt codebase, I just haven't had time to do that yet.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days
What happened?
The battery is on 200%
![Screenshot_20240122_014751_Home Assistant](https://github.com/Koenkk/zigbee2mqtt/assets/145073106/70280e3f-3cf0-4dce-a0f5-336d0d69e23e)
What did you expect to happen?
100% or lower
How to reproduce it (minimal and precise)
Connect to Zigbee2mqtt
Zigbee2MQTT version
1.35.1
Adapter firmware version
20230507
Adapter
Sonoff dongle P
Setup
Zigbee2mqtt as Home assistant addons on Intel Nuc
Debug log
No response