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

Node red crashing....... NPM Version not updated? #18

Closed michelefa1988 closed 5 months ago

michelefa1988 commented 1 year ago

I have recently reinstalled node red and for some reason I have been noticing various yeelight crashing with the error below

Jan  9 10:16:48 pi Node-RED[12998]: Error: Network timeout, Yeelight not response
Jan  9 10:16:48 pi Node-RED[12998]:     at Timeout._onTimeout (/home/pi/.node-red/node_modules/yeelight2/index.js:230:29)
Jan  9 10:16:48 pi Node-RED[12998]:     at listOnTimeout (node:internal/timers:559:17)
Jan  9 10:16:48 pi Node-RED[12998]:     at processTimers (node:internal/timers:502:7)

Any ideas what it could be?

Thanks

jNullj commented 5 months ago

I just updated and found the issue, will craft a short PR