Good evening,
I have installed the node node-red-contrib-home-assistant-ws and try to connect but it unfortunately failed.
I tried with my password and also a long life token but keep saying " Invalid access token or password".
What am I doing wrong ?
Thanks for your help,
Tom
node-red-contrib-home-assistant-ws
was written about 8 years ago, and does not appear to have been updated since. It is somewhat unlikely to still work, and there appears to be zero documentation either.
The de-facto HA node package widely used is
node-red-contrib-home-assistant-websocket
If you have Node-RED as an add-on in Home Assistant, this package will already be included, otherwise you can easily find and install it in the ‘manage palette’ install option.
The GitHub repository can be found at https://github.com/zachowj/node-red-contrib-home-assistant-websocket where you will find the extensive documentation.
The node-red-contrib-home-assistant-websocket node set uses a configuration server to connect to the HA WebSocket. For NR as add-on, this is setup by default and does not require any other validation. For NR otherwise (independent) an HA long life token is required, but this is quite ease to setup and use.
If you have installed *-ws in error, then it would probably be a good idea to remove it from the palette before using / installing the *-websocket nodes. Certainly delete any server configuration nodes created.
Hope this helps!
I’ve run into and issue with
node-red-contrib-home-assistant-websocket
Was working for ages (literally years!). Yesterday I updated HomeAssistant and now NodeRed cannot connect to the HomeAssistant Instance. I’ve tried a new LongTerm API key but the symptom is the same.