The node itself is broken and although I supplied a PR to fix it, the author has never incorporated into their node
Might be worth removing the original node and see if you can install direct from my fork
So uninstall the node using the Manage Palette option
Then get into a terminal on your pi, move into your .node-red folder and run this
was quite a while for my testing.
I now trigger my ws2801 via python and adafruit_ws2801. Code is working fine.
Now I want to trigger the python code out of node red, so that I can use homebridge and apple homekit. Starting some simple code via the exec node is working fine. But my code is using the "when_pressed" attribute of gpiozero library (should be something like interrupts). The python code starts and runs to end, but is not waiting for the "when_pressed" command. It ends before some gpio is triggered.
Does anyone know about the problem or some help?
Is the only way to keep the code running using some while loops? Using interrupts should safe some performance.
The python code is working, as long as I start it direct out of the terminal. When I start it with the exec node, it runs to the end and stops. So my question is, if there is something special with exec node when I want to keep the code running.