Continuing the discussion from New Philips HUE devices:
Creating a new topic to see if the community can help draw up ideas to configure this remote directly connected to ST. It’s similar to the Lutron Connected Bulb Remote, but doesn’t have the ZLL commissioning built in and I can’t get it to pair with any bulbs.
Unreliable integration: I have been able to get it to send responses back to the hub, so it can emulate a button controller; but it frequently loses its connection to ST and requires re-pairing. Below is a link to the custom device type and info on connecting to ST, but please manage expectations until I can report that the connection is more solid.
If this is your first time using custom code with ST, please see the following thread on how to get started in the IDE. This code will be for a device handler. It is best to create the device handler in the IDE before pairing the remote to ST, otherwise you may need to reset and re-pair to make sure the configuration commands are sent.
Link to code:
Once this device handler is created and published in your IDE, you can pair the remote to ST. To pair:
-
If this remote was a standalone dimmer switch package. With the remote very close to the ST Hub, go to the Marketplace in the ST App (rightmost icon along bottom) and press Connect New Device. Once ST starts searching press and hold the ‘On’ button on the remote until the light flashes green. The remote has paired.
-
If the remote came paired to Hue White bulbs or step 1 doesn’t work correctly. Use a paperclip/staple to press and hold the pinhole setup button on the back for approximately 10 seconds. The light should blink green/red/green then slowly blink red/orange noting that it is ready to pair. Press Connect New Device in the Marketplace to start ST searching for a new device. The remote will blink green when it joins the network.
**ST may not recognize the new device in the usual way, but if you back out you should find a new Hue Dimmer Remote under your list of things. If the new device is listed as Unknown, then you must go into the IDE and assign it the Hue Dimmer Remote device type by selecting it under the My Devices section and clicking Edit at the bottom, then using the Device Type dropdown. If you have to assign the custom device type manually, you will need to reset and re-pair the remote by following step 2 above. Do not delete the device in ST! Just reset and re-pair.
The device handler configures the remote as a 4 button controller with On = Button 1, Pushed; Dim up (big sun) = Button 2, Pushed; Dim down (little sun) = Button 3, Pushed; Off = Button 4, Pushed. It can be used with Smart Lighting SmartApp, Button Controller SmartApp under More in Marketplace or using any custom Button Controller SmartApp that recognizes buttons 1-4 as pressed.