Questions tagged [webiopi]

WebIOPi is a web server written for interfacing with the Raspberry Pi's GPIOs and various buses (I2C, SPI, etc.).

The WebIOPi homepage, including links to documentation: http://webiopi.trouch.com/

31 questions
7
votes
4 answers

Global name GPIO is not defined errors on WebIOPi

I have Raspberry Pi 2 Model B v1.1 (NOOBS v1.4.2 Raspbian loaded), and I installed WebIOPi 0.7.1 to use it in order to blink a LED on attached to GPIO24 and GND by WebIOPi page. While I tried to use WebIOPi 192.168.n.n/8000 on my browser, I couldn't…
Bay
  • 267
  • 2
  • 3
  • 11
4
votes
3 answers

PHP to execute Python scripts for GPIO

I found this code somewhere, that can execute Python scripts from PHP. I've installed apache2 on the Pi and I'm able to access the PHP script. But when I press the HTML buttons, nothing happens! :( When I execute the python script via SSH, it…
Krish
  • 237
  • 1
  • 3
  • 8
4
votes
3 answers

Controlling PI's GPIO over Wifi (WebIOPi alternatives)

I'm looking for alternatives to WebIOPi. I need to be able to control PI's GPIO through a UI displayed in the browser (with a Customizable UI ofcourse) Any suggestions? TIA.
Krish
  • 237
  • 1
  • 3
  • 8
4
votes
2 answers

How do I wait for interrupts in different languages?

I have a IR photo gate sensor that I have attached to my Raspberry Pi, and it is working nicely as I test with WebIOPi and a C program using the wiringPi library. I would like to use some other languages to access this device while making use of the…
Ben
  • 143
  • 1
  • 5
4
votes
1 answer

GPIOs are put at 0.6 V during boot

I have made a little project using WebIOPi, and it works like a charm. However, I have noticed that during the boot of the Raspberry Pi, all I/O pins are put at 0.6 V. This is enough to trigger my transistors and causes quite a lot of problems. I am…
3
votes
2 answers

GPIO=webiopi.GPIO, attribute error : module object has no attribute 'GPIO'

With this Python script I am getting errors: import webiopi import math GPIO = webiopi.GPIO # Left motor GPIOs L1=4 L2=17 # Right motor GPIOs R1=19 R2=21 def left_stop(): GPIO.output(L1, GPIO.LOW) GPIO.output(L2, GPIO.LOW) def…
2
votes
2 answers

Control GPIO from outside home network

I'm not exactly the most knowledgeable on the server-side aspects of how this kind of thing should/would work, but I do tend to pick things up pretty quickly. I've played around with WebIOPi and a few different scripts running from the pi itself…
Laurengineer
  • 161
  • 10
1
vote
1 answer

WebIOPi patch for Raspberry Pi Zero W

I am looking for a patch of WebIOPi for the Pi Zero W. I will appreciate you very much, if you could suggest where I can find it on the internet. WebIOPi's version is 0.7.1. I could find some patches for the Pi 3 and 2 but I can't find any for the…
Tam
  • 11
  • 2
1
vote
2 answers

Plain Text Serial over USB or GPIO(UART)

Forgive my lack of understanding in this area and if my title is incorrect. I am trying to control a Sabertooth motor driver board which I can connect my Raspberry Pi to in two ways. 1. USB to Micro USB on Motor Driver 2. GPIO - Logic Level Shifter…
Bill Harvey
  • 59
  • 1
  • 8
1
vote
2 answers

Making WebIOPi work on Raspberry Pi 3

I am working a lot with serial devices through the Internet using WebIOPi, I recently acquired a Raspberry Pi 3 because of the WiFi. However, when I install the last version of Raspbian and WebIOPi, it doesn't work. My html project appears in the…
Luz A
  • 57
  • 3
  • 15
1
vote
2 answers

How to control raspberry pi gpio pins over the internet?

I have a RPi3 running on Ubuntu Mate 16.04, im planning to create a web app that has the capacity to control my raspberry pi. I have done some research and seen WebioPi but with my full effort in installing it, it always result to an error. Can PHP…
Ralph
  • 177
  • 1
  • 3
  • 5
1
vote
1 answer

AttributeError: 'module' object has no attribute 'GPIO' WebIOPi using RPI 3

I had this web application running from a Raspberry Pi 2 with no problem using WebIOPi, I recently acquired a Raspberry Pi 3, and I wanted to use the same application on it, using a 7'' screen. I installed WebIOPi with no problem, and copied the…
Luz A
  • 57
  • 3
  • 15
1
vote
3 answers

Sensitivity of GPIO pin

I have a Python script which should read if a switch is pressed (a normal light switch). This switch I've connected to GPIO pin 40 and GND I read the state of GPIO: GPIO_startprog1=20 GPIO.setFunction(GPIO_startprog1, GPIO.IN) if…
Richard de Ree
  • 282
  • 3
  • 10
1
vote
1 answer

cUrl WebIOPi error 403: Request Forbidden

As a Mension, I'm doing some testing in RPi. The final objetive it's to control a motor and some sensor from Internet/Smartphone. I was searching for information and I decided to use WebIOPi because seems pretty cool. So,I wanna to make a client…
1
vote
0 answers

WebIoPi buttons don't show up over Internet even with port-forwarding

I am trying to setup my RPi to access over the Internet and tried to setup a simple rule to port forward to RPi. I see the buttons and a camera feed if I access the WebIoPi over the local Intranet. However, if I try to access via the Internet using…
guraaf
  • 41
  • 1
  • 2
1
2 3