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!

4
  • What about Rpi.GPIO? There are tons of tutorials. Here a tutorial from sparkfun
    – MadMike
    Aug 26, 2017 at 0:24
  • How to control GPIO over internet with Rpi.GPIO, any tutorial? @MadMike
    – M.Simel
    Aug 26, 2017 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.
    – Aloha
    Aug 27, 2017 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, 2017 at 18:38

2 Answers 2

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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