As mentioned in my post i am using a raspberry Pi Zero W running Raspbian Jessie 4.9.28+ Full version release date 2017-06-21.
Python 2.7.9
nrgpio ver --> 0.6.3
npm -v --> 3.10.10
node -v --> v6.11.0
node-red-start output
Welcome to Node-RED
===================
3 Jul 11:17:20 - [info] Node-RED version: v0.17.2
3 Jul 11:17:20 - [info] Node.js version: v6.11.0
3 Jul 11:17:20 - [info] Linux 4.9.28+ arm LE
3 Jul 11:17:24 - [info] Loading palette nodes
3 Jul 11:17:41 - [info] Settings file : /home/pi/.node-red/settings.js
3 Jul 11:17:41 - [info] User directory : /home/pi/.node-red
3 Jul 11:17:41 - [info] Flows file : /home/pi/.node-red/flows_tuinpi.json
3 Jul 11:17:41 - [info] Creating new flow file
3 Jul 11:17:41 - [info] Starting flows
3 Jul 11:17:41 - [info] Started flows
The flow i'm using is quit simple and is listed below.
[{"id":"6837e76f.2d5408","type":"inject","z":"9588ce11.3fa8a","name":"1","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"x":130,"y":229.99999999999997,"wires":[["fe7c0fde.e33d2"]]},{"id":"7ad38d6e.985314","type":"inject","z":"9588ce11.3fa8a","name":"0","topic":"","payload":"0","payloadType":"num","repeat":"","crontab":"","once":false,"x":130,"y":280,"wires":[["fe7c0fde.e33d2"]]},{"id":"fe7c0fde.e33d2","type":"rpi-gpio out","z":"9588ce11.3fa8a","name":"","pin":"4","set":"","level":"0","freq":"","out":"out","x":424.2857142857142,"y":260,"wires":[]}]
Because i'm using user "pi" i've skip the command "NodeREDusername ALL=(ALL) NOPASSWD: /usr/bin/python"
Unfortunately Google is not my good friend when I try 'nodered nrpgio python command not running’
quote
| "errors": { |
| "ignorenode": "Ignoring Raspberry Pi specific node", |
| "version": "Version command failed", |
| "sawpitype": "Saw Pi Type", |
| "libnotfound": "Cannot find Pi RPi.GPIO python library", |
| "alreadyset": "GPIO pin __pin__ already set as type: __type__", |
| "invalidpin": "Invalid GPIO pin", |
| "invalidinput": "Invalid input", |
| "needtobeexecutable": "__command__ needs to be executable", |
| "mustbeexecutable": "nrgpio must to be executable", |
| "commandnotfound": "nrgpio command not found", |
| "commandnotexecutable": "nrgpio command not executable", |
| "error": "error: __error__", |
| "pythoncommandnotfound": "nrpgio python command not running" |
| } |
Please let me know if you need more information.
Kind regards, Arie
Op maandag 3 juli 2017 16:29:07 UTC+2 schreef Paul Woodard: