https://github.com/zachowj/node-red-contrib-home-assistant-websocket/issues/898
I know about it, I always reported the problem there too.
NR appears to be spontaneously updating the flows and losing the config to connect to HA.
I have updated my components so that I am now on version v3.1.3 of NR, 0.62.2 of node-red-contrib-home-assistant-websocket, v3.1.2 of the Home Assistant Node-RED Companion.
This started happening on the morning of 1/1/24:
2024/01/01 08:17:02,stdout,1 Jan 08:17:02 - [error] [server-state-changed:40aa24fd6365c0f5] Error: Server config node not found
2024/01/01 08:17:02,stdout,1 Jan 08:17:02 - [error] [server:8543beb1656653ec] Error: No credentials provided
2024/01/01 08:17:02,stdout,1 Jan 08:17:02 - [info] Starting flows
2024/01/01 08:17:02,stdout,1 Jan 08:17:02 - [info] Updated flows
2024/01/01 08:17:02,stdout,1 Jan 08:17:02 - [info] Stopped flows
2024/01/01 08:17:02,stdout,1 Jan 08:17:02 - [info] Stopping flows
2024/01/01 08:16:59,stdout,1 Jan 08:16:59 - [info] Started flows
2024/01/01 08:16:59,stdout,1 Jan 08:16:59 - [info] Starting flows
2024/01/01 08:16:59,stdout,1 Jan 08:16:59 - [info] Updated flows
2024/01/01 08:16:59,stdout,1 Jan 08:16:59 - [info] Stopped flows
2024/01/01 08:16:59,stdout,1 Jan 08:16:59 - [info] [server:Home Assistant] Closing connection to http://localhost:8123
2024/01/01 08:16:59,stdout,1 Jan 08:16:59 - [info] Stopping flows
It is happening every day and often at around 23:00 when I certainly wouldnât be doing anything. Full log at this gist: Node RED log for lost config issue ¡ GitHub
Any ideas of what could be causing this?
Hi guys, does this still work? is this the best way to integrate a remote NR installation with HA?
I have added the node-red-contrib-home-assistant-websocket palette to NR, generated a long lived access token in HA, then I setup the config node to speak to IPADDRESS:8123 and populted the password field with the token key.
But I receive âInvalid access token or passwordâ
The key is obviously longer than what it looks in the screenshot, it seems to truncate it after I save the configuration module⌠is that normal?
nevermind⌠seems there are two websocket palettes, one has not been updated in 7 years⌠dont use that one!