I’m calling this my Smart Enough Switch.
It’s a ~$10 door sensor controlling a $10 smart bulb.
As far as I know, this is the lowest cost way for operating an always powered smart bulb with a manual switch.
See it in action!
http://i.imgur.com/jnQUJs8.gifv
How it works (short answer)
In the wall is a two-part window/door contact sensor. One part is stationary; the other part moves up and down with the switch. When the switch goes up it turns a smart bulb on and when it goes down, guess what. The bulb turns off!
http://i.imgur.com/1oJRFLK.gifv
http://i.imgur.com/CxxzuNV.gifv
Aside from two small 3D printed parts, the rest uses the existing hardware of the original light switch.
For more details including gifs, pictures, and the 3D printable fiels, see the “How it works (long answer)” further down.*
Why would I do this?
Mostly for fun! But the idea stems from the basic fact that a smart bulb can only operate when it has power.
If you don’t care to read about my history with home automation, you can skip to the next section. Just know that I have plenty of actual smart switches in my house.
I started getting into home automation in December of 2016. Started with a Google Home (GH) mostly as an easy way to play music and add things to our shopping list. Shortly after that I started looking into getting some smart lights and realized that the “cheaper” smart bulbs required an extra hub to operate so I thought it would be more cost effective to just buy a WiFi switch that worked out of the box with the GH. It cost me $40 but it controlled 3 light bulbs on the ceiling fixture in our living room. I was happy and bought several more and put them around the house. I currently have three installed and three more still in their boxes.
Fast forward to today and I’ve done a decent amount of research into home automation and settled into the Smartthings (ST) ecosystem. As you probably know, ST utilizes Zigbee and Z-Wave signals to control devices and they are often much cheaper than their WiFi counterparts.
I recently purchased my first Zigbee enabled smart bulbs for $10 each (Sengled Element Classic). I installed the first one in one of our hallways and my wife and I would continue to operate the light switch like normal.
Problem #1 - Losing power to the smart bulb
If the switch is left off there is obviously no powering going to the bulb and while it still functions like a “normal” light, it isn’t a “smart” light.
My first thought was to tape it up but that would be very unsightly and more importantly, it would completely change the way anyone had to use the light. The only time we need the hallway light on is when we’re standing right in front of the switch already. It’s counter-intuitive to then yell back to the GH, “Hey Google! Turn on the hallway light!” when the switch that is in front you used to work perfectly fine. You could ask why even have a smart bulb in that fixture then… Well it would still be nice to operate it remotely (in case you want to make sure all the lights are off when you’re not home).
Problem #2 - Switches without neutral wires
Anyone that’s installed a smart switch knows you need a neutral wire for it to work. You don’t need to know what it is but you know you need it because the instructions said that older homes that don’t have them won’t work with the smart switch.
Problem #3 - Cost effectiveness
When you have a fixture that you want to be smart but it only has or needs a single bulb, it can cost $30 - $50 to outfit it with a smart switch.
If you have a three-way switch (two switches that operate a single light), it can cost $50 - $70 to add standalone and add-on smart switches.
Smart Enough Switch to the rescue!
-
My solution has power constantly running to the smart bulb while maintaining a traditional, instant, and tactile way to operate it.
-
It doesn’t require any wires to be connected to it so it doesn’t matter if you don’t have a neutral wire or if it’s on a three-way switch system.
-
Makes any standard light fixture a smart fixture for around $20! As some who loves to find great deals on devices, this is my favorite part.
How it works (long version)
Basic Overview
What it looks like with the face plate removed
Since the components of the switch are a door sensor, it basically boils down to “if the door is closed, turn on the light; if the door is open, turn off the light.”
Software
I’m currently using webCoRE to handle the commands but I recently learned about the smart app “Smart Lights” that would easily work as well.
Hardware
- I installed the smart bulb and got the door contact sensor working to control it (as described in the software section)
- I cut the power and removed the existing light switch
- I then connected the black and white wires (both hot) together with a wire nut and secured it with plenty of electrical tape to be sure none of the bare wire was exposed. http://i.imgur.com/9zGOhDQ.jpg (in this photo it looks like there are 2 sets of wires coming in from the top but only the set on the right is)
- Designed and 3D printed two parts, the harness and switch
- I removed the (very strong) magnet from an Iris contact sensor and slipped it inside the new switch housing http://i.imgur.com/pl2gpui.gif
- Frankensteining the hardware from the existing light switch, I assembled my monster…
- The magnet is obviously critical to the operation of the contact sensor but it was also the solution I needed to keep the switch in the up position. The grooves of the new switch snap on to the metal frame of the old switch and ride along the “rails”. http://i.imgur.com/rZfLWA4.gif
- I used the ground wire connection point and screw to attach my harness http://i.imgur.com/uGeyOoq.jpg (don’t worry, there’s still room to reattach the ground wire: http://i.imgur.com/UAwPdzf.jpg)
- Then the larger part of the Iris contact sensor is press fitted into the harness http://i.imgur.com/KVNtVBE.gif. It has a very satisfying and snug fit…getting to press it in to the many prototypes I went through was my favorite part:)
- IT WORKS!! http://i.imgur.com/1oJRFLK.gif Notice the green led that blinks when it senses a state change. Also, in that gif you can see a little hole I added to the switch so you can push the magnet out if you need to.
- Turned the power off again and reattached the ground wire http://i.imgur.com/Mzm9upa.gif. It will still function without the ground attached but as a safety precaution it’s best to have it grounded.
- Put it back in the wall and it’s done! http://i.imgur.com/jnQUJs8.gif
Here’s a bunch of photos in one album: http://imgur.com/a/HlGpT
If you have a 3D printer and want to make your own, the files are here: https://www.thingiverse.com/thing:2455999
Final thoughts / Things to fix
I mostly made this to try something new and when I realized how useful, cheap, and easy it would be to implement, I knew I wanted to share it with the community. But even after countless hours and very late nights, it’s still not complete.
I need to figure out a way to keep the switch on the metal rails. The magnet is really strong but you could still push the switch back and off the rails. I think I can design it so the switch presses up against the contact sensor.
I want to find a way to fill in the gaps left above and below the switch.
I’d also like to make harnesses for other contact sensors.
My dream design wouldn’t require any extra 3D printed parts and would only use the original light switch to somehow move the sensors apart. I think all of this is doable but I need to take a much needed break from this project.