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

The UI within Home Assistant doesn't work properly #1971

Open
Jens-Wymeersch opened this issue Oct 6, 2024 · 30 comments
Open

The UI within Home Assistant doesn't work properly #1971

Jens-Wymeersch opened this issue Oct 6, 2024 · 30 comments

Comments

@Jens-Wymeersch
Copy link

Problem/Motivation

Basically since a couple of days, nodered doesn't work properly within home assistant. Meaning that I can't search the entities, I don't see the connection status, etc.
However, when I use it via the 1880 port, all works perfectly.

Expected behavior

I would expect the same behavior in the iframe as the webpage

Actual behavior

I see all the flows but no connection status nor the ability to search for entities.

Steps to reproduce

Since the latest NodeRed update, I've seen this change.
Here is the version I'm using
Node-RED version: v4.0.3
Node.js version: v18.20.4

Proposed changes

I don't know what to do or to search for. Nothing visible in the logs

@mattmeiser
Copy link

Seeing the same here.

@ecard0
Copy link

ecard0 commented Oct 6, 2024

Same here :(

@oliver073
Copy link

Same here - and most of the time all inject nodes are grayed out and cannot be started.
I believe this is since the last update.

@amaisano
Copy link

amaisano commented Oct 7, 2024

Perhaps related: all my HA Companion sensors have doubled in HA's entity list. binary_sensor.pc_status duplicated to binary_sensor.pc_status_2 - this happened for all of them. The non-_2 entities all say they have no Unique ID and cannot be deleted or renamed, which is of course breaking all my automations.

@Mikefila
Copy link

Mikefila commented Oct 7, 2024

Perhaps related: all my HA Companion sensors have doubled in HA's entity list. binary_sensor.pc_status duplicated to binary_sensor.pc_status_2 - this happened for all of them. The non-_2 entities all say they have no Unique ID and cannot be deleted or renamed, which is of course breaking all my automations.

zachowj/hass-node-red#126 (comment)

@nappyjim
Copy link

nappyjim commented Oct 8, 2024

Same issue for me. Accessing it through port 1880 works good. I corrected my 100+ issues it had, but still accessing through HA doesnt work correctly.

@IkaSGC
Copy link

IkaSGC commented Oct 8, 2024

Same problem here... Sometimes it work, sometime not.... On my home computer it not working... But today i connect from my work computer and first time everything works... But then i close all windows, log again into HA and bug is there...

For example, all inject nodes are shaded and the can not be operated... No connection or other statuses.... It has something with WebSocket....

@kerowog
Copy link

kerowog commented Oct 9, 2024

Same. UI loads but inject nodes are greyed out and no status is displayed under any node. Flows and automation work. Locally I can access via browser and HA address with port from NR settings and then everything is displayed and working.

@kerowog
Copy link

kerowog commented Oct 9, 2024

And now it's suddenly back to normal. I haven't changed anything. We'll see how long it lasts...

@orangelizard
Copy link

Just in case it helps. Same problem here with no connection status for nodes.. After Node Red uninstall, delete Node Red folder in HA and import all flows and modules it worked fine. Then updated this websocket to 0.74.0
image
and they disappeared again. Repeated fresh install as above leaving the websocket update for now and all ok and waiting to see if it lasts. 😉

@kersten-lohmeyer
Copy link

kersten-lohmeyer commented Oct 9, 2024

Just in case it helps. Same problem here with no connection status for nodes.. After Node Red uninstall, delete Node Red folder in HA and import all flows and modules it worked fine. Then updated this websocket to 0.74.0 image and they disappeared again. Repeated fresh install as above leaving the websocket update for now and all ok and waiting to see if it lasts. 😉

Doesn't work for me. I uninstall the addon, delete the folder, restart the host, install Node Red again. All my flows are still there??? Then I restore 18.0.5 and all it says is: "503: Service Unavailable". If this is not fixed anytime soon I might try to put my automations into HA. NR has been working flawlessly for years now with every update!

Even trying to setup NR from scratch won't work. Injection nodes are grayed out. Won't bother any further.

@orangelizard
Copy link

orangelizard commented Oct 10, 2024

It survived yesterday but back to no inject and connection status this morning. Just using port 1880 for now as that is fine as others have commented.

@rlyons20
Copy link

Similar problem here? I don't see any node status and debug messages are delayed and/or non-existent.

@Ticker918
Copy link

Same here. Greyed out inject nodes and not seeing any status changes etc.

@kersten-lohmeyer
Copy link

Isn't this one of the most important addons of Home Assistant? I don't get it why there's still not assigned anyone. No offense!

@Dodoooh
Copy link

Dodoooh commented Oct 14, 2024

I am dealing with the exact same problems..

@DocN0
Copy link

DocN0 commented Oct 15, 2024

I also have these problems, the flows work, felt slower. but no debug or inject possible.
I hope it is allowed to ping @frenck ?

My question is also what is the workflow to fix this? reinstalling nodered and reimporting the flows really solves the problem?

@kersten-lohmeyer
Copy link

My question is also what is the workflow to fix this? reinstalling nodered and reimporting the flows really solves the problem?

Didn't work for me at least.

@Dodoooh
Copy link

Dodoooh commented Oct 15, 2024

I did the same—set up a fresh Home Assistant instance on Proxmox, installed Node-RED 18.1.1, and imported the flows. Unfortunately, I’m still seeing the same errors, so they must be embedded somewhere in the flows themselves.

@kersten-lohmeyer
Copy link

I did the same—set up a fresh Home Assistant instance on Proxmox, installed Node-RED 18.1.1, and imported the flows. Unfortunately, I’m still seeing the same errors, so they must be embedded somewhere in the flows themselves.

Did you try rebuilding your flow from scratch? Including injection nodes?

@Dodoooh
Copy link

Dodoooh commented Oct 15, 2024

@kersten-lohmeyer
Hej, yes with the new installation everything worked when I reinstalled it, only after the import I have the errors described.

@bennybubble
Copy link

Same here, problem started yesterday. Only way to acces NR is via :1880.

@bennybubble
Copy link

I just installed the 2024.10.3 update and the problem seems to be gone ... fingers crossed...

@orangelizard
Copy link

Update 2024.10.3 made no change for me, still exhibiting the same issues.😔

@nappyjim
Copy link

I'm fully updated as of 10/18/2024 and issue is still there.

@Jenzemann1
Copy link

Same problems and all updates are up to date... Port 1880 works still..

@1192410
Copy link

1192410 commented Oct 20, 2024

I have the same issue, and I'm really wondering why this hasn't been addressed with higher priority. Port 1880 works for me too. This is how it looks in the add-on. Someone should be assigned to resolve this issue asap.

Many thanks, Andreas

Add-on:

image

1880:

image

@kersten-lohmeyer
Copy link

kersten-lohmeyer commented Oct 20, 2024

I have the same issue, and I'm really wondering why this hasn't been addressed with higher priority. Port 1880 works for me too. This is how it looks in the add-on. Someone should be assigned to resolve this issue asap.

Many thanks, Andreas

Add-on:

image

1880:

image

I don't see the status below the nodes. I can't even login to https://.....:1880 even though I setup a username and password in the NR config. Trying to login with the credential_secret doesn't work either. I'll stay on 18.0.5 for now and if this doesn't get fixed I try to build my flows with HA automations.

@orangelizard
Copy link

@kersten-lohmeyer try using your HA login details for the 1880 login credentials, that should work.

@kersten-lohmeyer
Copy link

@kersten-lohmeyer try using your HA login details for the 1880 login credentials, that should work.

Yes, it's working. Thanks!

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