node-hue-api icon indicating copy to clipboard operation
node-hue-api copied to clipboard

Touchlink activation

Open fabian-tuhh opened this issue 2 years ago • 1 comments

Hi, all,

Can somebody tell be how the Hue Bridge handles the activation of the touchlink function? After activation, is it disabled after a timeout, after a device has been commisioned to the Zigbee network or is there another request towards the Hue Bridge API required?

Thanks, Fabian

fabian-tuhh avatar Mar 27 '22 17:03 fabian-tuhh

Touchlink is related to bluetooth pairing isn't it? If so that does not utilize the bridge.

Once you have a bridge things change a little, there is an endpoint for the bridge that will allow you to "search" for new lights, this puts the bridge into a kind of scanning/discovery mode where it searches for new zigbee devices. This scanning is asynchronous, so there is another endpoint that you can hit to get a list of the "new" discovered lights from this search and from there you can complete the configuration of these (assign name and room) by updating the light configuration.

Was that the information you were looking for there? If so I can expand on the details of the calls in this library.

peter-murray avatar Apr 05 '22 09:04 peter-murray