homebridge-blinds is a plugin for Homebridge.
Control your http-based blinds via Homebridge!
If you are new to Homebridge, please first read the Homebridge documentation. If you are running on a Raspberry, you will find a tutorial in the homebridge-punt Wiki.
Install homebridge:
sudo npm install -g homebridgeInstall homebridge-blinds:
sudo npm install -g homebridge-blindsAdd the accessory in config.json in your home directory inside .homebridge.
{
"accessory": "BlindsHTTP",
"name": "Window",
"up_url": "http://1.2.3.4/window/up",
"down_url": "http://1.2.3.4/window/down",
"stop_url": "http://1.2.3.4/window/stop",
"motion_time": "<time your blind needs to move from up to down (in milliseconds)>",
"http_method": "PUT",
"trigger_stop_at_boundaries": false
}You can omit http_method, it defaults to POST.
trigger_stop_at_boundaries allows you to choose if a stop command should be fired or not when moving the blinds to position 0 or 100. Most blinds dont require this command and will stop by themself, for such blinds it is advised to set this to false.
Currently the plugin only emulates the position (it saves it in a variable), because my blinds only support up and down via urls.
Feel free to contribute to make this a better plugin!