Controlling electric imp over the internet

by e-r-a-n on 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?
Posts: 5
Joined: Thu Jan 17, 2013 1:39 am

Re: Controlling electric imp over the internet

by richa1 on 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.

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
Posts: 22
Joined: Thu Jan 17, 2013 1:15 pm
Location: Seattle