-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathconfig_example.json
144 lines (144 loc) · 3.69 KB
/
config_example.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"wifi": "",
"password": "",
"login": "",
"webpass": "",
"mqttbroker": "mqtt://192.168.8.15",
"mqttusername": "",
"mqttpasswd": "",
"timezone": "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00",
"scenes": [{
"name": "Living Room",
"type": "Light",
"icon": "livingroom",
"devices": [{
"name": "Side Light",
"setTopic": "lights/hue/00:17:88:01:02:3c:2a:6d-0b/set/on",
"getTopic": "hue/status/lights/Hue color lamp 1",
"onValue": "true",
"offValue": "false",
"icon": "bedroom"
},
{
"name": "Back Light",
"setTopic": "lights/hue/00:17:88:01:02:3c:49:f8-0b/set/on",
"getTopic": "lights/hue/00:17:88:01:02:3c:49:f8-0b/get/on",
"onValue": "true",
"offValue": "false"
},
{
"name": "Front Light",
"setTopic": "lights/hue/00:17:88:01:02:3c:4d:a0-0b/set/on",
"getTopic": "lights/hue/00:17:88:01:02:3c:4d:a0-0b/get/on",
"onValue": "true",
"offValue": "false"
},
{
"name": "Light Strip",
"setTopic": "lights/hue/7c:b0:3e:aa:00:a5:b5:0f-03/set/on",
"getTopic": "lights/hue/7c:b0:3e:aa:00:a5:b5:0f-03/get/on",
"onValue": "true",
"offValue": "false"
},
{
"name": "Desk Light",
"setTopic": "/home/devices/sevenswitch/set",
"getTopic": "/home/devices/sevenswitch/get",
"onValue": "true",
"offValue": "false"
},
{
"name": "Shelf Light",
"setTopic": "/home/devices/eightswitch/set",
"getTopic": "/home/devices/eightswitch/get",
"onValue": "true",
"offValue": "false"
}]
},
{
"name": "Bedroom",
"type": "Light",
"icon": "bedroom",
"devices": [{
"name": "Light One",
"setTopic": "lights/hue/00:15:8d:00:01:94:60:2c-01/set/on",
"getTopic": "lights/hue/00:15:8d:00:01:94:60:2c-01/get/on",
"onValue": "true",
"offValue": "false"
},
{
"name": "Light Two",
"setTopic": "lights/hue/00:15:8d:00:01:1f:a0:61-01/set/on",
"getTopic": "lights/hue/00:15:8d:00:01:1f:a0:61-01/get/on",
"onValue": "true",
"offValue": "false"
}]
},
{
"name": "Entrance",
"type": "Light",
"icon": "door",
"devices": [{
"name": "Entrance Light",
"setTopic": "/home/devices/fiveswitch/set",
"getTopic": "/home/devices/fiveswitch/get",
"onValue": "true",
"offValue": "false"
}]
},
{
"name": "Living Room",
"type": "Sensor",
"icon": "door",
"devices": [{
"name": "Living Room DHT",
"type": "combinedValues",
"firstIcon": "temperature_small",
"secondIcon": "humidity_small",
"jsondata": true,
"firstKey": "temperature",
"secondKey": "humidity",
"getTopic": "livingroom/temphumidity"
}]
},
{
"name": "Bedroom",
"type": "Sensor",
"icon": "door",
"devices": [{
"name": "Bedroom DHT Temp",
"type": "singleValue",
"jsondata": true,
"firstIcon": "temperature_small",
"firstKey": "temperature",
"getTopic": "bedroom/esptemp"
},
{
"name": "Tasmota Smart Plug",
"type": "singleValue",
"jsondata": true,
"firstKey": "Power",
"firstIcon":"wattage_small",
"getTopic": "tele/DVES_2F73BE/SENSOR"
}]
},
{
"name": "Fans",
"type": "Switch",
"icon": "fan",
"devices": [{
"name": "Bedroom",
"setTopic": "/home/devices/sixswitch/set",
"getTopic": "/home/devices/sixswitch/get",
"onValue": "true",
"offValue": "false"
},
{
"name": "Living Room",
"setTopic": "/home/devices/oneswitch/set",
"getTopic": "/home/devices/oneswitch/get",
"onValue": "true",
"offValue": "false"
}]
}]
}