I probably deserve this, but it has me confused.
I killed a machine the other night, and had to rebuild it.
It isn't complicated for hardware, but I am getting a strange error.
Setup - hardware:
RasPi 3b Buster.
NeoPixel strip of LEDs.
Level converter for LEDs.
Flow - breakdown:
Sets LEDs per what is happening.
To the best of my knowledge I installed all the same nodes.
I have the node-red-node-pi-neopixel
and node-red-node-pi-gpio
installed - latest versions.
Though it kind of gets me it is pi-gpio
and there is an error about rpi_ws2801x
is referenced below.
This is what I see when I start Node-Red:
Note last couple of lines.
pi@MusicPi:~/.node-red$ node-red-start
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.0.82:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
11 Mar 09:01:53 - [info]
Welcome to Node-RED
===================
11 Mar 09:01:53 - [info] Node-RED version: v1.0.3
11 Mar 09:01:53 - [info] Node.js version: v10.15.2
11 Mar 09:01:53 - [info] Linux 4.19.97-v7+ arm LE
11 Mar 09:01:57 - [info] Loading palette nodes
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named rpi_ws281x
11 Mar 09:02:01 - [warn] rpi-neopixels : rpi-gpio.errors.ignorenode
Sorry folks. This should be simple.
It did work. I just seem to be missing a node, but I can't resolve the name from that error.