Alexa and Covers

I have a “Garage Door” cover I can control from the “States” page … it opens and closes as you expect. I want to be able to control it with my Amazon Echo. I have switches and lights already in my configuration that work great via HA and Alexa.

I added “- cover” to the “exposed_domains” for the “emulated_hue” configuration.

When I look at http://:8300/api/pi/lights my cover is listed:

{“cover.garage_door”: {“modelid”: “HASS123”, “name”: “Garage Door”, “state”: {“bri”: 255, “on”: true, “reachable”: true}, “swversion”: “123”, “type”: “Dimmable light”, “uniqueid”: “cover.garage_door”}

The echo accepts my commands like “Alexa, turn on the Garage Door” or “Alexa, set the Garage Door to 0 percent” and responds with a cheerful “Ok”.

However, the garage door doesn’t actuate, although it works flawlessly from the “States” page with the up/down arrows.

Any help would be appreciated.

I used a script tied to switch (Remotec Zwave Dry Contact Fixture Module) which is wired it to a keyless remote fob. Here is my set up, if it helps. Mine works with Alexa as, “Echo, turn on (or off) Garage Door”.

From automation.yaml:
################################

garage door momentary switch

################################
- alias: Garage Door Reset
hide_entity: True
trigger:
- platform: time
seconds: ‘/4’
condition:
condition: state
entity_id: switch.garageswitch_switch_2_0
state: “on”
action:
service: switch.turn_off
entity_id: switch.garageswitch_switch_2_0

From scripts:

Garage door opener

  garage_door:
    alias: Garage Door
    sequence:
      - event: LOGBOOK_ENTRY
        event_data:
          name: EVENT
          message: "Garage door opener clicked."
      - service: switch.turn_on
        data:
          entity_id: switch.garageswitch_switch_2_0

From customize.yaml:

switch.garageswitch_switch_2_0:
  friendly_name: Garage
  hidden: true
script.garage_door:
  emulated_hue: true
  icon: mdi:car

@Shane_Harrelson, were you ever able to get this figured out? I’m in a similar situation with a MyQ garage door opener that I’m trying to integrate into my Alexa routines.

@aLTeReGo, I just set my myQ garage door opener with Alexa. First I added the following scenes to Home Assistant.

scene:
  - name: Open the Garage Door
    entities:
      cover.garage_door_opener: on

  - name: Close the Garage Door
    entities:
      cover.garage_door_opener: off

Then – after asking Alexa to discover new scenes – I created 2 “Routines” to access those scenes inside the Alexa app on my iPhone like this:

When I say:
    "Alexa, open the garage door"
Alexa will:
    ::: Turn On Garage Door Opener

When I say:
    "Alexa, close the garage door"
Alexa will:
    ::: Turn Off Garage Door Opener
3 Likes

Slight correction to the above. The scene settings should be as follows:

scene:
  - name: Open the Garage Door
    entities:
      cover.garage_door_opener: open
  - name: Close the Garage Door
    entities:
      cover.garage_door_opener: closed
3 Likes

Just Thank You :pray::tada::tada:

1 Like