8/15/2023 0 Comments Alexa plugEnter routine name: HA Alexa LR light ON (…or whatever you fancy).In Alexa app, create a pair of routines to respond to the above “voice commands” and trigger the actual amazon smart plug:.Duplicate the above automation, but this time change ON to OFF.Media_content_id: HA is awesome LR light ON The corresponding automations.yaml (for ON) looks like this: - id: 'XXXXXXXXXXXXX'Įntity_id: media_player.(echo-dot-device-name) (The phrase “HA is awesome LR light ON” can be changed to whatever you want but it needs to be consistent with the routine programmed in Alexa app.) Media content ID: HA is awesome LR light ON.Select media player: (your echo dot device set up in step 3).I used the HA GUI/visual editor to set the automation for turning the light on as follows: In HA, create a pair of automations so that whenever the input_boolean “LR light” is toggled on/off, it will send a “voice” command to Alexa. whenever I toggle HA’s “LR light”, Alexa’s “LR light” will also toggle, and vice versaĭownload and set up Alexa Media Player via HACS.In HA Dashboard, Edit Dashboard → Add Card → search by entity “LR light”, and add the suggested card.it should say “1 light found and connected”. Devices → “+” (add sign) → Add Device → Other → Discover Devices.Then in Alexa app, add the above “LR light” (Living Room light) as a device:.Create an emulated_hue input_boolean entity which is exposed to Alexa.Here’s my setup (in hopes that it’ll help some newbie like me with the same predicament): I’m using the Alexa Media Player (downloaded from HACS) to trigger the routines in Alexa, in conjunction with emulated_hue to maintain the states between Alexa and HA. Well, thanks to various posts from this community, I finally figured out how to control Amazon smart plugs from Home Assistant (without going through nabu casa). I am running HA in docker on a raspberry pi 3b+. Has anyone recently used emulated_hue to control Amazon smart plug successfully?īelow is my emulated_hue and input_boolean sections in the configuration.yaml: emulated_hue: In fact, in the Alexa app, I can’t seem to trigger the routine on any smart plugs (other than my Ring doorbell). I have tried different “device_class” in my configuration.yaml setup, but none of them worked. But when I go to create a Routine in Alexa app, the device does not appear under “Smart Home” at the “When this happens” step. However, I need to use this “light switch” to trigger the actual on/off of the actual amazon smart plug. I am using the emulated_hue approach, and have created an input_boolean/binary_sensor device that was properly discovered by Alexa app and working like a virtual light switch. New to HA… I have a bunch of amazon smart plugs that I want to control from Home Assistant app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |