12/6/2023 0 Comments Alexa wall plug![]() You may not need this second outlet though, in which case a bulky smart plug won’t hurt. Look for a plug that’ll easily fit onto your socket without obstructing the second outlet on the strip. Things to Look for When Buying Alexa Smart Plugs Size First thing’s first, you should decide on a size. This is where this buyer’s guide comes into play - it’ll equip you with some essential knowledge to help make sure you make an informed decision when shopping for a new Alexa smart plug. Finding a high-quality Alexa-enabled plug that’ll let you do this seamlessly isn’t exactly super convenient though. The caveat is that when the plug is turned on/off via the physical button on the plug, then its state is not sync’d to “LR light”, but that’s a caveat I think I can live with.If controlling your devices with just your voice sounds like fun, you’ll love these products. And vice versa - when Alexa app toggles the “LR light” device (don’t toggle the actual plug), HA sees the same state and triggers the automation to then trigger Alexa to turn on/off the actual device. At the same time, HA’s automation triggers the Alexa Media Player to send a “voice” command to Alexa which in turn triggers the actual device (amazon smart plug in this case) to turn on/off. So when HA toggles the input_boolean “LR light”, Alexa also “sees” the same state via emulated_hue. – Then do another routine, but this time for the OFF trigger. Add action: Smart Home → All Devices → Plug for LR light (this is the actual physical amazon smart plug device, assuming it is already added to Alexa) → select “On”.When this happens: select “Voice” → enter “HA is awesome LR light ON” (this must be the same phrase as programmed in the HA automations above).Enter 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 |