1.0.0 • Published 4 years ago

homebridge-eedomus-lock v1.0.0

Weekly downloads
37
License
-
Repository
github
Last release
4 years ago

homebridge-eedomus-lock

npm npm

Description

To date, eedomus does not present locking accessories to its HomeKit bridge. You can use this plugin to fix this!

Please note, since version 0.3.0, the config.json structure has changed and must be modified before restarting homebridge.

This version add support for push update via eedomus webhook for real time response. You can still use it with auto refresh instead if you don't want to create a webhook.

Parameters

accessory : "eedomusLock" (Mandatory)
name : Name in HomeKit
periph_id : eedomus API accessory ID
eedomus_ip : Local ip address or "cloud"
api_user : eedomus API user
api_secret : eedomus API secret
refresh : refresh interval in seconds

config.json

"accessories": [
    {
    "accessory": "eedomusLock",
    "name": "Door lock",
    "periph_id" : 1234567,
    "eedomus_ip" : "x.x.x.x",
    "api_user" : "XXXXXXX",
    "api_secret" : "YYYYYYY",
    "refresh" : 60,
    "push" : true,
    "path" : "eedomus-lock",
    "port" : 3210
    }
]

Push options

To use this option, you must configure an HTTP Webhook triggered by the change of state of the locking accessory.

Create an HTTP action and configure two values corresponding to the lock state. Modify the other parameters and check the URL according to your Homebridge instance:

Next create a rule to trigger this webhook when accessory state change:

push configuration

The activation of push option desactivate the auto refresh.
push : true ou false (default false)

To avoid potential conflict with any other web service, the default path and port are voluntary specials.
path : webserver path to listen (default: "eedomus-lock")
port : webserver port to listen (default: 3210)

1.0.0

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago