Supports all devices on HomeBridge Platform / Bridges devices to http
- Install homebridge using: npm install -g homebridge
- Install this plugin using: npm install -g homebridge-http-accessory
- Update your configuration file. See sample-config.json in this repository for a sample.
Configuration sample:
{
"bridge": {
"name": "Homebridge",
"username": "C1:38:5A:AC:39:30",
"port": 51826,
"pin": "123-45-678"
},
"description": "This is an example configuration for the Everything Homebridge plugin",
"accessories": [
{
"accessory": "HttpAccessory",
"service": "Thermostat",
"name": "Thermostat (Maison)",
"apiBaseUrl": "http://localhost:8080/thermostat",
"apiSuffixUrl": "",
"forceRefreshDelay": 0
},
{
"accessory": "HttpAccessory",
"service": "Thermostat",
"name": "Fan",
"apiBaseUrl": "http://localhost:8080/fan",
"apiSuffixUrl": "",
"forceRefreshDelay": 0,
"optionCharacteristic": ["RotationSpeed"]
},
{
"accessory": "HttpAccessory",
"service": "Switch",
"name": "Force Chauffe-eau",
"apiBaseUrl": "http://localhost:8080/switch",
"apiSuffixUrl": "",
"forceRefreshDelay": 0
}
],
"platforms": []
}
AccessoryInformation AirQualitySensor BatteryService BridgeConfiguration BridgingState CameraControl CameraRTPStreamManagement CarbonDioxideSensor CarbonMonoxideSensor ContactSensor Door Doorbell Fan GarageDoorOpener HumiditySensor LeakSensor LightSensor Lightbulb LockManagement LockMechanism Microphone MotionSensor OccupancySensor Outlet Pairing ProtocolInformation Relay SecuritySystem SmokeSensor Speaker StatefulProgrammableSwitch StatelessProgrammableSwitch Switch TemperatureSensor Thermostat TimeInformation TunneledBTLEAccessoryService Window WindowCovering