bryan-bartow / homebridge-alarm.com

Alarm.com plugin for Homebridge
ISC License
43 stars 11 forks source link

Door Locks #10

Closed yungsters closed 8 years ago

yungsters commented 8 years ago

Alarm.com supports integration with various third party home automation accessories like door locks. Would you be opposed to converting this plugin to install as a platform instead of as a single accessory?

As a platform, this plugin would be able to provide the security panel as one accessory and any door locks as additional accessories. I've already confirmed that the mobile version of their site supports both door locks.

bryanbartow commented 8 years ago

Not opposed to it at all, although I don't have any devices to test with. I'll need to read up on the platform docs for Homebridge to see what's different for those plugins vs the accessory plugins. Of course, if someone wants to submit a PR, I'm all ears :)

ghost commented 8 years ago

Count me in to test this. Thanks gentlemen

bryanbartow commented 8 years ago

@jeremysmith214 Test away...

ghost commented 8 years ago

Questions about the locks. Do I configure the locks in my config file. Thanks Gentlemen

yungsters commented 8 years ago

You shouldn't need to. The plugin searches your account for any locks when Homebridge starts up.

ghost commented 8 years ago

For some reason its not finding any locks.

ghost commented 8 years ago

The error I have is the following:

Error while getting lock devices: TypeError: Cannot read property 'map' of undefined