Controlling electric imp over the internet

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Controlling electric imp over the internet

Postby e-r-a-n » Fri Jan 18, 2013 1:48 am

I wish to buy an electric imp for some on/off switching in my house.
but i couldnt see exactly how i control it from the internet.
If i have android phone, can i use the app to login to my device and send it commands?
has anyone experienced the imp already?
e-r-a-n
 
Posts: 5
Joined: Thu Jan 17, 2013 1:39 am

Re: Controlling electric imp over the internet

Postby Richa1 » Tue Feb 12, 2013 12:24 pm

The imp can receive info from an html form page via GET or POST. I just made a page with an ON and OFF button that tells the pins to write 0 or 1. I am using it to turn LEDs on and off, but you could just as easily use a relay.

Here is the part in the imp Wiki that talks about HTTP in and out.
http://devwiki.electricimp.com/doku.php?id=httpapi

They have a good example of how to format the POST for JSON delivery and how it is received in the Squirrel code

I hope that help.
Richard A+
User avatar
Richa1
 
Posts: 3
Joined: Thu Jan 17, 2013 1:15 pm
Location: Seattle


Return to Other Adafruit products

Who is online

Users browsing this forum: Google [Bot] and 4 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]