Closed mouz124 closed 8 months ago
Also happens with the Trådfri two button remote/dimmer that has the same form factor as the shortcut button.
Same issue, not impacting all buttons though even though they are identical.
Also affects Tredansen blinds.
You need deleting the blinds and waiting one minute or restart HA and adding it new and the as new so the undated signature i OK and the old quirk is not loading then all is being OK.
You need deleting the blinds and waiting one minute or restart HA and adding it new and the as new so the undated signature i OK and the old quirk is not loading then all is being OK.
that worked für my Stybar, but not for TRADFRI on/off switch.
any news about this?
Did not work for STYRBAR, and worse: no more group bindings with STYRBAR! EDIT: IKEA Motion sensor, too (currently: 160 percent battery power...)!
You need deleting the blinds and waiting one minute or restart HA and adding it new and the as new so the undated signature i OK and the old quirk is not loading then all is being OK.
"restart HA" did not improve anything at all in my year-long experience. ZHA did never work satisfactorily (the green check mark over the "BIND" button did not mean anything at all). Group bindings stopped and started working at random over the years with TRADFRI and STYRBAR switches (see above). Hope that gets resolved soon...
Related/same issues:
Comment on why this is still an issue: https://github.com/zigpy/zha-device-handlers/pull/2773#issuecomment-1826892883
To summarize, older devices require the percentage duplication, but newer ones don't. We can't match per firmware version though. An idea/workaround would be to re-scale the battery voltage to a percentage, as it's consistent across versions. We should ideally "emulate" the device behavior perfectly, so we'd need to find out if it's a linear function that's used to map from voltage to percentage and if it's the same for all/most devices (if we want to use this approach).
I'm having the same doubling of battery percentage for 4/4 "TRADFRI on/off switch" after firmware upgrade.
Firmware: 0x24040006 Quirk: zhaquirks.ikea.twobtnremote.IkeaTradfriRemote2Btn
battery voltage 30 reads as 200% battery voltage 29 reads as 180% battery voltage 26 reads as 28%
This issue should be fixed in HA Core 2024.2.0 (currently in beta). Relevant PR:
If you still see new "double battery percentage" reports, wait a day.
You can also try to press a button on the device or manually read the sw_build_id
attriubte. Re-pairing/reconfiguring should also work.
If it's not fixed for you, please create a new issue and provide a new diagnostics file.
Bug description
Since update to Firmware 0x24040006, the battery status has been reported incorrectly. In my case this only happens with one of the two buttons. I have already deleted and reset the device, reconnected it, power on/off, replaced the battery but nothing helped.
Another user reports the same problem here
Steps to reproduce
Firmware update OTA was carried out
Expected behavior
Actually the battery status should be at 100%, the measured voltage (2.9V) is correct but the scaling doesn't seem to fit.
Screenshots/Video
Screenshots/Video
![image](https://github.com/zigpy/zha-device-handlers/assets/70135357/b050f10c-ad19-47fc-9bfc-fb68e77bfbd9) ![image](https://github.com/zigpy/zha-device-handlers/assets/70135357/411b3751-6fc5-4b74-a59f-d7d099f79683)Device signature
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.11.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "aarch64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.10.1", "host_os": "Home Assistant OS 11.1", "docker_version": "24.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "better_thermostat": { "version": "1.4.0", "requirements": [] }, "browser_mod": { "version": "2.3.0", "requirements": [] }, "climate_group": { "version": "0.4.2", "requirements": [] }, "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.8", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.106", "zigpy-deconz==0.21.1", "zigpy==0.59.0", "zigpy-xbee==0.19.0", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.6", "universal-silabs-flasher==0.0.14", "pyserial-asyncio-fast==0.11" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 32839, "manufacturer": "IKEA of Sweden", "model": "TRADFRI SHORTCUT Button", "name": "IKEA of Sweden TRADFRI SHORTCUT Button", "quirk_applied": true, "quirk_class": "zhaquirks.ikea.shortcutbtn.IkeaTradfriShortcutBtn2", "quirk_id": null, "manufacturer_code": 4476, "power_source": "Battery or Unknown", "lqi": 207, "rssi": -68, "last_seen": "2023-11-07T07:18:55", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Logs
Logs
```python [Paste the logs here] ```Additional information
No response