Skip to content
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

All of the sudden stopped working #300

Open
guedini opened this issue Sep 12, 2024 · 12 comments
Open

All of the sudden stopped working #300

guedini opened this issue Sep 12, 2024 · 12 comments

Comments

@guedini
Copy link

guedini commented Sep 12, 2024

Describe the bug

I'm working on my flows and suddenly I started getting a NoConnectionError. So all started failing.

After reviewing my entities, all text and number entities are displaying the message below.

This node requires Node-RED custom integration version 1.3.0+ to be installed in Home Assistant for it to function.

I tried to update WebSocket but it is still not working. Not sure which version is it or how to fix it.

I appreciate help on this issue because I use text and number for almost all flows so nothing is working anymore.

Thanks
Screenshot 2024-09-12 111327

To Reproduce

No response

Expected behavior

No response

Screenshots

No response

Example Flow

No response

Environment Information

Version: 0.65.1

Home Assistant version: unknown
Companion version: unknown

Node-RED version: 4.0.2
Docker: yes
Add-on: no

Node.js version: v18.20.3 arm64 linux
OS: Linux 6.6.31-haos-raspi arm64

Additional context

No response

@UncleLeoTheDad
Copy link

I'm seeing something similar. It keeps telling me my node needs version 1.6+, but I've checked and I have 4.1.0 installed.

@hanstornquist
Copy link

I have the same not using beta
"This node requires Node-RED custom integration version 1.1.0+ to be installed in Home Assistant for it to function."
I have v4.1.0 installed
Home Assistant
Core 2024.9.2
Supervisor 2024.09.1
Operating System 13.1
Frontend 20240909.1

@zachowj
Copy link
Owner

zachowj commented Sep 24, 2024

@guedini Was Node-RED connected to Home Assistant when you gathered the diagnostics info? The popup appears because it is unable to retrieve the necessary data from Home Assistant.

@UncleLeoTheDad @hanstornquist Please share your diagnostics information.

Are you accessing the Node-RED UI through an iframe in Home Assistant or directly via port 1880? Try connecting directly to Node-RED on port 1880.

@hanstornquist
Copy link

hanstornquist commented Sep 24, 2024

@zachowj
My HA install
Version: 0.72.4

Home Assistant version: 2024.9.3
Companion version: 4.1.0

Node-RED version: 4.0.2
Docker: yes
Add-on: 18.0.5

Node.js version: v18.20.3 x64 linux
OS: Linux 6.6.46-haos x64

And my Victron Cerbo GX that connects to my HA
Version: 0.72.4

Home Assistant version: 2024.9.3
Companion version: unknown

Node-RED version: 3.1.10
Docker: no
Add-on: no

Node.js version: v18.20.3 arm linux
OS: Linux 5.10.109-venus-17 arm

Both have the same error, my HA is using the iframe option and the Victron is direct to port 1880

@UncleLeoTheDad
Copy link

UncleLeoTheDad commented Sep 24, 2024

Hmmm...woke up this morning and saw an update for node-red that was pending that wasn't there last night. Restarted and now I am not seeing an error. Hizzah! I will let you know if that changes. My config is now:

version: 0.73.0
Home Assistant version: 2024.9.3
Companion version: 4.1.0
Node-RED version: 4.0.2
Docker: yesAdd-on: 18.0.5
Node.js version: v18.20.3 x64 
linuxOS: Linux 6.6.46-haos x64

@UncleLeoTheDad
Copy link

Actually, I spoke too soon. Still there!
image

@MarkoBolt
Copy link

MarkoBolt commented Oct 10, 2024

Since today, I have had exactly the same issue.

After updating "node-red-contrib-home-assistant-websocket" to 0.74.0 it worked a bit and now it is not working anymore.

version: 0.74.0
Home Assistant version: 2024.10.1
Companion version: 4.1.1
Node-RED version: 4.0.3

Screenshot 2024-10-10 at 16 07 24

@MarkoBolt
Copy link

The buttons sometimes work, but I can not see any status information in Node-Red, and there is also no debugging information available. That's weird.

@lucode
Copy link

lucode commented Oct 13, 2024

Had the same/similar issue. Minor issues with HA V2024.10.1, but after upgrading to V2024.10.2 the integration stopped communicating to Node Red. Did manually redownload the HACS repo and after the restart of HA it works now, but I had to rename most of my companion entities, because they got added a "_2" at the end from the issue.

I guess the HACS integration didn't correctly got downloaded previously.

@MarkoBolt
Copy link

MarkoBolt commented Oct 13, 2024

@lucode
Copy link

lucode commented Oct 17, 2024

Had the same/similar issue. Minor issues with HA V2024.10.1, but after upgrading to V2024.10.2 the integration stopped communicating to Node Red. Did manually redownload the HACS repo and after the restart of HA it works now, but I had to rename most of my companion entities, because they got added a "_2" at the end from the issue.

I guess the HACS integration didn't correctly got downloaded previously.

Unfortunately the error is back. But I noticed that the cause might be found somewhere else. I had suddenly a strange error caused by a missing entity. Node Red started to run havoc and this blocked somehow the entire communication between NR and HA. But after enabling and disabling the affected flow and some restarts everything seems to be ok again. No missing entity, I have nothing changed. Very strange behavior.

As the detected error (missing entity) has coming from the Smart Irrigation Integration I started to wonder if there might be an interference in using NR and this Integration.
It seems there is at least an issue with I/O "register_static_path" about this Integration.
jeroenterheerdt/HAsmartirrigation#429

Does anyone else using the Smart Irrigation Integration in this thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants