#Node red integration issues

1 messages · Page 1 of 1 (latest)

calm tusk
#

Hey there, I am having issues getting node red to work with home assistant core. I have the HACS addon, I can access the web UI of nodered, I have installed the nodered "node-red-contrib-home-assistant-websocket" plugin. For some reason nodered doesn't connect. Anyone know how to troubleshoot this?

viscid portal
#

If you installed the node-red-contrib-home-assistant-websockets plugin manually then I assume you aren't using the addon correct? In that case did you fill in the home assistant config node?

viscid portal
#

The component you installed from HACS is not the add-on. As HACS says there are no add-ons in HACS.

viscid portal
calm tusk
#

As far as I understand it seems like i dont have the addon. I am new to nodered so hard to understand.

Is it smarter to fill out the base url and token or is it smarter to install the addon?

viscid portal
#

It's not usually an either/or situation. How have you installed Home Assistant? If you are using #330990055533576204 or #330944238910963714 then you should use the add-on or else you would need to install node-red on a totally separate machine. If you are using #449717345808547842 or #551864459891703809 then you will need to deploy node red yourself and connect it to HA using the base url and token options.

calm tusk
#

I am using Home assistant core in a freebsd jail. I have installed nodered in another jail. I will try connecting with url and token and reply

viscid portal
#

sounds good. Just an FYI there is a #node-red-archived channel specifically for help using HA and node-red together. I would probably recommend taking future questions there as there's other experts who can help out that may not see this thread

calm tusk
calm tusk
viscid portal
# calm tusk https://abload.de/img/screenshot2021-12-221rcjlb.png I have added the url and t...

Hm that's strange. So I guess first thing I notice is that you checked "accept unauthorized ssl certificates" but you put in an http address. Does your HA use SSL or no? If it does then I think you need to put https as I don't think it will work over both http and https. If it doesn't then that checkbox shouldn't harm anything but I don't believe it does anything in that case.

#

I'm not really sure what to make of the translation message though, not something I've seen. Might have to take it to an issue on the repo for those nodes which is here: https://github.com/zachowj/node-red-contrib-home-assistant-websocket/issues . Kermit is also the developer of those nodes and is regularly in the #node-red-archived channel. Probably the best person to fix this issue since there's not a lot of debug tools available for issues with a config node unfortunately.