Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 772 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 772 Bytes

EspLock Plugin

Example config.json:

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

This plugin 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