Web browser based controlling the raspberry pi.(webiopi)
for this 1 we need the some installation steps
1.open the raspberry pi command mode
2.and install below commands
$ wget http://webiopi.googlecode.com/files/WebIOPi-0.6.0.tar.gz
$ tar xvzf WebIOPi-0.6.0.tar.gz
$ cd WebIOPi-0.6.0
$ sudo ./setup.sh
Running WebIOPi
for installation is done the give this command
sudo webiopi -d -c /etc/webiopi/config
Running WebIOPi
start the webiopi give this command
$ sudo /etc/init.d/webiopi start
stop the webiopi give this command
$ sudo /etc/init.d/webiopi stop
start at boot
To setup your system to start webiopi at boot :
$ sudo update-rc.d webiopi defaults
To remove webiopi start from boot :
$ sudo update-rc.d webiopi remove
Controlling from the web browser
If your are directly using your Raspberry Pi with keyboard/mouse/display plugged, open a browser to http://localhost:8000/
If your Raspberry Pi is connected to your network, you can open a browser to http://raspberrypi:8000/ with any device of your network. Replace raspberrypi by its IP.
You can even add a port redirection on your router to use WebIOPi over Internet !
Default user is "webiopi" and 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.