forked from andrewshilliday/garage-door-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
50 lines (50 loc) · 1.2 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
44
45
46
47
48
49
50
{
"config" : {
"use_alerts" : false,
"use_auth" : false,
"use_openhab" : false,
"use_smartthings" : true
},
"openhab" : {
"server" : "<SERVER_IP_ADDRESS>",
"port" : "<OPENHAB_SERVER_PORT>"
},
"doors" : {
"left" : {
"approx_time_to_close" : 10,
"name" : "left",
"openhab_name" : "g_door_left",
"approx_time_to_open" : 13,
"relay_pin" : 23,
"state_pin" : 17
},
"right" : {
"approx_time_to_close" : 10,
"name" : "right",
"openhab_name" : "g_door_right",
"approx_time_to_open" : 13,
"state_pin" : 27,
"relay_pin" : 24
}
},
"alerts" : {
"smtp" : {
"username" : "<USERNAME EMAIL ADDRESS>",
"smtp_tls" : "True",
"smtpport" : 587,
"password" : "<PASSWORD>",
"smtphost" : "<SMTP HOST>",
"to_email" : "<TO EMAIL ADDRESS>"
},
"pushbullet" : {
"access_token" : "<PUSHBULLET ACCESS TOKEN>"
},
"time_to_wait" : 10,
"alert_type" : "<smtp OR pushbullet"
},
"site" : {
"username" : "user",
"port" : 80,
"password" : "12345"
}
}