Using a Smartthings Edge driver, how can I present the user with available zigbee dimmable lights to select for pairing with my custom zigbee dimeer in the smartthings app?
Background / Detail:
I’m working on an open-source sample zigbee library (GitHub - stevenlovegrove/xbeeduino: Zigbee SmartThings Sample) and am implementing a wireless dimmer switch for remotely controlling zigbee dimmable lights. I can successfully ‘mirror’ the switch and light using the SmartLighting automation app, but this is difficult to setup for a user and the round-trip time from dimmer to hub to bulb is quite long and it feels laggy. I can hardcode the dimmer to talk to the bulb directly by specifying the zigbee address in code, but this wont work for end users. I would like a way for the SmartThings hub in its roll as coordinator to facilitate getting the bulb’s zigbee address to the wireless dimmer during setup somehow. Any suggestions or pointers on how to do this?