Node-RED completely unable to talk to HA

Was hoping for some help here as I’m having a pretty serious issue and kind of at a loss. I just got home from vacation to discover my Node-RED Add-on is completely unable to communicate with my Home Assistant instance. It says it is connected but nothing actually works: it can’t pull any state and all service calls fail. You can see in the environment data its pretty clearly unable to communicate:
15%20PM

I’ve turned on debug logging to see if I could get a hint here but all it does is capture the failures, there doesn’t seem to be any further indication as to why.

For some basic information, my HA is v0.101.3 and my Node-Red addon is v5.0.3. Based on history it seems like it stopped working about a week ago. I did update both HA and Node-RED around that time but both were only patch updates (HA 0.101.2 -> 0.101.3 and NR from 5.0.2 -> 5.0.3). Nothing in the patch notes jumped out at me but I tried rolling back NR to 5.0.2 anyway and it didn’t change anything. I can try rolling back HA but its a bit trickier since my only backup with v0.101.2 is 2 weeks old so I wanted to check if anyone else had a similar issue first.

Also any suggestions for debugging this and getting more info on what is going on? I’m really not sure how to even go about this since it seems to be a connection failure rather then a problem with a specific flow. Would appreciate any suggestions.

EDIT: I tried rolling back to 0.101.2 anyway, no effect. Which pretty much leaves me out of ideas.

Some ideas:

  1. Have you rebooted the host completely? After 30 years of experience in computing, this is usually the best advice!
  2. Have you checked that the password in the node red config has not changed?
  3. Are you using ssl between HA and nodered? It could be that the certificate has expired
  4. Start node red in debug mode:
    https://github.com/hassio-addons/addon-node-red/blob/v5.0.3/README.md#option-log_level

Good luck!
GV

  1. yes, I restarted all the individual software pieces and then when that didn’t help I rebooted the hardware. Also didn’t help unfortunately
  2. no it’s not changed, double checked just now
  3. not using ssl
  4. tried that, that’s what I meant earlier with log level debug, didn’t really provide any useful info. Although just noticed “trace” so I’m trying that now

Speaking of logs, how do you get to the complete logs? The add-on UI only shows the last 100 lines or so and doesn’t seem to have any way to get to the complete thing.
EDIT: NVM, found full logs in portainer

So with log-level to debug restart node-red. It should give you a lot of info. If you want you can post the output. Multiple pairs of eyes might help!
GV

Fair enough. It’s pretty long though but here’s the list from clicking start until actual startup

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] 00-banner.sh: executing... ,
,
-----------------------------------------------------------,
 Hass.io Add-on: Node-RED,
 Flow-based programming for the Internet of Things,
-----------------------------------------------------------,
 Add-on version: 5.0.3,
 You are running the latest version of this add-on.,
 System: Raspbian GNU/Linux 10 (buster)  (armv7 / raspberrypi3),
 Home Assistant version: 0.101.3,
 Supervisor version: 192,
-----------------------------------------------------------,
 Please, share the above information when looking for help,
 or support in, e.g., GitHub, forums or the Discord chat.,
-----------------------------------------------------------,
[cont-init.d] 00-banner.sh: exited 0.,
[cont-init.d] 01-log-level.sh: executing... ,
Log level is set to DEBUG,
[cont-init.d] 01-log-level.sh: exited 0.,
[cont-init.d] nginx.sh: executing... ,
[09:02:49] DEBUG: Requested API resource: http://hassio/dns/info,
[09:02:49] DEBUG: Request method: GET,
[09:02:49] DEBUG: Request data: {},
[09:02:49] DEBUG: API HTTP Response code: 200,
[09:02:49] DEBUG: API Response: {"result": "ok", "data": {"version": "1", "latest_version": "1", "host": "172.30.32.3", "servers": ["dns://1.1.1.1", "dns://9.9.9.9"], "locals": ["dns://192.168.1.1"]}},
,
[cont-init.d] nginx.sh: exited 0.,
[cont-init.d] node-red.sh: executing... ,
[09:02:50] DEBUG: Password SHA1: <REMOVED>,
[09:02:50] DEBUG: Requested API resource: https://api.pwnedpasswords.com/range/60865,
[09:02:50] DEBUG: API HTTP Response code: 200,
[09:02:50] INFO: Password is NOT in the Have I Been Pwned database! Nice!,
[09:02:51] DEBUG: Password SHA1: <REMOVED>,
[09:02:51] DEBUG: Requested API resource: https://api.pwnedpasswords.com/range/60865,
[09:02:51] DEBUG: API HTTP Response code: 200,
[09:02:51] INFO: Password is NOT in the Have I Been Pwned database! Nice!,
patching file nodes/ui_base.html,
Hunk #1 succeeded at 1243 (offset 712 lines).,
up to date in 0.741s,
found 0 vulnerabilities,
,
[cont-init.d] node-red.sh: exited 0.,
[cont-init.d] user.sh: executing... ,
[09:02:54] INFO: Starting installation of custom NPM/Node-RED packages...,
+ [email protected],
added 3 packages from 2 contributors and audited 3591 packages in 19.097s,
found 1 high severity vulnerability,
  run `npm audit fix` to fix them, or `npm audit` for details,
+ [email protected],
added 1 package from 1 contributor and audited 3592 packages in 19.502s,
found 1 high severity vulnerability,
  run `npm audit fix` to fix them, or `npm audit` for details,
+ [email protected],
added 2 packages from 3 contributors and audited 3594 packages in 20.195s,
found 1 high severity vulnerability,
  run `npm audit fix` to fix them, or `npm audit` for details,
+ [email protected],
added 1 package from 2 contributors and audited 3595 packages in 20.043s,
found 1 high severity vulnerability,
  run `npm audit fix` to fix them, or `npm audit` for details,
+ [email protected],
added 1 package from 2 contributors and audited 3596 packages in 20.463s,
found 1 high severity vulnerability,
  run `npm audit fix` to fix them, or `npm audit` for details,
+ [email protected],
added 1 package from 1 contributor and audited 3597 packages in 19.529s,
found 1 high severity vulnerability,
  run `npm audit fix` to fix them, or `npm audit` for details,
[cont-init.d] user.sh: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,
[09:05:06] INFO: Starting Node-RED...,
,
> hassio-addon-node-red@ start /opt,
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js",
,
17 Nov 09:05:08 - [info] ,
,
Welcome to Node-RED,
===================,
,
17 Nov 09:05:08 - [info] Node-RED version: v1.0.2,
17 Nov 09:05:08 - [info] Node.js  version: v10.16.3,
17 Nov 09:05:08 - [info] Linux 4.19.66-v7l+ arm LE,
17 Nov 09:05:09 - [info] Loading palette nodes,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-time-range-switch 0.6.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-time-range-switch,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-actionflows 2.0.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-actionflows,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-bigtimer 2.2.5,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-bigtimer,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-blockly 1.1.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-blockly,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-cast 0.2.11,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-cast,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-counter 0.1.5,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-counter,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-home-assistant-websocket 0.16.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-home-assistant-websocket,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-http-request 0.1.14,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-http-request,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-influxdb 0.4.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-influxdb,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-interval-length 0.0.4,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-interval-length,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-light-scheduler 0.0.15,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-light-scheduler,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-looptimer 0.0.8,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-looptimer,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-modbus 4.1.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-modbus,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-moment 3.0.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-moment,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-state-machine 1.2.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-state-machine,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-statistics 2.2.2,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-statistics,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-stoptimer 0.0.7,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-stoptimer,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-string 0.2.2,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-string,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-sun-position 0.5.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-sun-position,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-sunevents 0.0.5,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-sunevents,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-alexa-home-skill 0.1.17,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-alexa-home-skill,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-timecheck 1.1.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-timecheck,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-traffic 0.2.1,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-traffic,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-wait-paths 0.3.2,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-wait-paths,
17 Nov 09:05:10 - [debug] Module: node-red-contrib-weekday 0.1.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-contrib-weekday,
17 Nov 09:05:10 - [debug] Module: node-red-dashboard 2.17.1,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-dashboard,
17 Nov 09:05:10 - [debug] Module: node-red-node-base64 0.2.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-base64,
17 Nov 09:05:10 - [debug] Module: node-red-node-email 1.7.1,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-email,
17 Nov 09:05:10 - [debug] Module: node-red-node-feedparser 0.1.14,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-feedparser,
17 Nov 09:05:10 - [debug] Module: node-red-node-geofence 0.1.2,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-geofence,
17 Nov 09:05:10 - [debug] Module: node-red-node-msgpack 1.2.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-msgpack,
17 Nov 09:05:10 - [debug] Module: node-red-node-pi-gpio 1.0.6,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-pi-gpio,
17 Nov 09:05:10 - [debug] Module: node-red-node-ping 0.1.0,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-ping,
17 Nov 09:05:10 - [debug] Module: node-red-node-random 0.1.4,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-random,
17 Nov 09:05:10 - [debug] Module: node-red-node-rbe 0.2.5,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-rbe,
17 Nov 09:05:10 - [debug] Module: node-red-node-sentiment 0.1.4,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-sentiment,
17 Nov 09:05:10 - [debug] Module: node-red-node-serialport 0.8.8,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-serialport,
17 Nov 09:05:10 - [debug] Module: node-red-node-smooth 0.1.2,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-smooth,
17 Nov 09:05:10 - [debug] Module: node-red-node-suncalc 0.0.12,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-suncalc,
17 Nov 09:05:10 - [debug] Module: node-red-node-tail 0.0.3,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-tail,
17 Nov 09:05:10 - [debug] Module: node-red-node-twitter 1.1.5,
17 Nov 09:05:10 - [debug]         /opt/node_modules/node-red-node-twitter,
17 Nov 09:05:13 - [info] Dashboard version 2.17.1 started at /endpoint/ui,
17 Nov 09:05:15 - [info] Settings file  : /etc/node-red/config.js,
17 Nov 09:05:15 - [info] Context store  : 'default' [module=memory],
17 Nov 09:05:15 - [info] User directory : /config/node-red/,
17 Nov 09:05:15 - [warn] Projects disabled : editorTheme.projects.enabled=false,
17 Nov 09:05:15 - [info] Flows file     : /config/node-red/flows.json,
17 Nov 09:05:15 - [info] Server now running at http://127.0.0.1:46836/,
17 Nov 09:05:15 - [debug] loaded flow revision: 3006b9a61aed2e2aa5d60ec3b9322eb1,
17 Nov 09:05:15 - [debug] red/runtime/nodes/credentials.load : user provided key,
17 Nov 09:05:15 - [debug] red/runtime/nodes/credentials.load : keyType=user,
17 Nov 09:05:15 - [info] Starting flows,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : global,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : ae25ccd2.f221d,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : 262d1da0.23145a,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : 519667a9.d81628,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : f9be3564.a66948,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : dc93c609.7a6e5,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : 70accfee.848e,
17 Nov 09:05:15 - [debug] red/nodes/flows.start : starting flow : a74fee2d.ac9068,
17 Nov 09:05:15 - [debug] [server:Home Assistant] instantiated node, name: Home Assistant,
17 Nov 09:05:15 - [debug] [api-call-service:Reached dest - off] instantiated node, name: Reached dest - off,
17 Nov 09:05:15 - [debug] [api-call-service:Override travel mode] instantiated node, name: Override travel mode,
17 Nov 09:05:15 - [debug] [api-call-service:Cancel ETA] instantiated node, name: Cancel ETA,
17 Nov 09:05:15 - [debug] [api-call-service:Turn off "probably drove"] instantiated node, name: Turn off "probably drove",
17 Nov 09:05:15 - [debug] [api-call-service:Turn off "probably transit"] instantiated node, name: Turn off "probably transit",
17 Nov 09:05:15 - [debug] [api-call-service:Turn off "reached destination"] instantiated node, name: Turn off "reached destination",
17 Nov 09:05:15 - [debug] [api-call-service:Reset travel mode override] instantiated node, name: Reset travel mode override,
17 Nov 09:05:15 - [debug] [ha-wait-until:Wait 10 mins] instantiated node, name: Wait 10 mins,
17 Nov 09:05:15 - [debug] [api-call-service:Set "reached destination"] instantiated node, name: Set "reached destination",
17 Nov 09:05:15 - [debug] [server-state-changed:More then 10km away] instantiated node, name: More then 10km away,
17 Nov 09:05:15 - [debug] [api-call-service:Turn on flag] instantiated node, name: Turn on flag,
17 Nov 09:05:15 - [debug] [api-call-service:Set travel mode] instantiated node, name: Set travel mode,
17 Nov 09:05:15 - [debug] [trigger-state:Mike loc change w/ ETA] instantiated node, name: Mike loc change w/ ETA,
17 Nov 09:05:15 - [debug] [trigger-state:Kylee loc change w/ ETA] instantiated node, name: Kylee loc change w/ ETA,
17 Nov 09:05:15 - [debug] [trigger-state:Travel mode change w/ ETA] instantiated node, name: Travel mode change w/ ETA,
17 Nov 09:05:15 - [debug] [trigger-state:Person left home] instantiated node, name: Person left home,
17 Nov 09:05:15 - [debug] [api-call-service:Set Nest ETA] instantiated node, name: Set Nest ETA,
17 Nov 09:05:15 - [debug] [api-call-service:Cancel ETA] instantiated node, name: Cancel ETA,
17 Nov 09:05:15 - [debug] [api-call-service:Notify mike] instantiated node, name: Notify mike,
17 Nov 09:05:15 - [debug] [api-call-service:Set Nest ETA] instantiated node, name: Set Nest ETA,
17 Nov 09:05:15 - [debug] [api-call-service:ETA Notification] instantiated node, name: ETA Notification,
17 Nov 09:05:15 - [debug] [api-call-service:Store trip ID in HA] instantiated node, name: Store trip ID in HA,
17 Nov 09:05:15 - [debug] [api-call-service:Clear trip ID in HA] instantiated node, name: Clear trip ID in HA,
17 Nov 09:05:15 - [debug] [api-call-service:Dismiss ETA notification] instantiated node, name: Dismiss ETA notification,
17 Nov 09:05:15 - [debug] [api-call-service:End ETA Notification] instantiated node, name: End ETA Notification,
17 Nov 09:05:15 - [debug] [ha-wait-until:Wait 2 mins] instantiated node, name: Wait 2 mins,
17 Nov 09:05:15 - [debug] [trigger-state:Person reached a destination] instantiated node, name: Person reached a destination,
17 Nov 09:05:15 - [debug] [trigger-state:Mike's lat lon changes] instantiated node, name: Mike's lat lon changes,
17 Nov 09:05:15 - [debug] [trigger-state:Trigger new ETA] instantiated node, name: Trigger new ETA,
[09:05:15] INFO: Starting NGinx...,
17 Nov 09:05:15 - [debug] [trigger-state:Nearest reached destination] instantiated node, name: Nearest reached destination,
17 Nov 09:05:15 - [debug] [trigger-state:Kylee's lat lon changes] instantiated node, name: Kylee's lat lon changes,
17 Nov 09:05:15 - [debug] [trigger-state:Person arrived home] instantiated node, name: Person arrived home,
17 Nov 09:05:15 - [debug] [api-call-service:Turn on exterior lights] instantiated node, name: Turn on exterior lights,
17 Nov 09:05:15 - [debug] [server-state-changed:Late night guest off] instantiated node, name: Late night guest off,
17 Nov 09:05:15 - [debug] [api-call-service:Turn off 'late night guest expected'] instantiated node, name: Turn off 'late night guest expected',
17 Nov 09:05:15 - [debug] [api-call-service:Lights on] instantiated node, name: Lights on,
17 Nov 09:05:15 - [debug] [server-state-changed:Anybody home] instantiated node, name: Anybody home,
17 Nov 09:05:15 - [debug] [api-current-state:Or mostly cloudy] instantiated node, name: Or mostly cloudy,
17 Nov 09:05:15 - [debug] [api-call-service:Downstairs on] instantiated node, name: Downstairs on,
17 Nov 09:05:15 - [debug] [api-call-service:Everything off] instantiated node, name: Everything off,
17 Nov 09:05:15 - [debug] [api-call-service:Set 'Mike In Bed' flag] instantiated node, name: Set 'Mike In Bed' flag,
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html),
17 Nov 09:05:15 - [debug] [server-state-changed:Mike in bed] instantiated node, name: Mike in bed,
17 Nov 09:05:15 - [debug] [api-current-state:Mike is home] instantiated node, name: Mike is home,
17 Nov 09:05:15 - [debug] [api-current-state:Mike is home] instantiated node, name: Mike is home,
17 Nov 09:05:15 - [debug] [api-current-state:Or mostly cloudy] instantiated node, name: Or mostly cloudy,
17 Nov 09:05:15 - [debug] [api-call-service:Cloudy wakeup] instantiated node, name: Cloudy wakeup,
17 Nov 09:05:15 - [debug] [api-call-service:Awake before dawn] instantiated node, name: Awake before dawn,
17 Nov 09:05:15 - [debug] [api-call-service:Lights off] instantiated node, name: Lights off,
17 Nov 09:05:15 - [debug] [api-call-service:Family room front on] instantiated node, name: Family room front on,
17 Nov 09:05:15 - [debug] [api-call-service:Bedroom on] instantiated node, name: Bedroom on,
17 Nov 09:05:15 - [debug] [api-call-service:Main outlets on] instantiated node, name: Main outlets on,
17 Nov 09:05:15 - [debug] [api-call-service:Set outlet state] instantiated node, name: Set outlet state,
17 Nov 09:05:15 - [debug] [api-call-service:Main outlets on] instantiated node, name: Main outlets on,
17 Nov 09:05:15 - [debug] [api-current-state:Nest Away off] instantiated node, name: Nest Away off,
17 Nov 09:05:15 - [debug] [api-call-service:Notify mike away was changed] instantiated node, name: Notify mike away was changed,
17 Nov 09:05:15 - [debug] [server-state-changed:Nest Away changed] instantiated node, name: Nest Away changed,
17 Nov 09:05:15 - [debug] [api-call-service:Nest Away off] instantiated node, name: Nest Away off,
17 Nov 09:05:15 - [debug] [api-call-service:Nest Away on] instantiated node, name: Nest Away on,
17 Nov 09:05:15 - [debug] [api-current-state:Nest Away on] instantiated node, name: Nest Away on,
17 Nov 09:05:15 - [debug] [api-current-state:Or mike in bed] instantiated node, name: Or mike in bed,
17 Nov 09:05:15 - [debug] [api-current-state:No late night guest] instantiated node, name: No late night guest,
17 Nov 09:05:15 - [debug] [api-call-service:Turn off porch light] instantiated node, name: Turn off porch light,
17 Nov 09:05:15 - [debug] [api-call-service:Turn off deck lights] instantiated node, name: Turn off deck lights,
17 Nov 09:05:15 - [debug] [api-current-state:Nest Away on] instantiated node, name: Nest Away on,
17 Nov 09:05:15 - [debug] [api-current-state:Nest Away off] instantiated node, name: Nest Away off,
17 Nov 09:05:15 - [debug] [poll-state:Home emergency] instantiated node, name: Home emergency,
17 Nov 09:05:15 - [debug] [api-current-state:<2 attempts] instantiated node, name: <2 attempts,
17 Nov 09:05:15 - [debug] [api-call-service:Increment counter] instantiated node, name: Increment counter,
17 Nov 09:05:15 - [debug] [api-call-service:Reset counter] instantiated node, name: Reset counter,
17 Nov 09:05:15 - [debug] [api-call-service:Turn off 'silence alert'] instantiated node, name: Turn off 'silence alert',
17 Nov 09:05:15 - [debug] [api-call-service:DONE - Notify mike] instantiated node, name: DONE - Notify mike,
17 Nov 09:05:15 - [debug] [api-call-service:ACTIVE - notify mike] instantiated node, name: ACTIVE - notify mike,
17 Nov 09:05:15 - [debug] [api-call-service:ACTIVE - Notify Kylee] instantiated node, name: ACTIVE - Notify Kylee,
17 Nov 09:05:15 - [debug] [api-call-service:DONE - Notify Kylee] instantiated node, name: DONE - Notify Kylee,
17 Nov 09:05:15 - [debug] [api-call-service:Turn on 'silence alert'] instantiated node, name: Turn on 'silence alert',
17 Nov 09:05:15 - [debug] [api-call-service:SILENCE - Notify Kylee] instantiated node, name: SILENCE - Notify Kylee,
17 Nov 09:05:15 - [debug] [server-state-changed:2 failed checkin attempts] instantiated node, name: 2 failed checkin attempts,
17 Nov 09:05:15 - [debug] [api-call-service:Text emergency contacts] instantiated node, name: Text emergency contacts,
17 Nov 09:05:15 - [debug] [ha-get-entities:Get lights' state] instantiated node, name: Get lights' state,
17 Nov 09:05:15 - [debug] [server-state-changed:Emergency at home] instantiated node, name: Emergency at home,
17 Nov 09:05:15 - [debug] [ha-wait-until:Wait until safe] instantiated node, name: Wait until safe,
17 Nov 09:05:15 - [debug] [api-call-service:Reset brightness] instantiated node, name: Reset brightness,
17 Nov 09:05:15 - [debug] [api-call-service:Turn back off] instantiated node, name: Turn back off,
17 Nov 09:05:15 - [debug] [api-call-service:All lights full on] instantiated node, name: All lights full on,
17 Nov 09:05:15 - [debug] [api-current-state:Nest Away on] instantiated node, name: Nest Away on,
17 Nov 09:05:15 - [debug] [api-current-state:Or mostly cloudy] instantiated node, name: Or mostly cloudy,
17 Nov 09:05:15 - [debug] [ha-get-entities:Get lights' state] instantiated node, name: Get lights' state,
17 Nov 09:05:15 - [debug] [api-call-service:Downstairs lights full on] instantiated node, name: Downstairs lights full on,
17 Nov 09:05:15 - [debug] [api-current-state:Or mike in bed] instantiated node, name: Or mike in bed,
17 Nov 09:05:15 - [debug] [trigger-state:Unexpected person inside] instantiated node, name: Unexpected person inside,
17 Nov 09:05:15 - [debug] [api-current-state:Active emergency] instantiated node, name: Active emergency,
17 Nov 09:05:15 - [debug] [api-current-state:Not silenced] instantiated node, name: Not silenced,
17 Nov 09:05:15 - [debug] [api-call-service:Turn on flag] instantiated node, name: Turn on flag,
17 Nov 09:05:15 - [debug] [api-call-service:Turn off 'late night guest expected'] instantiated node, name: Turn off 'late night guest expected',
17 Nov 09:05:15 - [debug] [poll-state:Late night guest expected] instantiated node, name: Late night guest expected,
17 Nov 09:05:15 - [debug] [api-call-service:Notification control] instantiated node, name: Notification control,
17 Nov 09:05:15 - [debug] [api-call-service:Dismiss notification] instantiated node, name: Dismiss notification,
17 Nov 09:05:15 - [debug] [poll-state:Update available] instantiated node, name: Update available,
17 Nov 09:05:15 - [debug] [api-call-service:Notify me] instantiated node, name: Notify me,
17 Nov 09:05:15 - [debug] [api-call-service:Start config check] instantiated node, name: Start config check,
17 Nov 09:05:15 - [debug] [api-call-service:Dismiss notification] instantiated node, name: Dismiss notification,
17 Nov 09:05:15 - [debug] [api-current-state:Precipitation predicted] instantiated node, name: Precipitation predicted,
17 Nov 09:05:15 - [debug] [api-render-template:Get notification data] instantiated node, name: Get notification data,
17 Nov 09:05:15 - [debug] [api-call-service:Notify all] instantiated node, name: Notify all,
17 Nov 09:05:15 - [debug] [api-current-state:Get seen alerts] instantiated node, name: Get seen alerts,
17 Nov 09:05:15 - [debug] [api-call-service:Store alert data] instantiated node, name: Store alert data,
17 Nov 09:05:15 - [debug] [api-call-service:Notify mike] instantiated node, name: Notify mike,
17 Nov 09:05:16 - [debug] [api-current-state:If alert is on] instantiated node, name: If alert is on,
17 Nov 09:05:16 - [debug] [api-call-service:Turn off alert] instantiated node, name: Turn off alert,
17 Nov 09:05:16 - [debug] [ha-get-entities:All reminder sensors] instantiated node, name: All reminder sensors,
17 Nov 09:05:16 - [debug] [api-call-service:Notify mike] instantiated node, name: Notify mike,
17 Nov 09:05:16 - [debug] [ha-get-entities:All appointments] instantiated node, name: All appointments,
17 Nov 09:05:16 - [debug] [api-call-service:Update date] instantiated node, name: Update date,
17 Nov 09:05:16 - [debug] [api-call-service:Add appointment event] instantiated node, name: Add appointment event,
17 Nov 09:05:16 - [debug] [trigger-state:Recurring field changed] instantiated node, name: Recurring field changed,
17 Nov 09:05:16 - [debug] [ha-get-entities:All morning tasks] instantiated node, name: All morning tasks,
17 Nov 09:05:16 - [debug] [api-call-service:Complete task] instantiated node, name: Complete task,
17 Nov 09:05:16 - [debug] [api-current-state:Get state] instantiated node, name: Get state,
17 Nov 09:05:16 - [debug] [api-current-state:Is workday] instantiated node, name: Is workday,
17 Nov 09:05:16 - [debug] [api-current-state:Is workday] instantiated node, name: Is workday,
17 Nov 09:05:16 - [debug] [api-current-state:Is workday] instantiated node, name: Is workday,
17 Nov 09:05:16 - [debug] [ha-get-entities:All evening tasks] instantiated node, name: All evening tasks,
17 Nov 09:05:16 - [debug] [api-current-state:Is workday] instantiated node, name: Is workday,
17 Nov 09:05:16 - [debug] [api-call-service:Update tracker] instantiated node, name: Update tracker,
17 Nov 09:05:16 - [debug] [api-call-service:Send to phone] instantiated node, name: Send to phone,
17 Nov 09:05:16 - [debug] [server-state-changed:iPhone changed] instantiated node, name: iPhone changed,
17 Nov 09:05:16 - [debug] [api-call-service:Backup data] instantiated node, name: Backup data,
17 Nov 09:05:16 - [debug] [server-state-changed:Car changed] instantiated node, name: Car changed,
17 Nov 09:05:16 - [debug] [api-call-service:Backup data] instantiated node, name: Backup data,
17 Nov 09:05:16 - [debug] [server-state-changed:Mike to not_home] instantiated node, name: Mike to not_home,
17 Nov 09:05:16 - [debug] [api-call-service:Send to phone] instantiated node, name: Send to phone,
17 Nov 09:05:16 - [debug] [api-current-state:Is workday] instantiated node, name: Is workday,
17 Nov 09:05:16 - [debug] [server-state-changed:Kylee to not_home] instantiated node, name: Kylee to not_home,
17 Nov 09:05:16 - [debug] [api-call-service:Notify mike] instantiated node, name: Notify mike,
17 Nov 09:05:16 - [debug] [api-current-state:Is workday] instantiated node, name: Is workday,
17 Nov 09:05:16 - [debug] [api-current-state:Get Kylee] instantiated node, name: Get Kylee,
17 Nov 09:05:16 - [debug] [api-current-state:Get Mike] instantiated node, name: Get Mike,
17 Nov 09:05:16 - [debug] [api-call-service:Update streetview] instantiated node, name: Update streetview,
17 Nov 09:05:16 - [debug] [api-call-service:Run speedtest] instantiated node, name: Run speedtest,
17 Nov 09:05:16 - [debug] [server-state-changed:New spoilers] instantiated node, name: New spoilers,
17 Nov 09:05:16 - [debug] [api-call-service:Send to Slack] instantiated node, name: Send to Slack,
17 Nov 09:05:16 - [debug] [server-state-changed:Zigbee permit join on] instantiated node, name: Zigbee permit join on,
17 Nov 09:05:16 - [debug] [api-call-service:Turn off 'zigbee permit join'] instantiated node, name: Turn off 'zigbee permit join',
17 Nov 09:05:16 - [debug] [server-events:Folder watcher event] instantiated node, name: Folder watcher event,
17 Nov 09:05:16 - [debug] [ha-api:Check config] instantiated node, name: Check config,
17 Nov 09:05:16 - [debug] [api-call-service:Send to pushbullet] instantiated node, name: Send to pushbullet,
17 Nov 09:05:16 - [debug] [api-call-service:Notify mike w/ restart option] instantiated node, name: Notify mike w/ restart option,
17 Nov 09:05:16 - [debug] [api-call-service:Restart HA] instantiated node, name: Restart HA,
17 Nov 09:05:16 - [debug] [server-events:Clicked notification] instantiated node, name: Clicked notification,
17 Nov 09:05:16 - [debug] [server-events:iOS action clicked] instantiated node, name: iOS action clicked,
17 Nov 09:05:16 - [debug] [server-events:IFTTT webhook] instantiated node, name: IFTTT webhook,
17 Nov 09:05:16 - [debug] [server-events:Twilio SMS received] instantiated node, name: Twilio SMS received,
17 Nov 09:05:16 - [debug] [server-events:Received notification] instantiated node, name: Received notification,
17 Nov 09:05:16 - [info] Started flows,
17 Nov 09:05:16 - [error] [file in:Read trip ID file] Error: ENOENT: no such file or directory, open 'eta_trip_id.txt',
17 Nov 09:05:16 - [info] [mqtt-broker:HA MQTT] Connected to broker: node_red@mqtt://localhost:1883,
17 Nov 09:05:20 - [debug] [server:Home Assistant] WebSocket Connecting http://hassio/homeassistant,
17 Nov 09:05:20 - [debug] [server:Home Assistant] config server event listener connecting,
17 Nov 09:05:20 - [info] [server:Home Assistant] WebSocket Connected to http://hassio/homeassistant,
17 Nov 09:05:20 - [debug] [server:Home Assistant] config server event listener connected,
17 Nov 09:05:45 - [error] [poll-state:Home emergency] could not find state with entity_id "sensor.home_emergency",
17 Nov 09:06:15 - [error] [poll-state:Home emergency] could not find state with entity_id "sensor.home_emergency",
17 Nov 09:06:45 - [error] [poll-state:Home emergency] could not find state with entity_id "sensor.home_emergency",

EDIT: Also I removed the two passwords it dumped out in there but otherwise its unchanged.

Also here is my home assistant config. I’ve never modified it and it always worked fine until a week ago. Now - nothing:

In the config I can see that you are using a local DNS at 192.168.1.1
Is this still working? Anyhting weird on the DNS side there?
In my case, I can see my DNS in-house server. If this one doesn’t work, then things won’t go well!
Otherwise, I have also started mine in debug mode to compare and nothing is popping out.
GV

That’s my router so yea that should be right for local DNS. I assume http://hassio/homeassistant is correct right? I’m used to seeing connections to http://hassio.local but not just http://hassio. I don’t set that though, that’s automatically set by using the hassio config so I assume it’s correct.

Should I be able to ping that address from other things on the network though? I’m trying from my computer and I don’t get a response…

Pretty sure it’s just http://hassio:8123

For whatever reason, mine also say http://hassio/homeassitant and it works… It is a bit strange that the port is missing but the log says that.
GV

Yea I thought it was odd too but you can see above I’m not even able to set that. Well I mean I can set it but I would need to uncheck the “I use hassio” checkbox which would be incorrect since I do use hassio.

I wish it logged more info about the API calls it’s actually making. At either end for that matter(HA or Node Red). It seems hard to believe that there’s no error at all with these API calls that aren’t getting anything…

Yes it is weird…
Can you save all your nodered config, remove nodered, reinstall it and put back the config.
Apart from that, no more idea on my side.
Sorry.
GV

I did that actually and unfortunately still no luck. I uninstalled the Node-RED addon, deleted the node-red folder in my configuration, reinstalled it and then re-imported. Still the same.

I’m not really sure what to do here at this point but willing to try pretty much anything since I’m getting kinda desperate. I have a ton of automation in node-red that I rely on daily :frowning:

Seems it’s connected, but then can’t find the Entity ID.

Have you tried UNCHECKING the “I USE HASSIO” option and manually putting in the URL and the token?

Do you have a screenshot of your Portainer you can share to see all the containers?

The eta_trip_id.txt file error is ok. I have a flow which kicks off when I’ve begun travelling home and starts sending trip updates to Nest. Nest requires a trip ID when you do so and then later that you use that same trip ID to tell it your trip is done. So at the start I write that trip ID out to a file and then delete that file when the trip is done. What is happening there is at start-up it checks for that file to determine if I was in the middle of a trip after a restart or something to determine if it should pick back up where it left off. There’s error handling for it but no way to fully get rid of the error log I could see.

I have not tried to uncheck the box yet. What should I be putting in that case? Is it just the URL of my home assistant instance like http://hassio:8123? Or do I have to put the path to the API (which is like http://hassio:8123/api I think?) Also I assume then that I go get a long-lived access token for one of my users and put that in?

I would use http://ipaddressofhassio:8123. You should not append /api after it.

yeah

1 Like

That worked! I can see the state now and my flows are working. Phew! Thanks for your help!

1 Like