Thanks for the excellent addon, it’s been a lot of fun using Node-Red. Will definitely keep posting as I have some more complicated flows I’ve been working on.
One of the great things about Node-Red is how easy it is to share automations, so if anyone else has anything would love to see it.
Copy your flows out as text files, bin the add-on and then re install it, import your flows back in again and you should have a nice clean, error free, set up.
Hi, im having trouble installing node red. Ive added your repo click the install button , loding icon appears for a second and then the button flashes red. Bellow is the log for the error:
17-12-22 09:32:07 INFO (SyncWorker_6) [hassio.dock.addon] Start build 27e642c6/armhf-addon-nodered:0.1.6
17-12-22 09:32:08 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 410, in start
resp = yield from self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web.py”, line 325, in _handle
resp = yield from handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 93, in impl
return (yield from handler(request))
File “/usr/lib/python3.6/site-packages/hassio/api/util.py”, line 33, in wrap_api
answer = await method(api, *args, **kwargs)
File “/usr/lib/python3.6/site-packages/hassio/addons/addon.py”, line 500, in install
if not await self.docker.install(self.last_version):
File “/usr/lib/python3.6/site-packages/hassio/dock/util.py”, line 18, in wrap_api
return await method(api, *args, **kwargs)
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/hassio/dock/addon.py”, line 248, in _install
return self._build(tag)
File “/usr/lib/python3.6/site-packages/hassio/dock/addon.py”, line 261, in _build
image = self.docker.images.build(**build_env.get_docker_args(tag))
File “/usr/lib/python3.6/site-packages/docker/models/images.py”, line 179, in build
raise BuildError(chunk[‘error’])
docker.errors.BuildError: Please provide a source image with from prior to commit
Hi,
thx for the Node-Red Add-On.
I tested this a few days with alexa local and its pretty amazing and worked well.
Now I want make a simple automation but I cant get the Home Assistant Input Nodes to work.
e.g. The events: state node shows always as “disconnected” in the Flow
22 Dec 16:36:50 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error","status":504}
So its seems like the hassio API connection does not work. But I’m using the same Server settings with the output node (Stehlampe) and I works fine and the EntityID Pickers works well to.
2 Dec 18:51:23 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:25 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:27 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:29 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:31 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:33 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:36 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:38 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:40 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:42 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:44 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:46 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
22 Dec 18:51:48 - [error] [server-state-changed:weihnachtstern an] Connection error occured with the home-assistant server: {"type":"error"}
Yes, I use SSL, but with Nginx. In my system, port 8123 does not have SSL enabled, while port 443 does. Node-RED is pointing to the non-SSL port. I’ve also verified that connecting to the hostname that matches the cert also works.
If you have SSL enabled on port 8123, you need to use the hostname that matches your cert. Your router needs to support NAT loopback or you need to have DNS so it returns your internal IP for the hostname in your SSL cert.
If you can’t get NAT loopback or split DNS working, you’ll likely need to use a reverse proxy like Nginx to provide SSL and disable SSL within Home Assistant.