ratmandu / node-red-contrib-zblight

Zigbee light control for node red
Apache License 2.0
15 stars 9 forks source link

Which type of XBee works #3

Closed markbeee closed 7 years ago

markbeee commented 7 years ago

I tried your interesting approach with a XBee S2 but couldn't discover any Hue bulbs in my networks. Any prerequisites to do like channel settings, resetting the hue bulbs before scanning? Or does it only work with XBee S2C?

ratmandu commented 7 years ago

I am currently using an XBee S2, not a S2C. You do need to make sure it is running the latest coordinator firmware (I have not tested with older firmware, or any non-coordinator firmwares), and there is some setup involved (listed in the Readme.md).

If the bulbs you are wanting to use have been paired with a bridge in the past, they will need to be reset, as they will need to join the network that is set up by the XBee coordinator. I'm not 100% certain on the reset procedure of the hue bulbs, as my test devices were purchased new, and not in a starter pack (which are pre-paired to the hub they were sold with).

There is apparently a remote made by phillips, as well as one made by Lutron (which is easier to find, $29 at home depot) that can reset the hue bulbs back to factory, even if the bridge they were paired to no longer functions.

As an aside, every other bulb has a simple reset procedure that only entails turning the bulb on and off in a certain pattern to reset it. I don't know why phillips couldn't add that to their bulbs.

ratmandu commented 7 years ago

I will also soon be adding a reset command to the node, so if you pair a hue bulb with the xbee coordinator, you would be able to reset it as well.