-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not stable for SetRGB/temperature/brightness #1
Comments
Thanks for report. Will dig into it next week. |
Hi. There is critical issue for yeelight IP address. For example, the yeelight connect AP and assigned 192.168.1.86, we can command yeelight. But the network is shutdown or AP is shutdown, the node-red will crash. I think the code should add exception function to handle the network issue. BR, |
Could you try the latest version? |
Dears,
I test it by latest version but crash issue still exist. Attach crash graphic for reference.
[cid:[email protected]]
Best Regards,
Chris
发件人: Chris Tang
发送时间: 2017年12月4日 17:08
收件人: 'Gromina/node-red-contrib-yeelight' <[email protected]>; Gromina/node-red-contrib-yeelight <[email protected]>
抄送: Author <[email protected]>
主题: 答复: [Gromina/node-red-contrib-yeelight] Not stable for SetRGB/temperature/brightness (#1)
Dears,
I will try the latest version. Also find the node-red crash issue that is yeelight is offline or AP is shutdown. For example, the yeelight assigned by AP is 192.168.1.150, when AP shutdown or yeelight offline, the node-red crash and cannot running. I believe maybe should add exception handle the issue.
Best Regards,
Chris
发件人: Alexander Sorokin [mailto:[email protected]]
发送时间: 2017年12月4日 15:23
收件人: Gromina/node-red-contrib-yeelight <[email protected]<mailto:[email protected]>>
抄送: Chris Tang <[email protected]<mailto:[email protected]>>; Author <[email protected]<mailto:[email protected]>>
主题: Re: [Gromina/node-red-contrib-yeelight] Not stable for SetRGB/temperature/brightness (#1)
Could you try the latest version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGromina%2Fnode-red-contrib-yeelight%2Fissues%2F1%23issuecomment-348879938&data=02%7C01%7Cchris.jj.tang%40jci.com%7C2885baf10cfb49b6404208d53ae7e753%7Ca1f1e2147ded45b681a19e8ae3459641%7C0%7C0%7C636479690052311798&sdata=hxdg7ZandjFJvZIBvPDidxWEeA%2FC6YNdZbdEzhozKzg%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAe4iDXizjzGbLrnJdgl3-0of6yMV29p_ks5s853qgaJpZM4PoRol&data=02%7C01%7Cchris.jj.tang%40jci.com%7C2885baf10cfb49b6404208d53ae7e753%7Ca1f1e2147ded45b681a19e8ae3459641%7C0%7C0%7C636479690052311798&sdata=jWToaGflxpyGpixKMpikM9fhQ4%2FPxR7qixScnfFdxHI%3D&reserved=0>.
|
I've also had the same issue, when the light is offline, i.e. power is switched off, node-red will crash. The light in this example is found at 192.168.30.49 but is offline:
|
Hi, Please find the "index.js" on C:\Users\xxxx\node_modules\yeelight2 and edit "// this.emit('error', err);" on Line 45. I believe can solve the issue. BR, |
Thanks Chris, but nope, still the same issue |
Hey, I can confirm the issue with SetRGB and Colour Picker. Already got the latest version of node-red-contrib-yeelight along with Colour Picker in "Format: hex" and it's just changing the color to blue, but no other color. Thank you for your help :) |
its not crashing node-red for me with the current release version but if the bulb is offline at some point the module does not re connect when the bulb is brought back online |
adjust the temperature & brightness many times, it will shows the error info "UnhandlePromiseRejectionWarning: Unhandled promise rejection (rejection id: xx) [object object]"
In addition, cannot right set correct color with "colour picker" node for SetRGB
The text was updated successfully, but these errors were encountered: