Introduction: Create Your Own Smart Light Using Electric Imp
Create your own smart light using Electric Imp. Learn how to control and monitor your lights from mobile, tablet and desktop in 15 minutes. $44 in hardware. Entry level.
Step 1: Hardware
Step 2: Software
Step 3: Hardware Setup
This schema represents the led, resistor and pushbutton setup. With this setup each time you press the button, the LED is turned on and off.
Step 4: Software Setup
Set a meaningful name (e.g. bedroom light).
Choose the device type. For this tutorial choose Basic Light. What is a type? A type defines what a device is by defining its properties, functions and statuses. For this tutorial you do not need to now more about.
In order to communicate with the physical device you need to connect Lelylan with the Electric Imp agent. Every agent has a unique url that can be found in your Electric Imp Ide. Copy and paste it into the Custom URI field. In this way Lelylan will forward all requests coming from the dashboard (or APIs) to the Electric Imp.
Get the Device ID and Device Secret. Once the device is created, click the settings link (placed under the device name) and get the device ID and device secret. You'll need them in the next section.
Step 5: Code
Step 6: You Are Done
Access Lelylan Dashboard and control your connected light from mobile, tablet and desktop. If any problem occours, let @lelylan know.
Step 7: Learn More
Nothing else to do. Everything should be up and running.
If you want to better understand how the code works checkout the code explenation code explenation section.