Have you ever wished your lights would turn off on their own when you went to sleep? Or that they'd change color when your favorite sporting team scored? With LIFX smart light bulbs and IFTTT, we're pretty close to that ideal and magical connected light bulb reality.
LIFX smart light bulbs are energy efficient LED bulbs that can change color and be controlled via smartphones and smartwatches. They are quite entertaining and rather easy to set up on your home Wi-Fi network.
To give our lights some autonomy, we'll be using a service called IFTTT (short for "If This Then That") which allows you to set rules based upon different internet connected devices and/or services. These rules can then trigger responses like your smart light bulbs changing color.
In this article, we'll explore how to set up a LIFX smart bulb and then we'll explore connecting it to IFTTT. Within IFTTT, we will set our lights to turn off when our Jawbone UP24 is in sleep mode. Afterwards we will look at how to set the bulb to change color if our favourite sporting team is playing.
Setting Up Our LIFX light bulbs
To get started, you'll need to ensure your light bulbs are connected to your home network. You'll need to run the iOS or Android LIFX app to set this up.
I'm on Android, so I've installed the LIFX Android app:
Open the app and click "Add Bulbs" to set up your LIFX light bulb. Make sure your LIFX light bulb is turned on otherwise it may not appear!
Choose your bulb and your home Wi-Fi connection, then you'll be greeted with this wonderful screen allowing you to name the location of your LIFX light bulb, assign it to a group and give it a name:
Once it assigns all of those settings, you'll see your new location and group in the LIFX menu with your bulb inside it. If you press the power button next to the location, group or individual LIFX light bulb, the light will turn off. If it turns off successfully, then you are ready to go!
You can click on the bulb name in the menu to open up the controls for your bulb. Here you can change the color of the light (either different shades of white or completely new colors like purple from the "Colors" button on the bottom left). You can also set up effects like a strobe light via the "Effects" button.
Now you've had a bit of fun with those settings, let's look into how to connect up the LIFX light bulb to other web triggers via IFTTT.
Connecting Our LIFX Light Bulb To IFTTT
To create a new recipe, create an account on IFTTT and log in. Then, click your username in the top right and choose "Create". This takes you to your New IFTTT Recipe Page.
Continue reading %Connecting LIFX Light Bulbs to the IoT Using IFTTT%
by Patrick Catanzariti via SitePoint