How to install Webiopi
Edited by soroush_crazy at 2016-6-4 23:20Webiopi is an application that allow you to control GPIO (turn on and off or watch your gpio state) .
I was install it on my raspberry pi2 with bellow structure;but now it is not work on my orange pi (one)
sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install python-rpi.gpio
cd ~
wget http://nchc.dl.sourceforge.net/p ... ebIOPi-0.7.1.tar.gz#### (downloa link page is : https://sourceforge.net/projects/webiopi/files/)
tar -xvzf WebIOPi*
cd WebIOPi*
nano python/native/cpuinfo.c ####change "BCM2708" to "BCM2709";
nano python/native/gpio.c#### change "#define BCM2708_PERI_BASE 0x20000000" to "#define BCM2708_PERI_BASE 0x3f000000"
./setup
sudo webiopi -d -c /etc/webiopi/config
or
webiopi
but it in web page gpio not work.maybe beacuse of defrence between rpi and orange pi
what should "BCM..." chnage to ?
how about "#define BCM2708_PERI_BASE 0x20000000" ?
any body can help me?! Edited by nopnop2002 at 2016-6-7 07:54
Webiopi doesn't work in H3 baord.
Because webiopi needs bcm2835 library.
nopnop2002 replied at 2016-6-6 22:03
Webiopi doesn't work in H3 baord.
Because webiopi needs bcm2835 library.
Thanks a lot...
Another question is what do you recommand to use insted of webiopi. some app with web interface?
use python to interface and find gui working over python to integrate it
Edited by nopnop2002 at 2016-6-12 12:27
soroush_crazy replied at 2016-6-10 14:46
Thanks a lot...
Another question is what do you recommand to use insted of webiopi. some app with...
There is a sample which operates RPi.GPIO by a web in the following page.
http://mattrichardson.com/Raspberry-Pi-Flask/
WebLamp does ON/OFF GPIO#24 and #25 using RPi.GPIO.
You can use orangepi_PC_gpio_pyH3 instead of RPI.GPIO.
https://github.com/duxingkei33/orangepi_PC_gpio_pyH3
Edited by nopnop2002 at 2016-6-12 22:05
nopnop2002 replied at 2016-6-10 23:25
There is a sample which operates RPi.GPIO by a web in the following page.
http://mattrichardson.co ...
I tried Flask.
I could control GPIO using a web browser.
Please install flask with this page.
http://mattrichardson.com/Raspberry-Pi-Flask/
And install orangepi_PC_gpio_pyH3 from here.
https://github.com/duxingkei33/orangepi_PC_gpio_pyH3
And download webio.zip and put it in the below.
$HOME/flask/webio.py
$HOME/flask/templates/main.html
Start Python.
$cd $HOME/flask
$sudo python ./webio.py
Start browser by a different PC.
http://OrangePi'sIP/
The following page shows.
This is what I have going on.
https://www.youtube.com/watch?v=Zh7QMcEfT_Q nopnop2002 replied at 2016-6-12 21:45
I tried Flask.
I could control GPIO using a web browser.
Please install flask with this page.
I posted a new one.
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1634&page=1&extra=#pid13613
While length alone isn't a guarantee of ranking, high-quality long-form content tends to perform well in search engine rankings. This is because search engines aim to deliver the best possible results to users, and longer content often meets that criterion. Best online poker sites
page:
[1]