1

I want to control my Raspberry Pi GPIO pins over internet, but as I searched for answers I found Webiopi. I don't like Webiopi, so I am searching for any other way to control the pins with Python. Thank you!

  • What about Rpi.GPIO? There are tons of tutorials. Here a tutorial from sparkfun – MadMike Aug 26 '17 at 0:24
  • How to control GPIO over internet with Rpi.GPIO, any tutorial? @MadMike – M.Simel Aug 26 '17 at 12:28
  • @M.Simel You could write your own script that suits your requirements. I recommend Node.JS or PHP. You can interact with the system (including GPIO) using those languages. – Gene Aug 27 '17 at 4:59
  • You could make a little webserver with cherrypy and control rpi.gpio from there. Here the first english tutorial I've found from Google: Controlling LED from CherryPy Web App – MadMike Aug 27 '17 at 18:38
2

The recent GPIO Zero release (1.4) includes several new chapters on remote GPIO:

I should add that this is achieved via Joan's excellent pigpio package, mentioned in the other answer (GPIO Zero is just configured to use pigpio as its pin driver instead of the current default of RPi.GPIO).

3

pigpio has a Python module which can control the GPIO of a networked Pi from a Windows, Mac, or Linux PC.

  • What is the name of module and how can I use it? – M.Simel Aug 26 '17 at 17:32
  • 1
    @M.Simel All the information you need is in the linked page(s). – joan Aug 26 '17 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.