Skip to content

Commit ef3cdb7

Browse files
committed
2 parents 06bd44b + eb04b0e commit ef3cdb7

File tree

3 files changed

+6
-123
lines changed

3 files changed

+6
-123
lines changed

homebridge-zae/README.md

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,15 @@
1-
# homebridge-http
1+
# homebridge-zae
22

3-
Supports https devices on the HomeBridge Platform and provides a readable callback for getting the "On" and brightness level characteristics to Homekit.
3+
Supports devices managed by ZWAVE automation engine.
44

55
# Installation
66

77
1. Install homebridge using: npm install -g homebridge
8-
2. Install homebridge-http using: npm install -g homebridge-http
9-
3. Update your configuration file. See sample-config.json in this repository for a sample.
8+
2. Update your configuration file. See config.json.sample in this repository for a sample.
9+
3. Start homebridge with -P <path to plugin>
1010

1111
# Configuration
1212

13-
This module has recently been updated to support an additional method to read the power state of the device and the brightness level. Specify the `status_url` in your config.json that returns the status of the device as an integer (0 = off, 1 = on).
13+
Simply set host and port.
1414

15-
Specify the `brightnesslvl_url` to return the current brightness level as an integer.
16-
17-
Switch Handling and brightness Handling support 3 methods, yes for polling on app load, realtime for constant polling or no polling
18-
19-
Configuration sample:
20-
21-
```
22-
"accessories": [
23-
{
24-
"accessory": "Http",
25-
"name": "Alfresco Lamp",
26-
"switchHandling": "realtime",
27-
"http_method": "GET",
28-
"on_url": "http://localhost/controller/1700/ON",
29-
"off_url": "http://localhost/controller/1700/OFF",
30-
"status_url": "http://localhost/status/100059",
31-
"service": "Light",
32-
"brightnessHandling": "yes",
33-
"brightness_url": "http://localhost/controller/1707/%b",
34-
"brightnesslvl_url": "http://localhost/status/100054",
35-
"sendimmediately": "",
36-
"username" : "",
37-
"password" : ""
38-
}
39-
]
40-
```
41-
42-
#ToDo
43-
44-
Complete documentation and review a number of forks
15+
# Inspired by homebridge-http plugin

homebridge-zae/package.json.orig

Lines changed: 0 additions & 62 deletions
This file was deleted.

homebridge-zae/sample-config.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)