I just exchanged a non working shelly 2.5 IP address in a Node-Red node. I exchanged it with the new IP address of the new Shell plus 2PM which I will use instead. After this Node-Red has died on me when trying to use it. It says the module hasn’t started and when I try to start, it doesn’t so I don’t get into my flows any longer. Quite sure they are not working….
Here is the log and surely it does talk about Shelly in there but I don’t know where to fix, if possible. I have tried to use the reset function in the module but it didn’t help. I have also # hashed all lines in config.yaml for the old non working Shelly 2.5 but I have not added the info in this file for the new one, if that might be the problem? But it seems strange I can’t change the IP adress, or?
Add-on version: 14.5.0
You are running the latest version of this add-on.
System: Home Assistant OS 10.5 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.9.2
Home Assistant Supervisor: 2023.09.2
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-customizations: starting
s6-rc: info: service init-customizations successfully started
s6-rc: info: service init-nodered: starting
s6-rc: info: service init-nginx successfully started
up to date, audited 95 packages in 9s
19 vulnerabilities (4 moderate, 9 high, 6 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
s6-rc: info: service init-nodered successfully started
s6-rc: info: service nodered: starting
s6-rc: info: service nodered successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[17:35:05] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
20 Sep 17:35:10 - [info]
Welcome to Node-RED
===================
20 Sep 17:35:10 - [info] Node-RED version: v3.1.0
20 Sep 17:35:10 - [info] Node.js version: v18.17.1
20 Sep 17:35:10 - [info] Linux 6.1.21-v8 arm64 LE
20 Sep 17:35:11 - [info] Loading palette nodes
20 Sep 17:35:20 - [info] Dashboard version 3.6.0 started at /endpoint/ui
20 Sep 17:35:22 - [info] Settings file : /etc/node-red/config.js
20 Sep 17:35:22 - [info] Context store : 'default' [module=memory]
20 Sep 17:35:22 - [info] User directory : /config/node-red/
20 Sep 17:35:22 - [warn] Projects disabled : editorTheme.projects.enabled=false
20 Sep 17:35:22 - [info] Flows file : /config/node-red/flows.json
20 Sep 17:35:22 - [info] Server now running at http://127.0.0.1:46836/
20 Sep 17:35:22 - [info] Starting flows
20 Sep 17:35:22 - [info] Started flows
20 Sep 17:35:22 - [red] Uncaught Exception:
20 Sep 17:35:22 - [error] TypeError: Cannot read properties of undefined (reading 'startsWith')
at /config/node-red/node_modules/node-red-contrib-shelly/shelly/99-shelly.js:273:37
at Request._callback (/config/node-red/node_modules/node-red-contrib-shelly/shelly/99-shelly.js:30:17)
at Request.self.callback (/config/node-red/node_modules/request/request.js:188:22)
at Request.emit (node:events:514:28)
at Request.<anonymous> (/config/node-red/node_modules/request/request.js:1171:10)
at Request.emit (node:events:514:28)
at IncomingMessage.<anonymous> (/config/node-red/node_modules/request/request.js:1091:12)
at Object.onceWrapper (node:events:628:28)
at IncomingMessage.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1359:12)
[17:35:22] INFO: Starting NGinx...
[17:35:23] INFO: Service Node-RED exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[17:35:23] INFO: Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service nodered: stopping
s6-rc: info: service init-nginx successfully stopped
s6-rc: info: service nodered successfully stopped
s6-rc: info: service init-nodered: stopping
s6-rc: info: service init-nodered successfully stopped
s6-rc: info: service init-customizations: stopping
s6-rc: info: service init-customizations successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped