What is a smart home?
That seemingly simple question has many different answers, depending on who you ask. In short, a “smart home” is a residence equipped with a number of devices that automate tasks normally handled by humans. Some are built into the structure itself and some added later, and homeowners operate them with voice commands or by artificial intelligence. For me, turning a Egg Boiler when your alarm ring with IFTTT can be seen as simple part of smart home.
the reason why we want smart home
First we need a smart controler that supports IFTTT, such as smart power switch, Smart sensor,etc.In the following example we use Kasa's smart power switch.
In the example, we used a alarm on phone to issue instructions because the smart switch can be controlled by the mobile phone app. However, it can be set by other methods, such as amazon echo's voice control, temperature and weather sevices on IFTTT.
Create the code is the most important step, coding is the way to connect the device with the instructions. We need a suitable piece of code to describe our instructions to manipulate our equipment. We can start from IFTTT.
Control Air Conditioning
Door rang, camera opened for 30s
Windows closed and air purifiers started to work
Control electrical appliances to work regularly through smart switches
When the alarm goes off, your egg cooker starts to cook eggs
1. Connect egg cooker and smart switch
2. Log in the smart switch APP
3. Create a new IFTTT
4. Click "this" and search for "Andoid Device"
5. Choose "Notification received from a specific app".
6. Two options to fill in. One is to fill the name in your
app, mine is "Clock" here. Another blank is "filter by
notification word", here we set "alarm", to avoid
interferences that if the "clock" send other messege (for
example: Time is up)
7. Click " Create trigger".
8. Click "that" and search for "Kasa"
9. Connect with your Kasa account
10. Choose "Turn on(turn on a device)"
11. Complete action fields with Choosing your specific deice,
which in this case is” Egg Cooker[H5100]”