January-4th-2019, 06:01 PM
(This post was last modified: January-7th-2019, 02:28 PM by Armin@netPI.)
Well Christian, you should follow the following post:
https://forum.hilscher.com/thread-159.html
This explains why the standard Raspberry GPIO Node-RED node can't be used. The LEDs are no general purpose IO devices but LED devices.
Since the GPIO node is based on the rpi-gpio node.js module https://github.com/JamesBarwell/rpi-gpio...pi-gpio.js you see in there the PATH information set to /sys/class/gpio which cannot be used for the LEDs.
My recommendation is to write your own Node-RED node ... which is probably no more than 10 lines of code.
https://forum.hilscher.com/thread-159.html
This explains why the standard Raspberry GPIO Node-RED node can't be used. The LEDs are no general purpose IO devices but LED devices.
Since the GPIO node is based on the rpi-gpio node.js module https://github.com/JamesBarwell/rpi-gpio...pi-gpio.js you see in there the PATH information set to /sys/class/gpio which cannot be used for the LEDs.
My recommendation is to write your own Node-RED node ... which is probably no more than 10 lines of code.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)