mwittig / node-milight-promise

A node module to control Milight LED bulbs and OEM equivalents such as Rocket LED, Limitless LED Applamp, Easybulb, s`luce, iLight, iBulb, and Kreuzer
MIT License
114 stars 27 forks source link

How to send commands to wifi box? #16

Closed webfrank closed 7 years ago

webfrank commented 7 years ago

I have a V6 WiFi iBox with light and no other bulbs at the moment, but I cannot find a way to send commands to the bridge itself.

mwittig commented 7 years ago

See https://github.com/mwittig/node-milight-promise/blob/master/examples/example-bridge-v6.js which is an example on how to control the bridge light. Instead of providing the global broadcast address which is the default, you should provide the IP address of the Milight Controller for unicast mode. Don't use the global broadcast address on Windows as this may give unexpected results.

mwittig commented 7 years ago

I think the question has been answered. Please re-open if you want to follow-up on this