-
-
Notifications
You must be signed in to change notification settings - Fork 67
Hue Magic crash Node-RED - Cannot read properties of undefined (reading 'status') #388
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
Comments
Problem fixed by adding this fix : 1af6c29 |
Hi all, I was receiving an error very similar to this. It turned out to be a network connectivity issue (I was over my PoE budget and switches were randomly rebooting) between my Home Assistant server (which runs the NodeRed Add-On, which uses HueMagic) and my hue bridge. The problem though is that when HueMagic couldn't reach my hue bridge, it crashed NodeRed. This seems like a serious dependency to me. I don't like my hue bridge being a single point of failure for all of my NodeRed automations. Does anyone else experience the same issue? Is it possibly something with my installation? I tried removing all unused packages in NodeRed, but the issue didn't resolve itself until my hue bridge was able to have consistent reliable network connectivity. Thanks. |
same problem here. Will there be a new version containing this fix soon? |
I decided HueMagic was overkill for my specific needs and the Home Assistant integration already had all the information I needed about Hue. For the Hue switches and buttons, I use the Events All node and look for all hue_event messages. It works flawlessly and doesn't break anything is hue goes offline. For Hue scenes, I use the Call Service node to have HA turn the scene on. Cool project, but HueMagic crashing NodeRed entirely because my bridge was offline is too much of a limitation for me. |
Having this too - makes this library completely unusable because after few hours I get this and whole automation stops working :/ Node-RED version: 3.0.2 |
If you are still interested in using huemagic, you could switch to node-red-contrib-huemagic-fork that includes several bugfixes and community contributions. Instructions on how to switch are included in the README. |
I did in last hope, is it fixed there? I did not expected it because the other issue Im also having of constant spam of "Error requesting info from the bridge. Reconnect in some secs. undefined" was not yet it seems. |
The above mentioned fix (1af6c29) is included in the fork. In what version of Huemagic are you facing the error msg spam: "Error requesting info from the bridge. Reconnect in some secs. undefined"? |
Nice thx. I would say the latest (installed like two days ago), yesterday I changed it to -fork version and as Im checking I have no logs for today yet so I guess its possible it stopped - weird. Its deffinitelly happening in normal hue-magic but I guess it could be fixed in -fork too ... i will keep an eye on that. |
Describe the bug
Hue Magic crash Node-RED
Please complete the following information:
The text was updated successfully, but these errors were encountered: