-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_example.json
More file actions
96 lines (96 loc) · 1.4 KB
/
config_example.json
File metadata and controls
96 lines (96 loc) · 1.4 KB
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
{
"lights": [
{
"name": "light_1",
"type": "neopixel",
"tran_time": 750,
"num_leds": 71,
"pins": [
5
],
"color_correction": [
255,
215,
220
],
"udp": {
"enable": true,
"timeout": 30000
}
},
{
"name": "light_2",
"type": "pwm",
"tran_time": 750,
"type_pwm": "rgb",
"pins": [
12,
14,
13
],
"color_correction": [
255,
255,
255
]
},
{
"name": "light_3",
"type": "pwm",
"tran_time": 750,
"type_pwm": "bri",
"pins": [
12
]
}
],
"other": [
{
"type": "ir_send",
"name": "ir",
"pins": [
14
]
}
],
"sensors": [
{
"type": "dht22",
"interval" : 10,
"pins": [
5
]
}
],
"mqtt": {
"topic": "esp1",
"server": "192.168.0.X MQTT_SERVER",
"user": "MQTT_USER",
"pw": "MQTT_PASSWD",
"debug": true
},
"ota": {
"name": "esp-test1",
"pw": ""
},
"events": [
{
"on": "any_light_on",
"event": {
"type": "gpout",
"pin": 12,
"level": 1
},
"delay": 0
},
{
"on": "all_lights_off",
"event": {
"type": "gpout",
"pin": 12,
"level": 0
},
"delay": 750
}
]
}