mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
[MiLight] Update config-sample.json to replace MiLight accessory with MiLight platform
This commit is contained in:
@@ -71,7 +71,17 @@
|
|||||||
"platform": "YamahaAVR",
|
"platform": "YamahaAVR",
|
||||||
"play_volume": -35,
|
"play_volume": -35,
|
||||||
"setMainInputTo": "AirPlay"
|
"setMainInputTo": "AirPlay"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"platform": "MiLight",
|
||||||
|
"name": "MiLight",
|
||||||
|
"ip_address": "255.255.255.255",
|
||||||
|
"port": 8899,
|
||||||
|
"type": "rgbw",
|
||||||
|
"delay": 30,
|
||||||
|
"repeat": 3,
|
||||||
|
"zones":["Kitchen Lamp","Bedroom Lamp","Living Room Lamp","Hallway Lamp"]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
"accessories": [
|
"accessories": [
|
||||||
@@ -152,16 +162,6 @@
|
|||||||
"port" : 4999, // Port the SER2SOCK process is running on
|
"port" : 4999, // Port the SER2SOCK process is running on
|
||||||
"pin": "1234" // PIN used for arming / disarming
|
"pin": "1234" // PIN used for arming / disarming
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"accessory":"MiLight",
|
|
||||||
"name": "Lamp",
|
|
||||||
"ip_address": "255.255.255.255",
|
|
||||||
"port": 8899,
|
|
||||||
"zone": 1,
|
|
||||||
"type": "rgbw",
|
|
||||||
"delay": 35,
|
|
||||||
"repeat": 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"accessory": "Tesla",
|
"accessory": "Tesla",
|
||||||
"name": "Tesla",
|
"name": "Tesla",
|
||||||
|
|||||||
Reference in New Issue
Block a user