Coder Social home page Coder Social logo

myq-homekit's Introduction

myq-homekit

This project is now archived, see Status below.

HomeKit support for Chamberlain / LiftMaster MyQ garage doors using hc and my MyQ Go library.

When running, this service publishes a HomeKit garage door accessory.

After the door is paired with your iOS Home app, you can control it with any service that integrates with HomeKit, including Siri, Shortcuts, and the Apple Watch. If you have a home hub like an Apple TV or iPad, you can control the garage door remotely.

Installing

The tool can be installed with:

go get -u github.com/joeshaw/myq-homekit

You will need to create a config.json file with your MyQ username and password, and your MyQ device ID

{
    "username": "[email protected]",
    "password": "myqPassw0rd",
    "device_id": "2613952120",
}

You can get your MyQ device ID using the myq command from my MyQ repo by running:

myq -username <username> -password <password> devices

Then you can run the service:

myq-homekit -config config.json

The service will call the MyQ API to get the current garage door state, and update it every 15 minutes.

To pair, open up your Home iOS app, click the + icon, choose "Add Accessory" and then tap "Don't have a Code or Can't Scan?" You should see the garage door under "Nearby Accessories." Tap that and enter the PIN 00102003 (or whatever you chose in config.json). You should see a garage door appear in your device list.

Status

In October and November 2023, MyQ made their API much harder to access by third parties. See this article on The Verge for more details.

I've replaced my MyQ Wifi module with a Ratgdo, which I strongly recommend. As a result, I am no longer maintaining this project.

For HomeKit integration, I am using the Ratgdo's MQTT support with Home Assistant, then using its HomeKit integration to expose the garage door to HomeKit.

License

Copyright 2018-2022 Joe Shaw

myq-homekit is licensed under the MIT License. See the LICENSE file for details.

myq-homekit's People

Contributors

joeshaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.