I currently use Alexa for my home automation but as you know it is limited. I am thinking of migrating to Home Assistant, but looking for some advice before I do. In Alexa I have a routine that given a voice command turned off all my lights when I go to bed. This works fine. I have on the landing a Hue motion sensor which when movement is detected the lamps on the landing come on, and when no motion is detected after one minute, they turn off. Again, this works fine. This routine is programmed to run from 10pm until 06:30 everyday. Ideally what I want is to run the routine that turns all my lights off on the evening and then activates the Hue landing sensor routine. Is this possible with Home Assistant and what do I need to do to set this up? Thanks for you understanding. I am new to this arena. I also still need to be able to use Alexa for the voice commands.
One basic way to achieve the would be to use an Input boolean Helper. Once you have created the helper, you would have the “go to bed” automation turn it on. And you would add a condition to your landing light automation that the helper must be “on” for the automation to run.
Thanks for the reply. I am new to this coding environment. Ultimately, is it possible to do what I need with this hardware purchase? I don’t want to layout cash of it’s not what I need.
Home Assistant is free, open-source software. You do not necessarily need to purchase any hardware to use it… many users start out by using an older unused computer as their server.
Regardless of the hardware you chose to put it on, what you have described is possible using Home Assistant. However, full integration with Amazon Alexa can be frustrating due to the limits Amazon has put on allowing outside services to access an control both the Alexa devices themselves and devices connected to the Alexa app.
Thanks for this. So what would be best for voice commands if Alexa is not the best for integrating?
1yr newbie and I just completed my Alexa migration a couple of weeks ago!!! My main goal with Home Assistant was to get rid of Alexa and use a local voice assistant. So, I can’t comment on integrating Alexa in HA, because I never wanted to. I got rid off all my Echoes and replaced them with Home Assistant Voice PE hardware. Works great for my simple voice assistant needs!
And yes, it’s possible to do what you need with Home Assistant. A couple of examples, at night I run a goodnight script (that I speak to the Voice PE. Edited to clarify: I created a goodnight script and added a voice assistant alias “goodnight”, so when I tell the PE goodnight, it turns off all the lights. For my front porch light, I run an automation that turns it on at sunset and turns off at sunrise.
Another edit! Just re-read your post and saw your last sentence:
If you still want to use Alexa, then my solution is not for you. I’m so excited to finally be rid of Alexa, just wanted to share how I migrated.
Thanks for this. There is a lot to consider here before I migrate. I am no coder which is going to be a big challenge in itself. Are there any tutorials or there I could use. I like the idea to be able to set automation at a more detailed level which Alexa cannot give you. Thanks again.
Yes, there is a lot to consider, but you do not have to be a coder to use Home Assistant! Simple automations, scripts, helpers, etc. can be created using the GUI from the Dashboard. Want to create an automation? Click on “Create Automation” (once navigating there from Settings on the Dashboard) and follow the prompts to create your automation.
As for tutorials, this forum was/is my tutorial. Everything I’ve learned about HA, I learned right here using the Search function, and there are also some helpful communtiy guides. I spent many hours reading and researching…
If you haven’t already, I suggest you actually install Home Assistant first to get a “lay of the land”. Before I ever installed my first device, I spent several weeks just learning my way around all the Settings and features.
Hinchi,
I currently use Alexa and Home Assistant together. I use a subscription to HA Cloud to share all my devices with Alexa. This allows me to enter a new device into HA (lets say a light bulb) and then share that device with Alexa so that it can see it to. So now I can use HA to do complex integrations like turning the color warmth of the lightbulb to match where the sun is in the sky during the day (circadian rhythm) and using Alexa to turn the lightbulb on and off with my voice. The best of both worlds!
The whole reason I went to HA was because I was getting frustrated with Alexa because I could not do all the automations I wanted. HA allowed me to take it another level. A real benefit to my migration to HA is that HA also runs without the cloud (i.e., internet connection). So instead of Alexa stating “I cannot connect to the internet currently”, HA just keeps on working. Heck, I even have a automation in HA that checks to see if my internet is working. If it is not, HA resets my modem and router and gets the internet back up. Try that with Alexa!
Thanks for this. Really dumb question though. If I subscribe to HA cloud I assume I need to buy, say the Home Assistant Green. I don’t have an old spare pic hanging around.
The easiest way to start is to purchase the HA Green. That is exactly what I did. By doing that, you have the hardware and software in a plug-in-play package.
I started that way and played a couple months with HA. Once I got where I was confident in setting up automations and dashboards, I started messing with how to work with Alexa and HA together. Before this I just used them together but separate. I found the easiest way to JOIN them was to purchase a subscription to HA cloud. You do NOT have to purchase a subscription to communicate with Alexa. There are numerous ways to do the same thing through programming in HA. Like the hardware thing and purchasing HA Green, I decided to do it the easy way by purchasing HA Cloud. Also I wanted to support the Nabu Casa group that maintains HA. After all, they allowed me to expand my capabilities.
I would get HA Green. Set it up. Play with HA on it until you are really comfortable. All the time, you can still be using Alexa the same way you are now. Just start migrating your “routines” in Alexa to HA “automations” slowly. You will hit the point where you will want to be able to control Alexa through HA. Once you hit that point, you can then decide how you want to make that pairing (either through programming it or paying for a subscription). The nice thing is that HA gives you that flexibility to be a techy or as lazy (like me) as you want.
Thanks for the advice. I will do exactly that.