Hi, I’m using @Marwan_Awroos DH for the 2 gang switch (mawroos/3ASmartHome-Zigbee-Devices/blob/master/Zigbee 2 Gang Switch). In ST app, it shows the switch as one device. How do I control each switch separately when using light automation?
Login to the Groovy IDE, create 2 virtual switches (1 for each gang), edit the 3 gang switch binder smart app (delete the lines referencing the 3rd switch) then save it as a 2 gang switch binder.
Install the switch binder smart app to your phone and then use it to connect the virtual switches to the physical socket, then you use the virtual switches to control each gang switch.
Some assistance please - what DTH do I use for the 2-gang and 1-gang HUI zigbee switches? I assume the 3-gang DTH/smartapp wouldn’t be the right one.
I did that, but occasionally one of the lights will start blinking (on->off->on->off, etc). This won’t stop until I remove the switch binder smart app. I think this is the same problem as you described in one of your previous posts. Any idea how to fix this? Thanks!
PM’d you with my binder.
1 Gang DH https://pastebin.com/mYQcxMML
2 Gang DH https://pastebin.com/QpeCFUUA
3 Gang DH https://pastebin.com/d1ayFf9j
1 Gang Smart App - Not Required - Does not need virtual Switches
2 Gang Smart App https://pastebin.com/V18E93ni
3 Gang Smart App https://pastebin.com/Pj51hUas
Thanks so much. I just updated my settings. So far so good!
Has anybody with this device moved over and got it working in hubitat?
I do. I wouldnt say it’s pretty, but I have it working.
I’ll post my code over on hubitat.
FWIW Here is another DH that I significantly modified based on the 3A Nue 2 Gang switch. I have added default on/off actions and a config option to choose what switch the action applies to (SW1, SW2 or Both) Also deals with catch all for when the switch is manually toggled.
I find the same with the 2-gang DTH. Switch2 status changes after a manual change, but Switch1 doesn’t.
Tried the DH and smartapps as given by @kortex (as above) and the problem is resolved. Thanks.
Also, I recommend installing Pollster to force status updates for your smart switches