homebridge-nodemculock

1.0.0 • Public • Published

NodeMCULock Plugin

Example config.json:

{
  "accessories": [
    {
        "accessory": "NodeMCULock",
        "name": "Front Door",
        "url": "your-custom-or-homegrown-service-url",
		"lock-id": "1",
        "username" : "your-username",
		"password" : "your-password"
    }
  ]
}

This plugin based on volca/homebridge-esplock but I have disabled autolock funtion, supports locks controlled by any custom HTTP endpoint via GET (to get state, either "locked" or "unlocked"), and POST (to set new state, same two values). The "lock-id", "username" and "password" parameters are passed along to "url" in each GET request. The same parameters plus "state" are passed along to "url" in each POST request.

See Siri HomeKit Controlled ESP8266 Lock

Readme

Keywords

Package Sidebar

Install

npm i homebridge-nodemculock

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

6.8 kB

Total Files

3

Last publish

Collaborators

  • phat2k4