nidayand / node-red-contrib-tradfri

Work in progress - Node-RED node for IKEA TRÅDFRI devices
Other
24 stars 9 forks source link

External light selection #10

Closed lespatots closed 7 years ago

lespatots commented 7 years ago

In the OUT node would it be possible to allow the bulb to be selected through the Topic if no light (zero) is selected. This allows control via MQTT or from a database which might hold scenes or information on other lights driven through an alternate node (Hue for example)?

thunder-62 commented 7 years ago

have you tried to use the msg.tradfri_id to dynamically address a bulb?

nidayand commented 7 years ago

As per @thunder-62 it should work as described. Please re-open the issue if it doesn't work. Thanks