0.0.1 • Published 6 years ago

homebridge-http-slider v0.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

homebridge-http-slider

A homebridge plugin to provide a simple slider, that calls specific http-urls at specific states.

(At the moment) There is no polling or requesting of an actual state from an http-server possible!

Installation

  1. Install Homebridge
  2. Install this plugin sudo npm install -g homebridge-http-slider
  3. Add this plugin as accessory to your config.json file

Configuration

Inside the Homebridge config.json

Mandatory

...
    "accessories": [
        {

Mandatory

            "accessory": "Slider",
            "name": "Slider Name",
            "service": "Lightbulb",
            "http_states": [
                "http://127.0.0.1/0",
                "http://127.0.0.1/1",
                "http://127.0.0.1/2"
            ],
  • name can be freely chosen
  • Supported services are Lightbulb, Fan and Thermostat
  • http_states http-urls who get called when the slider gets set to a specific state. A low index in the array represents a low value/state in the slider.

Optional

            "thermo_range_high": 100,
            "thermo_range_low": 0
  • Interval of values when using the Thermostat service
        },
...
0.0.1

6 years ago