Skip to content

datMaffin/homebridge-http-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
        },
...

About

Homebridge plugin for a simple slider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published