Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
200 stars 67 forks source link

Light controls "ID" instead of "rid" #356

Closed andesse closed 2 years ago

andesse commented 2 years ago

While setting up https requests to control lamps I found out following:

In the Lamp node obviously the "rid" is used (number shows up when opening the node after you choose a light and deployed it) to control the lamp. Obviously the Lamp "ID" is needed to control it.

For rooms (grouped_lights) the "rid" number need to be used instead of the ID.

So here is like a little bit of a mishmash in API V2.

So maybe this could be an issue. Maybe someone else can confirm it, or proof me wrong, as I am not a professional :P