No, this article isn't about how to automatically get your Christmas shopping done. It's about those pesky Christmas lights. If you are like me, you remember that your Christmas lights need turned off right about the same time you pull the blanket up around your head and hit the pillow.
This article will step you through how to use z-wave to automatically turn your Christmas lights on at sunset and off at a pre-programmed time. Because you are using z-wave, you'll also have the added bonus of being able to control them and your other household lights using your smart phone.
This article assumes you've never used z-wave before and steps you through the basics of getting things setup.
Z-Wave is a technology that lets light switches, outlets and other devices communicate wirelessly with each other. To set this up, you'll need a master controller, a z-wave appliance module for each set of Christmas lights you want to control and a computer running the free version of InControl.
The master controller is required to be able to setup and manage your z-wave devices. For this, I recommend the Aeon Labs USB Stick. Not only does this USB stick work as a master controller, but it also doubles as a controller that you can use on your PC, allowing your PC to send commands like "turn off" to your lights.
In order to control a set of Christmas lights, you'll also want to purchase an appliance module -- which basically plugs into an outlet and provides a new outlet for your string of Christmas lights. Anything plugged into this module will be controllable using your PC and smart phone.
Shop around a bit, you'll often times find sales on the appliance modules putting them at the $10-$20 range. The Aeon Labs USB stick is usually around $59. Here are some links to a website where I generally purchase my z-wave equipment from:
Lamp Module (dimmable, only supports plugs with 2 prongs)
Appliance Module (not dimmable, but supports 3-pronged plugs)
Setup Z-Wave Network
Now that you've got your hardware, it's time to get your z-wave network setup. First, plug in the Appliance module to a wall outlet and get your Christmas lights plugged into it.
We need to tell the master controller (your Aeon Labs USB stick) about your appliance module. Push the button on your USB stick and the blue ring should light up and start to blink. Now put the USB stick next to your appliance module and push the "include" button (if you purchased the modules I linked here, it's the black button on top). The light on your USB stick should quickly flash a few times indicating that everything went well.
Repeat this process for each appliance module that you purchased.
InControl is a free app which will allow you to use your PC and smart phone to control your lights. Follow these instructions to download and install InControl.
Before you continue, make sure you've downloaded and installed InControl and that you are able to use it to turn your Christmas lights on/off manually from your PC. I'll now show you how to setup InControl to create a schedule so that your Christmas lights automatically turn on at dusk and off at bedtime.
In order for InControl to know what time sunset occurs, you need to set your latitude and longitude. Use this site to pick your location, then inside InControl, open up the Tools/Options menu to enter the information you found on the site.
Scenes are a way for your computer to memorize which lights are on and which are off. We'll create two scenes, one with all your Christmas lights on, and another with all the lights off.
From within InControl, click on the Scenes tab. Click the Create New Scene button. Add all the appropriate modules to your scene using the Add Device and make sure the slider is at full power. Name your scene "Christmas Lights On."
Now create a 2nd scene and add the same set of modules to it. This time make sure that the slider indicates they are all powered off. Name this scene "Christmas Lights Off."
Rules are used to tell your PC when to turn the lights on or off. First, we'll create the scene that will turn your lights on at Sunset.
Go into the Rules tab and create a new rule by clicking Add Rule. Name it "Christmas Lights On" and put in a description if you'd like. Make sure the rule is enabled. Choose "At Sunset" for the Event Trigger. Click the Browse button next to script and choose "ActivateScene.cs."
Now choose the Rule Data tab and double click the Scene row. Choose Christmas Lights On as the scene name. Click OK.
Now we are ready to create the rule that will turn lights off at bedtime. Click Add Rule again, naming it "Christmas Lights Off" - be sure to Enable the rule as well. For the Event Trigger choose "On a Specific Date (repeatable)." For the script name, choose browse and find "ActivateScene.cs."
Change over to the Rule Data tab and double click each of the following rows, entering the respective value:
- Target Date & Time: Choose today's date and enter the time you want the lights to turn off
- Scene: Choose "Christmas Lights Off"
- Interval: "Days"
- Interval Number: 1
These values will create a rule that will repeat every day at the specified time.
That's it, you are done! Your Christmas lights should turn on automatically at sunset and turn off around bedtime.