How to integrate Aqara with myQ and home assistance

I have multiple Aqara u200 locks and myQ garage door opener. I want to run an automation in home assistance that if garage door is closed then lock the door too and vice versa. Any pointers would be great

@abambah To create an automation in Home Assistant that integrates your Aqara U200 locks with the myQ garage door opener, you’ll need to follow a few steps. Here’s a guide to help you get started:

  1. Ensure HomeKit Compatibility: Since Aqara products that support HomeKit can be connected to Home Assistant, make sure your U200 locks are reset and not currently paired with another HomeKit controller. Connect them to your local network.

  2. Add HomeKit Controller Integration:

    • In Home Assistant, navigate to Settings > Devices & Services.
    • Click on Add Integration and search for HomeKit Controller.
    • Follow the prompts to pair your Aqara U200 locks with Home Assistant.
  3. Install myQ Integration:

    • Similarly, you will need to add the myQ integration in Home Assistant to control your garage door opener.
  4. Create Automation:

    • Once both devices are integrated, you can set up an automation using Home Assistant’s automation editor.
    • For your specific use case, you would create an automation with the following logic:
      • IF: myQ garage door closes
      • THEN: Lock the Aqara U200 door lock
      • And vice versa for unlocking.

These steps should get you closer to having your desired automation running smoothly. Don’t hesitate to share your progress or any hurdles you encounter—our community is always here to help!