My Node-red automations only work for about a day. (Debugging help)

Hi everyone.
I have been trying using Node-Red, for most of my automations.
After setting up everything, I tested all the auotumations, and they worked as expected.

However, they only worked for about a day.
If I open Node-Red and Deploy again, all the automations work again for about a day.

Does anyone have any suggestions on what could cause this?

  • One of the automations is a simple button to toggle a light…

What is your installation ? Are you using Node-red as an addon for Hass.io or is it a separate install ?

I am running Home assistant version 0.76.2 on RPI 3.
With Node-RED Hass.io plugin.

I’m seeing this also , but only if I connect via my external domain name and not when connecting via internal IP address. (home-assistant.xxxx.nl vs. 192.268.2.2)

Yeah this sounds like a change to your ip address, what details are you using to connect to your HA internal or external?

Aah, that might be it!
I use my external self-hosted DNS/domain to connect from Node-RED to Home Assistant.

I will try using the my local ip address instead!

@jimpower @koen01

I am having some trouble getting Node-RED connected through my internal ip.
I have SSL setup for my external domain, and think this is what causing my trouble.

Do you have any suggestions on how i would do the connection?

I have tried:
192.168.x.xx:8123
192.168.x.xx
http://192.168.x.xx:8123
https://192.168.x.xx:8123

I followed this how-to more or less for setting up traefik for ssl and the docker networks for node-red and home-assistant.

Apparently people are seeing the same thing, automation not working with Node-red recently : https://www.reddit.com/r/homeassistant/comments/9g3i4y/my_node_red_automations_are_not_reliable_after/

I have SSL for my external domain, and Node-red connects to HA with the address “http://192.168.1.xx:8123”, I would check the logs to see why HA is refusing connection from Node-red.