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