Total noob with using Alexa to control home assistant. Any way I can toggle an input boolean? I created one that triggers an automation. I would also be okay with just triggering that automation, but I’d like to be able to change the automation in the future by just editing the yaml file.
@finity, see, this is where I’m somewhat getting lost. I’m using the cloud, I think? I tried discovering devices and it seemed to only discover 2 groups…Shouldn’t it discover more?
You can do this, and it will be discovered, but in my experience it cannot be controlled. I am struggling with this right now too; Alexa sees the input_boolean, and acts like it can send commands to it, but the value in HA never changes. All my other emulated_hue devices work fine.
So I think I’m probably going the script route too, because those work properly with emulated_hue.
are you using Alexa routines? If you are, make sure you are sending 100% to the input_boolean. I use routines to turn input_booleans on. I then have automations, that include reseting the boolean back to false.
I have an input Boolean that I treat as a “light switch” (activates certain other automations and different brightness) and it is exposed using emulated hue and I turn it on and off just as I would a normal bulb with Alexa
Here’s an example: “Alexa, Good night”. Which triggers an automation that:
Sets the house alarm to “Stay Alarm”
Turns Family room TV off
Runs Light scene for sleep mode
Disables garage door.
Alexa routines are the great for creating any custom command. Just need the ability to specify custom response with routines are triggered. Right now “she” just responds with “Okay”.
I feel like I must be doing something wrong then if it should be discovered…because I’ve tried syncing it several times, disabling and re-enabling it, etc…nothing. It picks up the all lights and all switches groups and that’s it. it picks up everything from SmartThings though. Is there a Haaska plugin? I tried finding one and didn’t see anything, but maybe I missed it. I’m using Hassio, so I’m not sure the version I found on GitHub will work.
I know this is a topic that’s been around for a while. I had the same thing - my input.boolean wasn’t being discovered by Alexa as a ‘device’ which would then run an automation script. It came down to my configuration.yaml file that required the last line:
cloud:
alexa:
filter:
include_domains:
- switch
- light
- media_player
- input_boolean <- This neads to be here for Alexa to recognise it as a 'switch'
I also had a similar issue… although my setup isn’t exactly the same… even with no excludes my input booleans didn’t show up until specified in includes…
FYI I recommend everyone switching to switch templates instead of input booleans because they behave like normal switches and are inside the switch domain. The benefit of a switch template is that you can tell alexa “Turn on X” and it will turn on X regardless of X’s current state. With input booleans, if the boolean is on, telling alexa to turn it on will do nothing.