Git Product home page Git Product logo

homebridge-platform-myq's People

Contributors

mrose17 avatar rainlake avatar

Stargazers

 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

homebridge-platform-myq's Issues

Q: why the use of `moment(...)` when calling `this.log(...)`

it seems redundant given that the homebridge Logger puts out a timestamp at the beginning of entry entry. if the timestamp format isn't desirable (and i agree it isn't), wouldn't it be better to submit a PR that lets the user specify the timestamp format in "config.json" ?

just a thought.

The requested platform 'MyQ' was not registered by any plugin

Has something changed with this plugin? I had it working for quite a while and recently uninstalled homebridge, brew, and everything else because I was having an issue with a different plugin. Now I'm getting the above error when trying to run homebridge. Any ideas or help? Thanks!

Wouldn't close the door if it was stopped

Left garage half open to get some fresh air through, tried to close it remotely and it wouldn't work. The log shows:

[10/24/2016, 10:10:46 AM] [MyQ Platform] Set state to 0
[10/24/2016, 10:10:46 AM] [MyQ Platform] Can not open door, current state is:[4]
...
[10/24/2016, 10:13:05 AM] [MyQ Platform] Set state to 1
[10/24/2016, 10:13:05 AM] [MyQ Platform] Can not close door, current state is:[4]

Chamberlain app defines the garage state as "Stopped", and closes the garage fine from the official app, but homekit is not responding.

Q: why two accessories instead of one?

obviously, one is the controller (e.g., "CG084301....") and the other the actual garage door, but what is the reason for making both visible to homebridge? when i use the garage door, having it open/close works fine. not so with the controller.

i'm sure i'm missing the nuance here. thanks!

MyQ Lights

Wil, this plugin support the LiftMaster MyQ lights as well?

API changes break homebridge-platform-myq

As of today, starting Homebridge gives the following error:

[8/6/2019, 9:33:00 PM] [MyQ Platform] Initializing MyQ platform...
[8/6/2019, 9:33:00 PM] [MyQ Platform] MyQ Server error, returncode=[undefined], errormessage=[undefined]
[8/6/2019, 9:33:00 PM] Error: homebridge-platform-myq has intentially brought down HomeBridge - please fix your configuration!
    at MyQPlatform.<anonymous> (/usr/lib/node_modules/homebridge-platform-myq/index.js:309:15)
    at Request._callback (/usr/lib/node_modules/homebridge-platform-myq/index.js:58:28)
    at Request.self.callback (/usr/lib/node_modules/homebridge-platform-myq/node_modules/request/request.js:185:22)
    at Request.emit (events.js:198:13)
    at Request.<anonymous> (/usr/lib/node_modules/homebridge-platform-myq/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:198:13)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/homebridge-platform-myq/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:286:20)
    at IncomingMessage.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1129:12)
[8/6/2019, 9:33:00 PM] Got SIGTERM, shutting down Homebridge...

This appears to be due to substantial API changes at Chamberlain's servers. There is a discussion that may be helpful at:
arraylabs/pymyq#22

Fails to add accessory b/c of missing displayName

I'm seeing this when I add this plugin to my config:

[MyQ Platform] Initializing platform accessory 'Garage Door Opener'...
[MyQ Platform] Initializing platform accessory ''...
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:45
  if (!displayName) throw new Error("Accessories must be created with a non-empty displayName.");
                    ^

Error: Accessories must be created with a non-empty displayName.
    at new Accessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:45:27)
    at Server._createAccessory (/usr/local/lib/node_modules/homebridge/lib/server.js:375:21)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:343:32)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
    at MyQPlatform.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-myq/index.js:292:13)
    at Request._callback (/usr/local/lib/node_modules/homebridge-platform-myq/index.js:170:31)
    at Request.self.callback (/usr/local/lib/node_modules/homebridge-platform-myq/node_modules/request/request.js:199:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-myq/node_modules/request/request.js:1036:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-platform-myq/node_modules/request/request.js:963:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)

Login Errors

This plugin works great and perfectly links MyQ to Smarthings and HomeKit.
Then yesterday it started generating login errors every minute

with the comment
"{ Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:162:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }"

I'm guessing that the LiftMaster Company has changed their security protocols or something. The system still works... for now.

Incorrect "Opening" status

If accessory status is "Open" and door is closed outside of accessory, accessory status changes to "Opening..." and remains in that status indefinitely unless accessory tapped by user. At that point status immediately (and correctly) changes to "Closed".

Two Garages

Hi there!!

I was wondering why i'm showing two garages. I have a 2 car garage that is controlled but one remote but when I look in any automation apps, I have my "Garage Door" then I also have some "CG084309..." also appearing. Here is my config:

{
"platform": "MyQ",
"name": "MyQ Platform",
"user": "XXXXXXXXX",
"pass": "XXXXXXXX,",
"brand": "Chamberlain"
}]

Please create a fork of the Liftmaster plugin rather than creating a new one

Liftmaster and Chamberlain both use the same servers. Liftmaster has gone through a lot more testing, and is most likely more stable. I appreciate the initiative you showed to create a new plugin but there are now 3 or 4 plugin that all do the same thing. It has become confusing to the user one which one they should download

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.