2016-05-22 00:36:43 +02:00
{
"bridge" : {
"name" : "Homebridge" ,
"username" : "AA:BB:CC:DD:EE:FF" ,
"port" : 51826 ,
"pin" : "012-34-567"
} ,
"description" : "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own." ,
"accessories" : [
{
"accessory" : "HTTP-RGB" ,
"name" : "Wohnzimmerlampe" ,
2018-11-20 21:28:31 +01:00
"service" : "Light" ,
2016-05-22 00:36:43 +02:00
"switch" : {
"status" : "http://<ESP_HOST>/get_switch" ,
2016-11-26 11:11:27 +01:00
"powerOn" : "http://<ESP_HOST>/all?r=255&g=255&b=255" ,
2016-05-22 00:36:43 +02:00
"powerOff" : "http://<ESP_HOST>/off"
} ,
"brightness" : {
"status" : "http://<ESP_HOST>/get_brightness" ,
2017-05-20 21:35:39 +02:00
"url" : "http://<ESP_HOST>/set_brightness?c=%s"
2016-05-22 00:36:43 +02:00
} ,
"color" : {
"status" : "http://<ESP_HOST>/get_color" ,
"url" : "http://<ESP_HOST>/all?rgb=%s" ,
"brightness" : true
}
}
] ,
"platforms" : [
]
2016-11-26 11:11:27 +01:00
}