/yeelight

A nodejs demo for yeelight control.

Primary LanguageJavaScript

yeelight

A nodejs demo for yeelight control.

运行

你的电脑和 yeelight(支持极客模式的产品,比如小米台灯,吸顶灯等)处于同一个局域网,然后运行:

node test.js

然后你的 yeelight就会以0.5秒为间隔循环开启、关闭。 更多详细的控制操作参考 yeelight的协议文档:http://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf

Run

Ensure your yeelight(which support Geek Mode) and your computer under same LAN, then run it:

node test.js

Then your yeelight will turn on/off in an interval of 0.5 second. More yeelight control need refering to yeelight's document: http://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf