|
1 |
| -# homebridge-http |
| 1 | +# homebridge-zae |
2 | 2 |
|
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. |
4 | 4 |
|
5 | 5 | # Installation
|
6 | 6 |
|
7 | 7 | 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> |
10 | 10 |
|
11 | 11 | # Configuration
|
12 | 12 |
|
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. |
14 | 14 |
|
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 |
0 commit comments