jdomeij / node-red-contrib-node-hue

Node RED nodes for controlling Philips Hue lights
Apache License 2.0
17 stars 8 forks source link

Hub(s) 'undefined' #23

Closed TerryLansdown closed 6 years ago

TerryLansdown commented 6 years ago

Hi, thanks, I'm enjoying the hue node-red integration.

One issue I've noticed…I have two bridges, and both appear in the UI as 'undefined' in the pop-up. How can I rename the devices?

Thanks, Terry

jdomeij commented 6 years ago

The Unknown is probably some bug. I use the nuPnP function to detect the devices, this only returns name and id. To get the device node I would need to create another step that queries the devices for their names, which is non trivial (timeout handling). When you create an bridge node you can set your own name that will be used when configuring the lights.

TerryLansdown commented 6 years ago

The Unknown is probably some bug. I use the nuPnP function to detect the devices, this only returns name and id. To get the device node I would need to create another step that queries the devices for their names, which is non trivial (timeout handling). When you create an bridge node you can set your own name that will be used when configuring the lights.

Thanks, sounds like that’s not worth the effort.

When I add a bridge node, I don’t see an option to name the Bridge/s. In my setup I have either Hue Pull or Hue Set, neither seems to offer an option to define the name for the Bridge(s). Apologies if I’m missing something obvious.

Thanks, Terry

jdomeij commented 6 years ago

When adding an hue input/output node you need to add/select bridge node, on this page you can set the name of the hub

input/output node image

bridge node image

TerryLansdown commented 6 years ago

That’s interesting, but not what I see, see attached.

When adding an hue input/output node you need to add/select bridge node, on this page you can set the name of the hub

input/output node

bridge node

jdomeij commented 6 years ago

"Hue Pull" and "Hue Set" is the nodes from "node-red-contrib-hue" which is another hue package