Awesome, good stuff @iquix, really excited to see people start to put together drivers for various things. I’ll make sure to make a note with our product people to follow up and on automations and multi-component devices.
I bookmarked and may open a PR with a few suggested changes to make the code a bit more self-documenting (nothing really wrong with what you have, just making use of a few things that are available like constants for cluster IDs, etc.).
Prior to pairing, I did delete the prior custom device handler. Tried multiple times since. The switch shows in the app (greyed out icon) and device list (no Zigbee Id, no Device Network Id, and Execution is ‘Cloud’). Something is wrong. Thoughts anyone?
Thanks. Yet, I’ve removed and paired more than 10 times now, also using another Hue Dimmer Switch, just to make sure it’s not the device itself. The experience is that the switch is correctly recognised as such, but no actual connection is established. Perhaps something goes wrong during pairing and/or is faulty with the driver? Just leaving this here to describe symptoms as work continues …
Sorry, not sure what you mean by rule. I have not been able to create any rule or automation with the Hue Dimmer Switch yet. I manage to somehow pair the Hue Dimmer Switch using the edge driver, but in the app the switch icon remaines greyed out, and trying to create an automation does not allow me proceed to ‘done’. In the IDE the switch does not show a Zigbee Id or Device Network Id.
It must be something related to the zigbee communication problem, which is the lower level thing than the DTH or Edge Drivers can manipulate.
Maybe, some compatibility issue about the hue dimmer switch and repeaters? I’m not sure though…
(Something like this… Aqara repeaters or some old ZLL bulbs are generally known to make troubles with SmartThings zigbee mesh network)