Questions tagged [pi-gpio]

For general questions about the GPIO pins, do not use this tag; use [gpio]. This tag is for the npm (node.js package manager) module for controlling the GPIO pins on the Pi using JavaScript. It is unrelated to the pigpio C/Python library.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
466 views

pi-gpio does not turn on/off the pin

I installed the HAP-NodeJS and I am using the Light_accessory.js to control a light. I Also installed pi-gpio and when the server is running I see that the state changes from 0-1 and vise versa. The ...
2
votes
1answer
2k views

GPIO doesn't work, error: “Error when trying to open pin 11”

I connected a LED to pin 11 as per this guide. And this works in the terminal to turn it on and off: gpio mode 0 out gpio write 0 1 gpio write 0 0 But when I try to use pi-gpio, with this code as ...
1
vote
3answers
523 views

Control GPIO from outside home network without port forward

At first I do not want to do port forwarding to access my PI, what I want is that the PI would access a website where it would send the GPIO status and also will read the "new" values that must be set,...
1
vote
0answers
1k views

Cannot get pigpio PWM to work with an AC dimmer module

I am using an AC dimmer module to dim a 240V light. I would like to use node.js so I am using the pigpio module. The script is not working as expected as the light bulb goes straight to 100% when I ...