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!
- Install Homebridge
- Install this plugin
sudo npm install -g homebridge-http-slider
- Add this plugin as accessory to your
config.json
file
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
service
s areLightbulb
,Fan
andThermostat
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
},
...