song940 / node-yeelight

:bulb: A Node.js Library for the Yeelight smart bulb
https://npmjs.org/yeelight2
MIT License
87 stars 20 forks source link

Yeelight color4 Return unparsable error message when calling get_prop #13

Closed Simjen closed 3 years ago

Simjen commented 3 years ago

I was trying to connect to my yeelight color4 using node-red. But it seems like if the "active_mode" property is present in the params array for get_prop then the bulp return an unparsable error message: {"id":, "error":{"code":-1, "message":"invalid command"}}. It might be a yeelight issue but maybe something can be done to alliviate this problem, Such that syncing the bulp will not crash the application? everything works if i comment out "active_mode" in the prop array at index.js line 163.

song940 commented 3 years ago

https://github.com/song940/node-yeelight/issues/12