#Notes or recipes for porting a z2m handler/quirk to a zha-quirk?

1 messages · Page 1 of 1 (latest)

ember spindle
#

I have a handfull of Namron Zigbee devices. No firmware update available for these, OTA or otherwise.
The experienced problem (in my case) is that HA + ZHA does not appear to 'hear' the response from the 'off' command.

The existing herdsman converter is here: https://github.com/Koenkk/zigbee-herdsman-converters/blob/a4c9ef1df462ada67d912429838982160621e5b5/src/devices/namron.ts#L179

ZHA does not appear to have a matching quirk at: https://github.com/zigpy/zha-device-handlers/tree/dev/zhaquirks

Does
extend: [m.light({effect: false, configureReporting: true}), m.forcePowerSource({powerSource: "Mains (single phase)"})],
meta: {disableDefaultResponse: true},

... have equivalents in ZHA device handlers?

If my very simplistic understanding of this holds any water, this has everything to do with setup of the device. Which https://pypi.org/project/zha-quirks/ says we shouldn't skip. (And then completely omits to say anything about it.)

Can I override these values in ZHA directly, perhaps? 'configureReporting' does sound a bit like 'onOff | reporting_status', for instance. Any guidance is appreciated.

GitHub

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devi...

GitHub

Collection of device converters to be used with zigbee-herdsman - Koenkk/zigbee-herdsman-converters

pallid garden
#

I would love to know this as well.
Th Aqara cube works great in Z2M but noone quirked it for ZHA, so nothing works right there. I would love to port it over for the community. It's an oddball, though. Weird iron...

ember spindle
#

I posted the same q to the community forum. https://community.home-assistant.io/t/zha-quirks-notes/937741