addon-node-red icon indicating copy to clipboard operation
addon-node-red copied to clipboard

The UI within Home Assistant doesn't work properly

Open Jens-Wymeersch opened this issue 1 year ago • 30 comments

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

Jens-Wymeersch avatar Oct 06 '24 15:10 Jens-Wymeersch

Seeing the same here.

mattmeiser avatar Oct 06 '24 17:10 mattmeiser

Same here :(

ecard0 avatar Oct 06 '24 19:10 ecard0

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.

oliver073 avatar Oct 07 '24 13:10 oliver073

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.

amaisano avatar Oct 07 '24 15:10 amaisano

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.

https://github.com/zachowj/hass-node-red/issues/126#issuecomment-1056123018

Mikefila avatar Oct 07 '24 17:10 Mikefila

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.

nappyjim avatar Oct 08 '24 01:10 nappyjim

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....

IkaSGC avatar Oct 08 '24 22:10 IkaSGC

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 avatar Oct 09 '24 08:10 kerowog

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

kerowog avatar Oct 09 '24 08:10 kerowog

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. 😉

orangelizard avatar Oct 09 '24 10:10 orangelizard

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.

kersten-lohmeyer avatar Oct 09 '24 20:10 kersten-lohmeyer

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.

orangelizard avatar Oct 10 '24 09:10 orangelizard

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

TechnicallyBob202 avatar Oct 10 '24 13:10 TechnicallyBob202

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

Ticker918 avatar Oct 14 '24 11:10 Ticker918

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!

kersten-lohmeyer avatar Oct 14 '24 11:10 kersten-lohmeyer

I am dealing with the exact same problems..

Dodoooh avatar Oct 14 '24 22:10 Dodoooh

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?

DocN0 avatar Oct 15 '24 09:10 DocN0

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.

kersten-lohmeyer avatar Oct 15 '24 09:10 kersten-lohmeyer

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.

Dodoooh avatar Oct 15 '24 10:10 Dodoooh

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?

kersten-lohmeyer avatar Oct 15 '24 10:10 kersten-lohmeyer

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

Dodoooh avatar Oct 15 '24 15:10 Dodoooh

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

bennybubble avatar Oct 18 '24 06:10 bennybubble

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

bennybubble avatar Oct 18 '24 16:10 bennybubble

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

orangelizard avatar Oct 18 '24 18:10 orangelizard

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

nappyjim avatar Oct 19 '24 00:10 nappyjim

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

Jenzemann1 avatar Oct 20 '24 13:10 Jenzemann1

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

1192410 avatar Oct 20 '24 17:10 1192410

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.

kersten-lohmeyer avatar Oct 20 '24 17:10 kersten-lohmeyer

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

orangelizard avatar Oct 21 '24 06:10 orangelizard

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

Yes, it's working. Thanks!

kersten-lohmeyer avatar Oct 21 '24 06:10 kersten-lohmeyer