Skip to content

phpfs/homebridge-http-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

homebridge-http-switch

A simple http switch plugin for homebridge, inspired by homebridge-http and homebridge-http-simple-switch!

Installation

(Login as root with sudo su)

git clone [email protected]:phpfs/homebridge-http-switch.git
cd homebridge-http-switch
npm install -g

Configuration

    "accessories": [
        {
	        "accessory": "HTTPSwitch",
	        "name": "MySwitch",
	        "toggle_url": "http://138.372.37.23/2673/change",
	        "status_url": "http://138.372.37.23/2673/status"
        }
    ],

HTTP Response

This Plugin expects from both toggle_url and status_url the following response: 0 for Off and 1 for On

About

An easy http switch plugin for homebridge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published