Component to add myQ garage doors and gates to home assistant
The myQ component lets you control myQ-Enabled garage doors and gates through Home Assistant. Device names in Home Assistant are generated based on the names defined in your myQ Device mobile app.
This is a custom component replacing the core myQ integration in Homeassistant.
This component will set up the following platforms.
Platform | Description |
---|---|
binary_sensor |
Represents myQ gateway. |
cover |
For each garage door or gate discovered from myQ. Shows current state and allows opening or closing |
This component is available through HACS. This is the easiest method to install, stay informed of new releases, and update.
- Within Home Assistant, open HACS (install HACS if not already installed, see HACS Installation)
- Go to the Integrations store
- Click on the 3 vertical dots in upper-right corner and select Custom Repositories
- At the bottom of the dialog box, enter https://github.com/ehendrix23/hass_myq for custom repository URL and select Integration as the Category. Click on Add.
- Click on the myQ repository and then click on INSTALL THIS REPOSITORY IN HACS
- The repository is now installed, a restart of HACS might be required
If myQ was not yet configured in HASS then perform the following steps to add it. If it was already configured as a core component from HASS then nothing further is required.
- Go to Configuration -> Integrations page
- On the bottom right of the page click on the Orange + sign to add an integration
- Search for myQ (if you don't see it, try refreshing your browser page to reload the cache)
- Enter your myQ account credentials
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledmyq
. - Download all the files from the
custom_components/myq/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
If myQ was not yet configured in HASS then perform the following steps to add it. If it was already configured as a core component from HASS then nothing further is required.
- Go to Configuration -> Integrations page
- On the bottom right of the page click on the Orange + sign to add an integration
- Search for myQ (if you don't see it, try refreshing your browser page to reload the cache)
- Enter your myQ account credentials
- Within Home Assistant, open HACS
- Go to the Integrations store
- Find the myQ card in the list shown.
- Click on the 3 vertical dots shown on the card
- Click on uninstall to remove the component.
- Restart HASS
Uninstall from HACS will result in reverting to the myQ component part of HASS. To remove the configuration completely perform the following steps (note, these can also be done before removing the myQ HACS component)
- In HASS, click on Configuration -> Integrations
- Find the myQ card in the entries shown.
- Click on the 3 vertical dots on the myQ card
- Click on Delete
If you want to contribute to this please read the Contribution guidelines
This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.
Code template was mainly taken from @Ludeeus's integration_blueprint template