So I followed the instructions to install node-js and then used npm to install node-red. All good until it tries to connect with HA, then it fails with the error "Connection to home assistant could not be established with config: http://ipaddress:8123 ", and HA says “Login attempt or request with invalid authentication”
Trying to sort through all the many cryptic links on this topic, I think I may have installed an older version of Node Red that is no longer compatible with HA 0.92 due to deprecation of the old API key access authorization method.
As a test I tried adding an api_password to my configuration.yaml file and specifying that to Node Red. That works - the error goes away and Node Red can communicate with HA.
Is my idea correct that this is due to an outdated version of Node Red? I have Node-RED version: v0.20.5, and I selected the regular HA community version rather the LLAT or websocket version, as recommended in the tutorial I followed.
If I should update, how can I get rid of the Node Red version I installed? Installing the websocket version over it doesn’t seem to work.