Neopixel not working. (I've done my homework this time)

I may have to, but this is interesting and something I found after digging.

When NR is started I see this message pass me by.

      pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python3 -u /home/pi/.node-red/node_modules/node-red-node-pi-neopixel/neopix.py 8 400 pixelsneedle 100 true 0 18
pam_unix(sudo:session): session opened for user root by (uid=0)
      pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python3 -u /home/pi/.node-red/node_modules/node-red-node-pi-neopixel/neopix.py 8 40 pcent 100 true 0 18

TTY=unknown definitely seems like a problem.

I don't know what you did to see those messages but I don't think they indicate a problem.
TTY=unknown just means the script is running in the background rather than a command line terminal session.

Ok.... Sorry.

It is just I don't understand why it (the node) used to work and despite my every effort to get it working now on Buster, it won't work.

The only thing that has changed is the O/S.

I may have to dig up an older SD card with an older O/S on it, install the node and try it on the hardware.

(Trying other ideas)

Backed up all the flow/s.

Deleted all the flows.

Made a simple flow that only sends stuff to the neopixel node.

NOTHING. :frowning: Ok. but I am establishing what is going on.

Stopping NR and going into the directory which was made when I installed the python stuff, I tried some of the examples.

They don't exactly work - picking random ones to try.
But I do see the LEDs flash now and then.

So to me although not definitive, it shows that they are not kaput.
There is something else going on that is stopping them working.

That's a very ambiguous piece of information :slight_smile:

Go to the Pi forums - get them working using command line

Come back here when that's done and they don't work in NR

Sorry, I am trying that also.

But this was just an update of what I have seen.

No point in trying to get working in NR until they work from command line.

Agreed in some ways.

But I can't say that it worked originally.
I just installed the stuff, set up NR and it worked.
I'll stop here.
But again: thanks.

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