-
Notifications
You must be signed in to change notification settings - Fork 3
Config.json example
hplato edited this page Dec 16, 2016
·
2 revisions
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "description",
"accessories": [
{
"accessory": "HttpMulti",
"name": "Fan",
"on_url": "http://server:80/SET?item=fan&state=on",
"off_url": "http://server:80/SET?item=fan&state=off",
"speed_url": "http://server:80/SET?item=fan&state=%VALUE%",
"status_url": "http://server:80/status%28fan%29",
"deviceType": "fan"
},
{
"accessory": "HttpMulti",
"name": "switch",
"on_url": "http://server:80/SET?item=switch&state=on",
"off_url": "http://server:80/SET?item=switch&state=off",
"status_url": "http://server:80/status%28switch%29",
"deviceType": "switch"
},
{
"accessory": "HttpMulti",
"name": "light",
"on_url": "http://server:80/SET?item=light&state=on",
"off_url": "http://server:80/SET?item=light&state=off",
"brightness_url": "http://server:80/SET?item=light&state=%VALUE%",
"status_url": "http://server:80/status%28light%29",
"deviceType": "light"
},
{
"accessory": "HttpMulti",
"name": "Lock",
"lock_url": "http://server:80/SET?item=lock&state=lock",
"unlock_url": "http://server:80/SET?item=lock&state=unlock",
"status_url": "http://server:80/status%28lock%29",
"deviceType": "lock"
},
{
"accessory": "HttpMulti",
"name": "Garage Door",
"up_url": "http://server:80/SET?item=garagedoor&state=up",
"down_url": "http://server:80/SET?item=garagedoor&state=down",
"status_url": "http://server:80/status%28garagedoor%29",
"deviceType": "garagedoor"
},
{
"accessory": "HttpMulti",
"name": "Blinds",
"up_url": "http://server:80/SET?item=blinds&state=up",
"down_url": "http://server:80/SET?item=blinds&state=down",
"status_url": "http://server:80/status%28blinds%29",
"deviceType": "blinds"
},
{
"accessory": "HttpMulti",
"name": "thermostat",
"mode_url": "http://server:80/SET?item=stat&state=%VALUE%",
"status_url": "http://server:80/status%28stat%29",
"setpoint_url": "http://server:80/thermo_set_setpoint%stat,%VALUE%%29",
"gettemp_url": "http://server:80/thermo_get_setpoint%stat%29",
"unit_type": "C",
"deviceType": "thermostat"
}
]
}