Hi everyone I have an instance of NodeRed recording 5 DS18B20 temperature probes sometimes the NodeRed instance restarts randomly, below is the output from the syslog can anybody help?
Jun 28 01:53:09 object1 Node-RED[353]: 28 Jun 01:53:09 - [red] Uncaught Exception:
Jun 28 01:53:09 object1 Node-RED[353]: 28 Jun 01:53:09 - TypeError: Cannot read property 'charAt' of undefined
Jun 28 01:53:09 object1 Node-RED[353]: at /home/pi/.node-red/node_modules/ds18b20/lib/ds18b20.js:46:16
Jun 28 01:53:09 object1 Node-RED[353]: at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
Jun 28 01:53:09 object1 systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE
Jun 28 01:53:09 object1 systemd[1]: nodered.service: Failed with result 'exit-code'.
Jun 28 01:53:29 object1 systemd[1]: nodered.service: Service RestartSec=20s expired, scheduling restart.
Jun 28 01:53:29 object1 systemd[1]: nodered.service: Scheduled restart job, restart counter is at 1.
Jun 28 01:53:29 object1 systemd[1]: Stopped Node-RED graphical event wiring tool.
Jun 28 01:53:29 object1 systemd[1]: Started Node-RED graphical event wiring tool.
Jun 28 01:53:31 object1 Node-RED[5064]: 28 Jun 01:53:31 - [info]
Jun 28 01:53:31 object1 Node-RED[5064]: Welcome to Node-RED
Jun 28 01:53:31 object1 Node-RED[5064]: ===================