TawfikDaim / home_automation

home automation user stories
0 stars 0 forks source link

Use voice commands with Alexa (emulated_hue) #102

Closed TawfikDaim closed 2 weeks ago

TawfikDaim commented 2 weeks ago

There is no need to do the integration with Alexa using AWS and skills, instead:

I can use emulated hue to expose entities to Alexa

`[tawfik@NAS12D952 config]$ cat emulated_hue.yaml host_ip: 192.168.1.14 # Replace with your Home Assistant IP address listen_port: 80 expose_by_default: false exposed_domains:

entities: -# Living Room Lights switch.sonoff_100157b2a8_2: name: "Living two" hidden: false switch.sonoff_100157b2a8_1: name: "Living one" hidden: false switch.sonoff_100157b3ad_1: name: "Living spot 1" hidden: false switch.sonoff_100157b3ad_2: name: "Living spot 2" hidden: false

-# Master Dressing Lights switch.sonoff_100157c1f6_1: name: "Master Spot 1" hidden: false switch.sonoff_100157c1f6_2: name: "Master Spot 2" hidden: false`

additionally, i can create groups to make Alexa control multiple grouped devices (nested groups will also work)

`[tawfik@NAS12D952 config]$ cat groups.yaml living_lights: name: Living Lights entities:

living_room_lights: name: Living Room Lights entities:

living_room_spots: name: Living Room Spots entities:

additionally, I can set Alexa to change status of a virtual switch that will accordingly trigger an automations