Here comes the answer for ur
queries.
How to control GPIO pins of Pi online?You can use WebIOPi for this
Steps.1
$ tar xvzf WebIOPi-x.y.z.tar.gz
How to control GPIO pins of Pi online?You can use WebIOPi for this
Steps.1
$ tar xvzf WebIOPi-x.y.z.tar.gz
$ cd WebIOPi-x.y.z $ sudo ./setup.sh This wil install the WebIOPiCommands to Start and stop are given below respectively
$ sudo /etc/init.d/webiopi start $ sudo /etc/init.d/webiopi stop
If u need ur Raspi to run
Webiopi @ boot itself the use bellow code
then reboot ur pi
To setup your system to start webiopi at boot :
$ sudo update-rc.d webiopi defaults Code for rebooting sudo rebootTo remove webiopi start from boot :
$ sudo update-rc.d webiopi remove this will be implemented after ur bootOnce u Webiopi is ready to use
You control it from the URL
IP of PI:8000
It will ask for User and Password
user : "webiopi"
password is "raspberry"
By choosing the GPIO Header link on the main page, you will be able to control GPIO using a web UI which looks like the board header.
- Click/Tap the OUT/IN button to change GPIO direction.
- Click/Tap pins to change the GPIO output state.
Project
Ideas.
Using this u can build ur Home Automation system..
Using this u can build ur Home Automation system..


No comments:
Post a Comment