Dear all,
I’m writing here to get some help or good ideas on how to fix my smart home. I’m not quite sure where to ask for help, as I use Home Assistant with Node-RED. When I post on the Node-RED forum, people tell me to post on the Home Assistant forum, and vice versa. So now I’m trying here, hoping someone can help me with a solution or ideas to try.
My Home Assistant and Node-RED started failing after I updated Home Assistant to 2024.10.x and Node-RED to 18.1.x.
All my Home Assistant nodes are cycling between connected → disconnected → connecting.
In the Node-RED debug, I get the following errors:
I tried installing the Node-RED Companion via HACS.
This did not work either.
My HA log
2024-10-15 11:12:51.665 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/scripts.yaml contains duplicate key "alias". Check lines 152 and 163
2024-10-15 11:12:51.665 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/scripts.yaml contains duplicate key "sequence". Check lines 153 and 164
2024-10-15 11:12:51.714 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration eyeonwater which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-15 11:12:51.715 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-15 11:12:51.716 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration energidataservice which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-15 11:12:51.717 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-10-15 11:13:04.687 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-10-15 11:13:04.704 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=197 from 2024-10-15 09:09:54.761764)
2024-10-15 11:13:07.170 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/scripts.yaml contains duplicate key "alias". Check lines 152 and 163
2024-10-15 11:13:07.170 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /config/scripts.yaml contains duplicate key "sequence". Check lines 153 and 164
2024-10-15 11:13:10.352 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/usr/local/lib/python3.12/site-packages/pytz/zoneinfo/Africa/Abidjan', 'rb') inside the event loop by custom integration 'eyeonwater' at custom_components/eyeonwater/coordinator.py, line 43: await meter.read_historical_data( (offender: /usr/local/lib/python3.12/site-packages/pytz/__init__.py, line 108: return open(filename, 'rb')), please report it to the author of the 'eyeonwater' custom integration
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 271, in _async_update_data
return await self.update_method()
File "/config/custom_components/eyeonwater/__init__.py", line 52, in async_update_data
await eye_on_water_data.read_meters(days_to_load=3)
File "/config/custom_components/eyeonwater/coordinator.py", line 43, in read_meters
await meter.read_historical_data(
2024-10-15 11:13:14.053 ERROR (MainThread) [custom_components.energidataservice.connectors.nordpool] API returned error 404
2024-10-15 11:13:14.059 ERROR (MainThread) [custom_components.energidataservice.connectors.nordpool] API returned error 404
2024-10-15 11:13:14.068 ERROR (MainThread) [custom_components.energidataservice.connectors.nordpool] API returned error 404
2024-10-15 11:13:14.249 ERROR (MainThread) [custom_components.energidataservice.connectors.nordpool] API returned error 404
2024-10-15 11:13:14.249 ERROR (MainThread) [custom_components.energidataservice.connectors.nordpool] API returned error 404
2024-10-15 11:13:14.249 ERROR (MainThread) [custom_components.energidataservice.connectors.nordpool] API returned error 404
2024-10-15 11:13:14.733 WARNING (MainThread) [homeassistant.components.netatmo] API error: 500 (Internal Server Error)
2024-10-15 11:13:17.236 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for m5stack-atom-echo-31ca84 @ 192.168.1.12: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.1.12', port=6053))]: [Errno 113] Connect call failed ('192.168.1.12', 6053) (SocketAPIError)
2024-10-15 11:13:21.481 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.annika_loftlampe
2024-10-15 11:13:21.482 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.annika_loftlampe
2024-10-15 11:14:07.696 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('unifi', '6812401235159a6c657dba8e6e94577d'): 848230.511331975}