forked from ilcato/homebridge-blynk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
executable file
·43 lines (41 loc) · 1.38 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file.",
"platforms": [
{
"platform": "Blynk",
"name": "Blynk",
"serverurl": "PUT THE URL OF THE BLYNK SERVER HERE, e.g.: http://10.0.0.102:8080",
"token" : "PUT YOUR PROJECT AUTHORIZATION TOKEN HERE",
"pollerperiod": "PUT 0 FOR DISABLING POLLING, 1 - 100 INTERVAL IN SECONDS. 1 SECONDS IS THE DEFAULT",
"accessories": [
{
"name": "Switch1",
"widget": "Switch",
"mode": "SWITCH",
"caption": "Main Lamp",
"pin": "D3"
},
{
"name": "ContactSensor1",
"widget": "ContactSensor",
"caption": "Main Door",
"pin": "D2"
},
{
"name": "TemperatureSensor1",
"widget": "TemperatureSensor",
"caption": "Kitchen Temperature",
"pin": "A17"
}
]
}
],
"accessories": [
]
}