Hiho,
I tried using node-red-node-pi-gpio to read pin status and it should send a 1 / 0 msg. But it doesn´t send any msg when changing pin status. rpi.gpio is installed and reading pin with the bash does give me a good result:
pi@raspberrypi:~ $ gpio -g read 17
0
pi@raspberrypi:~ $ gpio -g read 17
1
flow:
[{"id":"e1dea395.599e18","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"924550cf.a78b68","type":"debug","z":"e1dea395.599e18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":550,"y":400,"wires":[]},{"id":"51cc70b4.a2b138","type":"inject","z":"e1dea395.599e18","name":"","topic":"","payload":"test","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":390,"y":360,"wires":[["924550cf.a78b68"]]},{"id":"a9821f03.1c561","type":"rpi-gpio in","z":"e1dea395.599e18","name":"","pin":"11","intype":"tri","debounce":"25","read":false,"x":390,"y":420,"wires":[["924550cf.a78b68"]]}]
Did I miss something ?
Thx!