After a bunch of back and forth and many hours of trial and error, I've finally got a robust way to integrate the Clipsal/PDL Iconic dimmers integrated into Home Assistant via zigbee2mqtt.
I have submitted a PR that adds a zigbee-herdsman-converter that means the dimmers should be recognised automatically by zigbee2mqtt, allowing them to be controlled by Home Assistant like any other compatible device.
As it transpires, this was actually really easy once I worked out what to do, so this isn't even a hack.
If you have the PDL354PBDMBTW or 41EPBDWCLM devices you can switch these over to zigbee mode by pressing the button 12 times (thanks to @ell249 for the tip).
After you press it 12 times it will take a few seconds then start flashing red. Then it takes another half minute or so to settle in and as long as your network permits joining it should show up as a device and join the network.
If you have problems, or you want to revert to BLE mode just do the standard factory reset by pressing the button 3 times quickly, then holding until the light flashes red slowly, then flashes red quickly. Make sure you hold on until it flashes quickly, otherwise it doesn't reset. This was the mistake I made and left me thinking I had bricked it.
Once you switch to zigbee mode, you can't connect to it via the Wiser Room app to do firmware upgrades and such. It appears that the zigbee mode is supported by the Wiser by SE app, but it seems like you need a Wiser Hub to do this. So far, I haven't tried to make support for OTA via zigbee2mqtt.
There are some other settings that the zigbee certification document say are supported that I haven't gone through and made show up in zigbee2mqtt. I think it supports LevelCtrl and other things, but I couldn't get them to work easily and frankly I was more interested in the on/off and brightness control than anything else.
Hi @DanielNagy and @rmcleay - having read through this gist, the z2mqtt issues you've both contributed to and the 'fearthecow' write up, i will consider you both the hive mind on all things clipsal wiser.
I have dived head first into an iconic/wiser range fit out in my house, having bought enough mechs to do half the house, I'm now too far to turn back!
I was running Z2MQTT until recently and took it for granted that the LED indicator behaviour 'just worked'. I switched over to ZHA because of ongoing issues I never really resolved that had me needing to re-pair some other zigbee devices and restart add-ons to get things working again. I do like that ZHA is seemingly more integrated in to the HA experience however the clipsal devices, while supported, don't offer the full feature set.
I've got a few questions that I'd appreciate your insights on:
4.1 Is OTA also possible through ZHA?
Thanks in advance!