node red not opening

Welcome to Node-RED

27 Feb 13:20:41 - [info] Node-RED version: v1.2.9
27 Feb 13:20:41 - [info] Node.js version: v10.23.1
27 Feb 13:20:41 - [info] Linux 5.10.11+ arm LE
27 Feb 13:21:01 - [info] Loading palette nodes
27 Feb 13:21:57 - [info] Dashboard version 2.28.1 started at /ui
27 Feb 13:22:07 - [info] +-----------------------------------------------------
27 Feb 13:22:07 - [info] | uibuilder initialised:
27 Feb 13:22:07 - [info] | root folder: /home/pi/.node-red/uibuilder
27 Feb 13:22:07 - [info] | version . .: 3.2.0
27 Feb 13:22:07 - [info] | packages . : jquery,socket.io,bootstrap,bootstrap-vue,vue
27 Feb 13:22:07 - [info] +-----------------------------------------------------
27 Feb 13:22:12 - [info] Settings file : /home/pi/.node-red/settings.js
27 Feb 13:22:12 - [info] Context store : 'default' [module=memory]
27 Feb 13:22:12 - [info] User directory : /home/pi/.node-red
27 Feb 13:22:12 - [warn] Projects disabled : editorTheme.projects.enabled=false
27 Feb 13:22:12 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
27 Feb 13:22:12 - [warn]


Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

27 Feb 13:22:13 - [info] Starting flows
27 Feb 13:22:14 - [info] [tsl2561:12e322ca.e91dcd] {"id":"12e322ca.e91dcd","type":"tsl2561","z":"1b72320.3b1f8ce","address":"41","integ":"2","gain":"1","debugMode":true,"x":330,"y":480,"wires":[["65bf1922.b3a388"],]}
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] tsl2561 configuration
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] ==========================================
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] name -> TSL2561 @ 0x41
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] address -> 41
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] integ -> {"value":2,"timeMs":402,"scale":1,"ch0fullScaleCountMax":63000,"ch0fullScaleCountMin":2600}
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] debugMode -> true
27 Feb 13:22:14 - [info] [tsl2561:TSL2561 @ 0x41] ------------------------------------------
27 Feb 13:22:14 - [info] Started flows
27 Feb 13:22:14 - [red] Uncaught Exception:
27 Feb 13:22:14 - Error: EINVAL, incorrect arguments passed to setAddr(int fd, int addr, bool forceAccess, function cb)
at /home/pi/.node-red/node_modules/i2c-bus/i2c-bus.js:78:11
at FSReqWrap.args [as oncomplete] (fs.js:140:20)

You really need to add some more context here.

  • What did you do before it crashed?
  • Did you install a new node?

It looks like you have a misconfigured a node that is using i2c to talk to a device (TSL2561 light sensor?) This node probably needs to be updated to catch errors if the wrong value is passed in.

You can try adding --safe to the command line which will cause node-red to start without out actually launching the flow so you can then try changing the address.

Which i2c node are you using? Probably node-red-contrib-something.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.