I completed very easily the first flow for switching on/off a LED with a rpi-gpio out node and two inject nodes, but I got stuck adding a button with a rpi-gpio in node to control the LED. This is step 11 in the above-mentioned getting started guide.
The button shows as "stopped" and does not change its state after pressing it
I have a RPi2 Model B with the following raspbian and node-red versions:
Description: Raspbian GNU/Linux 9.1 (stretch) Release: 9.1 Codename: stretch Welcome to Node-RED =================== 25 Nov 17:24:58 - [info] Node-RED version: v0.19.4 25 Nov 17:24:58 - [info] Node.js version: v8.11.1 25 Nov 17:24:58 - [info] Linux 4.9.41-v7+ arm LE
For the rpio-gpio in node (that's the node for my press button) I have the same properties as in the tutorial, one pin connected to GPI04-7 (with pullup resistor) and the other one to GND. That should mean that GPIO pin 4 will be set to HIGH, and pressing the button will cause it to go LOW.
I've also added a debug node to check if the payload changes from 1 to 0 but I only get this first message (this "1" is due to the pullup resistor and the checkbox "Read initial state of pin on deploy/restart" being marked in the settings):
11/25/2018, 10:30:52 AMnode: f5cc3952.9c7f58 pi/7 : msg.payload : number 1
But after that, the flow diagram shows the button as "stopped" and nothing happens when I press the button.I've double-checked the wiring and it's identical to the one in the tutorial.