LaFonera Hardware Controlling AC-Loads via webinterface
From DD-WRT Wiki
Revision as of 01:09, 5 August 2007 (edit) Labeey (Talk | contribs) m ← Previous diff |
Revision as of 21:49, 6 August 2007 (edit) (undo) Wildblue (Talk | contribs) m (Fonera Internet Controlled Switch ON / OFF moved to LaFonera Hardware Controlling AC-Loads via webinterface: please create new pages like the allways used theme and look for related contend in other pages. maybe we can join the two "controlling ac) Next diff → |
Revision as of 21:49, 6 August 2007
Contents |
Turn a switch ON/OFF using WEB INTERFACE
PARTS NEEDED
-NPN transistor (2N3055) - $2.29
-One 10k Resistor - 99 cents
-One 1k Resistor - 99 cents
-1 LED
SCHEMATICS
Image:Crypto1.jpg
Image:Crypto2.jpg
Image:Crypto3.jpg
Image:Crypto4.jpg
ROUTER CONFIGURATION
- Log on to your router (ex: http:192.168.1.1)
- Go to Administration > Management
- JFFS2 Enable
- Go to Services
- Enable SSH
- Go to Administration > Commands
- type:
echo 1 > /proc/gpio/3_dir
rmdir /tmp/www; ln -s /jffs/www /tmp
- Click Save Startup
- Now log on to your router using ssh
ssh root@192.168.1.1
-then type:
cd /jffs
mkdir www
cd www
wget http://cryptonoid.googlepages.com/index.sh
wget http://cryptonoid.googlepages.com/on.sh
wget http://cryptonoid.googlepages.com/off.sh
wget http://cryptonoid.googlepages.com/blink.sh
chmod +x on.sh off.sh index.sh blink.sh
-then go to http://192.168.1.1/user/index.sh
Image:Crypto5.jpg
Web Interface
-Now you can control the switch simply by clickin ON or OFF from your favorite browser (i use my cell phone to activate the switch thru the web interface). Since my linux kung-fu skills are not developed yet, it took me some time to get familiar with .sh scripts.
USES
-Hook it up to your car's door switch and open your car with your wifi enabled cellphone.
-If you have Remote Start System installed on your car you can hook up the remote control of the system to your f.i.c.s. (fonera internet controlled switch) and turn ON/OFF your car from the internet
-Open your house/garage door.
-Turn ON/OFF your POOL PUMP.
-Restart additional routers with f.i.c.s.
check out f.i.c.s. Fonera Internet Controlled Switch
Watch the f.i.s.c in action VIDEO
since im not very good in programming shell scripts can someone write a Shell script where the user will be able to schedule the f.i.c.s. to go ON/OFF at certain times thru the web interface.