I do use Node-red for a long time without any problem. Had to move complete HA environment to other machine. I believe since the move I get some strange things.
Node-red runs and everything works but in my notification I have an error: 'The following integrations and platforms could not be set up:' , please check your config and log.
Home Assistant Core shows 2 errors:
The log of the first error is: https://gist.github.com/johanvh83/6fdff6514c88019b089fa19152a10e40
the second error is: https://gist.github.com/johanvh83/563bc48262574547127d29737663ef11
Furthermore the Node-red log itself shows almost permanently:
14 Jan 12:34:35 - [info] [mqtt-broker:3922a6cd.ff2dca] Connection failed to broker: mqtt://192.168.2.136:1883
14 Jan 12:35:20 - [info] [mqtt-broker:3922a6cd.ff2dca] Connection failed to broker: mqtt://192.168.2.136:1883
14 Jan 12:36:05 - [info] [mqtt-broker:3922a6cd.ff2dca] Connection failed to broker: mqtt://192.168.2.136:1883
My MQTT broker is installed with default settings and Zigbee2MQTT, which also uses the MQTT broker, works without any problem.
Any advise to resolve is welcome!
Thanks
#Node-red runs but get 'invalid config' notification
1 messages · Page 1 of 1 (latest)
Try to figure out the source problem. Checked Node-red configuration and there is no MQTT config or setting at all.
Wondering why I have this 'Connection failed to broker' errors in the log.
Is your MQTT broker set up as an HA add-on or an external container?
Is 192.168.2.136 actually the IP of whatever is hosting MQTT?
Did the IP possibly change
If you're running HAOS, you'll usually refer to addons by name
I use HA in a VM so the MQTT broker is an add-on.
192.168.2.136 is indeed very weird because my own network is 192.168.100.x
For the MQTT broker I don't see any IP setting, only ports but I used the default ones
If you go to the menu in Node RED, hit Configuration nodes, there should be an mqtt-broker node.
Something like that probably
Yeah, that should work if they're both addons
Hmm
15 Jan 13:28:59 - [info] [mqtt-broker:3922a6cd.ff2dca] Connection failed to broker: mqtt://core-mosquitto
15 Jan 13:29:14 - [info] [mqtt-broker:3922a6cd.ff2dca] Connection failed to broker: mqtt://core-mosquitto
You'll probably need to configure a user/password as well on the security tab
Ok, may that be the same user as I use for Z2M or should I create another user for Node-Red?
It'd be up to you. Personally, I prefer to create a user per app, but it'll work either way
But the core log doesn't show any Node-red issue
15 Jan 13:35:51 - [info] Started flows
15 Jan 13:35:51 - [info] [mqtt-broker:3922a6cd.ff2dca] Connected to broker: mqtt://core-mosquitto
15 Jan 13:35:51 - [info] [mqtt-broker:Mosquitto] Connected to broker: NodeRed@mqtt://localhost:1883
[13:35:51] INFO: Starting NGinx...
That seems to report it's working now
Yes Node-Red / MQTT comm seeems ok but when I restart HA, it pops-up with an invalid config for Node-Red
What does the logs say when you go there
Same as I sent 13:28
That's an integration problem, not an add-on problem
Does your nodered integration possibly need to be updated
That's your addon version
Euh, what do you mean by integration? I use the add-on
Your error is from the integration to Home Assistant
If you go to Settings -> Integrations, there should be a Node-RED tile to click
That might be from 2021
https://github.com/zachowj/hass-node-red Latest is 4.2.2
Oops, do I need this integration? No idea where it comes from honestly
That page lists the things it'll give you
Thanks for your help anyway! Highly appreciated! I'll used HACS to update the Node-REd integration
I will check then if the things it provides are necesarry for me
Looks like it's loaded now
After update, none of 3 entities I used, so deleted them and deleted the integration.
Thanks once more for all and have a good day!