Select Page
Motion activated LED stairs lights with voice control

Motion activated LED stairs lights with voice control

Walking up or down the stairs at night can be made to an experience by using LED lights. Being able to have different animations or LED patterns makes this even more exciting. How do you achieve such a thing?

By using motion activated LED stairs lighting integrated into Alexa and Home Assistant based on Dig-Quad LED Controller using ESP32 with HC-SR04 ultrasonic distance sensors and UHP-350-12 Mean Well power supply. 

This project can be completed in many ways from just buying the components or going the extra mile and buying LED channels, diffusers and 3D printing the casings for the distance sensors. 

Let’s start with the core, which is the Dig-Quad LED controller from Dr ZZs https://www.drzzs.com/shop/ 

This controller comes with an ESP32 board already, fuses for extra protection and pre-flashed with WLED. 

You could build this yourself with an ESP32 Dev board but the ease of install and the additional protection including Youtube videos on how to install, makes this a no-brainer.

 

Which power supply to use will depend on the LEDs you chose e.g. 5V vs 12V vs 24V and how long and how many LED strips you want to install. There are plenty of websites and calculators out there to enable you to make the math how much WATT you need for what length and voltage. 

In my case, I went with 12V LEDs and given my length, I went with the 350W power supply. Another important aspect is the cooling method of the power supply. Having deployed various solutions like this, I can only recommend to avoid any fan based solution.

Those can be very loud and mechanical fans will fail. So the question is not if but when they will fail. This model here with the Mean Well UHP-350-12 is fanless and zero noise.

The fanless models might be a little bit more expensive but having a higher MTBF (meantime before failure) and no noise is certainly worth this price.

 

The type of motion sensor is important from a distance, false positive, price and reliability perspective. 

You could go overboard with mmwave doppler motion sensor like the LD2410 in which case you have to ensure the proper voltage, etc or simply go with the HC-SR04 ultrasonic sensor.

This sensor is extremely affordable and you can actually specify the distance parameters in the WLED UI to fine tune your detection radius. 

I did try the HC-SR501 motion sensor as well, but the detection reliability was not even close compared to the ultrasonic sensor, so I opted for the HC-SR04 module for the top and the bottom of the stairs.

The home assistant integration is extremely easy by installing the WLED integration. Once you enable this integration it will auto-discover all your WLED instances in your home.

As you can see in this screenshot, you can conduct firmware updates, control the intensity of the lights, you can define the segments, etc. 

You could go as far as having an ESPhome Bluetooth tracker mapped to your Samsung or Apple watch and create conditions to show different patterns depending on who is going up or down the stairs. 

I opted for the stairs integration natively within WLED as this integration, while being outside of home assistant, allows you to fine tune your motion sensor parameters and set the pins for the upstairs and downstairs motion sensors via the UI. 

I should point out though, that this stairs integration is NOT natively in WLED. There are some binaries out there which include that integration or you can compile your own WLED binary with Visual Studio, which is what I did. 

Again, you don’t have to go down that route. You can simply use home assistant to do the animations for you and you could use your own motion sensors based on Zigbee or Z-wave to trigger the lights. The possibilities are endless.

Within the WLED settings in the UI, you can specify if you want that device to be discoverable by Alexa or you can use home assistant and go into the device settings and click on voice assistant and you can decide there, if you want to expose this device to Alexa and/or Google. 

A very interesting question to ask is what wins if you turn on those lights via voice and then walk up or down the stairs with the motion sensors. Will they turn off based on your timer of the motion sensors or will they stay on?

I will give you a hint… if you just use home assistant you control and decide the behavior, while using the stairs integration of WLED will do its own thing. 

 

AutoVoice 3.0

AutoVoice 3.0

In the video here you will see, how Google Home and Alexa interact together by using predefined commands but also the natural language feature. Regardless if you say “hello”, “hi” or “howdy” it will be mapped to the hello action. You can also integrate variables for users in terms of names, which will be carried throughout the conversation or if you don’t include a name, AutoVoice will prompt you for that.

Given that I already have Tasker, AutoVera, AutoHue, AutoRemote and I did purchase AutoVoice Pro 2.0 back then and I received the upgrade to AutoVoice 3.0 as part of that purchase, I am going to test this new functionality with Home automation hubs. Vera was already supported with AutoVera as I demonstrated with the Doorbell posting including reporting the status of a Z-wave device through Tasker and AutoVera.

Now it is time to validate Homeseer with Alexa and see, if the AutoVoice will work in conjunction with Homeseer skill on Alexa. There are two Homeseer skills. One skill with saying “Alexa, ask Homeseer to…” and the second one simply saying “Alexa, turn on …”. In this case I will have to say “Alexa, ask AutoVoice to …”. In theory this should work well, but if Homeseer was able to integrate a second skill without having the need to call out “Homeseer” then AutoVoice should accomplish the same. That would be a great feature to have, but I will not start judging here until I actually tested it.

In the meantime enjoy the small video having Google Home and Alexa talking to each other. Pretty fun!

In January 2016 I posted in my posting about How to create a video Intercom using Tablets in combination with Android. Here we are almost 1.5 years later and one app from the Tasker family called AutoVoice received a major upgrade.

The 2.0 version of AutoVoice used Google Now integration to recognize your voice and trigger certain events on your phone or on your smart hub e.g. Vera by using the other Tasker app called AutoVera. You had to program every command to match your Vera device names and the configuration of Tasker was not the easiest interface.

With the new version 3.0 released this March 2017 AutoVoice now supports Google Home and Alexa. On top of that you can now optionally subscribe to the usage of natural language, which is accomplish using Machine learning integration API.ai.

API.ai is a Rest-ful API subscription service supporting a variety of products including Google Home, Alexa, Cortana, Skype, etc. AutoVoice charges $0.99/month for the natural language feature, which is really a personal preference. If you like to be able to use different words and not have to worry about how you say certain things, then you should go for the natural language integration.

Cedia 2016 Part2

Cedia 2016 Part2

Control 4

Overview of High End Control 4 system

Lutron

Lutron Lighting solutions working in conjunction with all other Lutron solution options

Control 4

High end lighting solutions from Control 4

Savant Pro

Savant Pro Home Automation solutions

Control 4

High End Home Theater and Audio/Video solutions from Control 4
(On the left) Control 4 had by far the largest exhibitor area at Cedia 2016 but also by far the biggest ego. Making statements like “Our system never fails didn’t go well with integrators”.
(On the right) Lutron was with Savant right behind in terms of size of booth and demo area. Lutron showcased their many home automation solutions.
Another eye catcher were companies like Hidden Vision and FrameMyTV. Below is the video for a hidden weapon framed picture. Their motors are very quiet and the speed is also acceptable. They also have smaller applications for their picture frames for handheld weapons, safe storage, etc. Watch the video below!
FrameMyTV had a smaller booth and their main attraction for integrators was their upcoming shop integration. This will allow integrators to resell the solutions under the integrator’s brand. They are even coming up with co-labelled and un-labelled material for integrators to give to potential customers.
The star of the Cedia 2016 show was something completely different and unexpected. Dome HA showcased the first ever Z-wave enabled Mouse trap. Yes, you read correctly. A mouse trap, which notifies you after the critter has been caught in that trap. Very bizarre use case and not everybody will jump on this offering.
However,this shows that there are endless possibilities for Home Automation and there will be more to come. Cedia was great and looking forward to see you guys at Cedia 2017 in San Diego.
x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security
Verified by ExactMetrics