Open 1bard opened 1 year ago
I've created a quirk and PR. By removing the MainsPowered-flag from node discriptor, battery percentage became available in HA.
The Onesti EasyCodeTouch (aka Nimly / Easy Access touch) also sends open info (user ID, RFID/FingerPring/Code) to 0x101 and pin code to 0x100 on the doorlock endpoint. Also on wrong entry of code. It'd be awesome to have triggers on failed attempts and also know and know who opened the door when it opens.
It seems version 1.32.2 of z2m has included support. The issue references three relevant commits to herdsman-converters.
I'm not familiar enough with zha & herdsman to navigate a port. But perhaps someone else is?
issue : https://github.com/Koenkk/zigbee2mqtt/issues/17205
referencing the following pulls:
https://github.com/Koenkk/zigbee-herdsman-converters/pull/6009
https://github.com/Koenkk/zigbee-herdsman-converters/pull/6010
https://github.com/Koenkk/zigbee-herdsman-converters/pull/6024
I've been using my power quirk for a few months now and battery data reported by my lock is useless. It reports 100% and 4.5 volts for a long time, then it jumps all over the place the day before batteries die. Not really worth implementing.
Open info and failed attempts sounds more interesting.
I have a friend that has this lock in zigbee2mqtt, he say the same thing. The battery goes from 100% ->0% without a warning and is not of use in zigbee2mqtt either.
My device has stopped updating Locked / unlocked. It always report’s unlocked.
And when I press lock it does lock the door but does not update state to locked.
Is used to work.
This works as a lock, but I'm missing battery status.
The device is powered by 3xAA batteries, and as far as I know, mains power is not an option on this model. The correct battery information seems to be available, but not used. I believe the issue is that the device reports power source as mains/DC.
Device signature
```{ "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
```"data": { "ieee": "**REDACTED**", "nwk": 34502, "manufacturer": "Onesti Products AS", "model": "EasyCodeTouch", "name": "Onesti Products AS EasyCodeTouch", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4660, "power_source": "Mains", "lqi": 255, "rssi": -81, "last_seen": "2023-04-24T20:21:03", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=