Yeelight control node for node-red.
This piece of code is intended to use as plugin to Node red
Yeelight smart bulb
Yeelight is smart RGB led bulb with WIFI on board.
making it controllable
Yeelight comes with mobile apps to control its status. Usually lamp stays online holding connection to Yeelight cloud servers Any mobile apps which control lightbulb actually communicate to those cloud servers.
Yeelight is not controllable from inside your LAN by default If you want to integrate lamp into you own smart home solution you have to enable its "developer mode" In this mode lamp listens on UDP 55443 port and responses to commands
Developer mode communication protocol is described here
Node red usage
npm install node-red-contrib-yeelight
Find yeelight node
You must add config node for each lamp
Then just send messages to yeelight node
Command is configured right in a node