Has anybody successfully paired the remote directly with a light using ZHA? How do I manage the group selection with the 1,2,3 keys?
When I create an automation, how do I specify the remote keys as trigger?
I’m still learning here, but I think there are two (maybe more) ways of having a zigbee controlling device control another device (like a light). The zigbee spec allows a switch to directly connect to a light and control it. You basically ‘pair’ the switch with all the bulbs. Second way, is to add both the switch and light to a zigbee hub/network like ZHA or Zigbee2Mqtt. Then the switch sends a command to the hub. The hub, in this case Home Assistant via the zigbee hub has an ‘automation’ that sends a zigbee command to the light via the zigbee hub.
With the zigbee switches I have tried, I have the first method described above often to be rather convoluted to setup, especially when there are multiple lights/ scenes involved. Once it is setup, it is solid (and works regardless of whether you server is running or not), but if you want to change it, you go thru the same set of hoops again and again…
Thanks for the reply, David. I also already have some remotes in my zigbee network, all directly bound to a group (the first of your ways) using ZHA. The problem with this particular remote is that it can control up to 3 groups, and I have no clue how this can be achieved in ZHA. I’m not even sure if the remote is really directly bound to groups or if this is only a function of the NEO Gate (the original Immax zigbee bridge).
On the other hand I would like to know how I can find the name of the events that the keys create in ZHA. Is there a way to debug the events?