Git Product home page Git Product logo

liftmaster_myq's Introduction

LiftmasterMyq

Ruby gem to control a Chaimberlain Liftmaster MyQ system. Partial documentation of the API is available at http://docs.unofficialliftmastermyq.apiary.io/

Installation

Add this line to your application's Gemfile:

gem 'liftmaster_myq'

And then execute:

$ bundle

Or install it yourself as:

$ gem install liftmaster_myq-X.X.X.gem (Note: X.X.X should be changed to the current version number)

Usage

To create the gem:

$ gem build /path/to/liftmaster_myq/liftmaster_myq.gemspec

To instantiate the system:

$ require 'liftmaster_myq'
$ system = LiftmasterMyq::System.new('your_username','your_password')

To see your device list in all it's ruby glory:

$ system.gateways
$ system.garage_doors
$ system.garage_doors.count

Have fun with:

$ system.garage_doors[0].open
$ system.garage_doors[0].close
$ system.garage_doors[0].status

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

liftmaster_myq's People

Contributors

mharris717 avatar pfeffed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liftmaster_myq's Issues

API Down?

I get all the time this Error:

{
"ReturnCode": "216",
"ErrorMessage": "Unauthorized (216)",
"CorrelationId": "eda79a01-352e-4cb7-a78f-147f6f47e3ec"
}

Is the API Down?

best Jan

Password shouldnt be a query parameter

URI encoding the password and passing it as a query parameter to login is a security vulnerability. Is there support for passing password in a POST body instead?

Get App ID

I am wanting to see how you got your app ID for Chamberlin. I am trying to build something similar for Alexa but need to get an APP ID. I submitted a request on there site to become a partner.

Any help would be appreciated.

Door close no longer working

After the latest Chamberlain update, the door close command (desireddoorstate = 2) is no longer working. The API just throws a generic error. The open command (desireddoorstate = 1) still works fine. Any ideas on this?

Update: I figured it out I think. DesiredDoorState for close is achieved now by sending 0.

Confirm API still working

When I do the login with what I believe to be the right password I get:

{"SecurityToken"=>"", "ReturnCode"=>"0", "ErrorMessage"=>"please contact customer care, supportID: 11570394783579020977", "CorrelationId"=>""}

Request Denied

Seems like Chamberlain may have totally shut down the myqexternal.myqdevice.com endpoint. I get Request Denied for a simple auth call.

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.