spenwall / myq-alexa

A simple alexa skill to open and close myq enabled garage door
25 stars 14 forks source link

MyQ Alexa skill

This is just a simple Alexa skill you can use to add Alexa support to open and close your garage door by using the phrase alexa ask my garage to open

This can only be used for personal use, and can only work if you have one MyQ garage door opener.

Installation

1. Create an Alexa skill

2. Add Interaction Model

3. Build the model

4. Add the Code

5. Deploy

6. Test

Commands

You can use the commands after saying Alexa ask my garage (or whatever invoke word you use)

Troubleshooting

If you would like to specify a certain door(device) you can change the getDoor() function to the following. This is useful if you have more than one door you can set up a couple of skills that control separate doors.

const getDoor = async () => {
  await account.refreshDevices();

  return account.devices[0];
}