9 Jun 19:56:11 - [info] Loading palette nodes
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named rpi_ws281x
While constructing LEDNode widget: TypeError: Cannot read property 'config' of null
at addWidget (/home/pi/.node-red/node_modules/node-red-dashboard/index.js:72:39)
at Object.addWidget (/home/pi/.node-red/node_modules/node-red-dashboard/index.js:136:48)
at new LEDNode (/home/pi/.node-red/node_modules/node-red-contrib-ui-led/led.js:41:28)
at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/util.js:483:31)
at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:189:48)
at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:329:33)
at tryCatchReject (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:845:30)
at runContinuation1 (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:804:4)
at Fulfilled.when (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:592:4)
at Pending.run (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:483:13)
I can't find a rpi_ws281x in my pallette.
The second one:
That is a bit weird.
But it is that a null has been sent to the LED node - thinking?
Ok, another one snuck in:
pam_unix(sudo:session): session closed for user root
pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/iwlist wlan0 scan
Someone creates a node for node-red. this node has dependencies where they import a module, in this case rpi_ws281x. Module rpi_ws281x cannot be found, this has implications: node-red will crash when trying to use that node.
I made the bad assumption that they are related, they are not - my apologies. You are using the dashboard ui_led node which is for visuals.
Do you have a node installed to control ws281x LEDs ?
The wlan command requires sudo/root for certain features of the command which could be the issue.
ws281x is from some physical LED node - maybe neopixel ?
It is actually the python library so maybe the pre-reqs for the node are not installed.
(or indeed the node needs to be removed)