Giter Club home page Giter Club logo

apple-homebridge-door-lock's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jedwood dkdenu

apple-homebridge-door-lock's Issues

In sample config.json, HTTPLock

Docs show
"accessory": "HttpLock",

Sample config.json shows

"accessory": "Httplock",

However, when running Homebridge on macOS, these errors will appear:

Error: The requested accessory 'HttpLock' was not registered by any plugin.
Error: The requested accessory 'Httplock' was not registered by any plugin.

If I change it to "HTTPLock" it works.

"accessory": "HTTPLock",

Homebridge service crashes

After adding the sample config.json, homebridge now crashes on load.

This is my config.json.

Also, what is the purpose of the username and password?
`{
"bridge": {
"name": "Homeblock",
"username": "CC:40:3D:E3:CE:30",
"port": 51826,
"pin": "888-88-888"
},

"description": "Homebridge Homeblock", "accessories": [
{
"accessory": "HttpLock",
"name": "Door",
"url": "http://192.168.1.10/",
"lock-id": "1",
"username": "Your_Username",
"password": "Your_Password"
}
]
}
`

Error with getting current battery...

Hi,

first of all: Great work! Thank you!

I made a similar hardware setup with esp8266. Unfortunately I get an error when running homebridge:

First everything is running fine and I can see a lock accessory in the Home-app on iOS.
But after a while I get this error in the command window:

[2017-07-30 15:41:35] [Haustür] Getting current state...
[2017-07-30 15:41:35] [Haustür] Getting current state...
[2017-07-30 15:41:36] [Haustür] Getting current battery...
/usr/lib/node_modules/homebridge-lock/index.js:62
this.log("Error getting state (status code %s): %s", response.statusCode, err);
^

TypeError: Cannot read property 'statusCode' of undefined
at LockAccessory. (/usr/lib/node_modules/homebridge-lock/index.js:62:74)
at self.callback (/usr/lib/node_modules/homebridge-lock/node_modules/request/request.js:373:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/lib/node_modules/homebridge-lock/node_modules/request/request.js:971:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)

Do you know a solution for this?

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.