Skip to content
/ myq Public
forked from joeshaw/myq

Go package and CLI tool for the Chamberlain / LiftMaster MyQ API

License

Notifications You must be signed in to change notification settings

brndnsvr/myq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyQ

GoDoc

myq is a Go package and command-line tool providing access to the Liftmaster / Chamberlain MyQ API.

I forked this straight from https://github.com/joeshaw/myq and fixed the Sept 2023 issues that were causing API calls to fail becuase of the missing user-agent.

With the MyQ API you can get a list of devices and open and close garage doors and gates.

Command-line tool

The myq tool can be installed with:

go install github.com/joeshaw/myq/cmd/myq@latest

Run myq by itself to see full usage information.

To list devices:

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

To open a door:

myq -username <username> -password <password> open <device ID>

To close a door:

myq -username <username> -password <password> open <device ID>

Usernames and passwords can also be provided through the environment variables MYQ_USERNAME and MYQ_PASSWORD.

MyQ protocol

David Pfeffer's MyQ API reference on Apiary was a helpful reference.

David also has an implementation in Ruby: https://github.com/pfeffed/liftmaster_myq

ArrayLab has a Python implementation: https://github.com/arraylabs/pymyq

J. Nunn has a Python implementation that ties in with Amazon Alexa: https://github.com/jbnunn/Alexa-MyQGarage

HJD has a JavaScript implementation: https://github.com/hjdhjd/myq

Contributing

Issues and pull requests are welcome. When filing a PR, please make sure the code has been run through gofmt.

License

Copyright 2018 Joe Shaw

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

About

Go package and CLI tool for the Chamberlain / LiftMaster MyQ API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%