Accueil

mercredi 25 mars 2015

Control All Lamp " 220 Volt " Home Lighting With Your Smart Phone

                                       

                  USB CONTROL PORT VIA UBUNTU 14.04 LTS and iphone 3Gs

                                                   
this is explain how control voltage USB port via ubuntu 14.04 LTS system with terminal and connect to Sami machine "ubuntu" with secure shell via iphone and use the Saami control via iphone 3gs to command a intern via wifi and 3G conection by externally via secure shell


install openssh on your pc "ubuntu" or in machine virtual " ex : ubuntu "in windows   =====> ssh
connect your phone on wifi to intercontrol or connect him to 3G connexion to extercontrol and download lien script control   run the script with sudo ./control-power  and enter your choice 1-on/2-off  after that enter the number of port  X-X.X usb you want to control .

N.B !!!! if you dont use sudo , the script not work correctly.
if you dont know what is the number of port run the script and do not connect the usb control and rerun  the script and loock the new number add to list number so this is your number port you want ;)


watch the video for more information

                                        diagram

















for more information contact me on gmail or Facebook   thank's for your visit










Aucun commentaire:

Enregistrer un commentaire