forked from andrewshilliday/garage-door-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
60 lines (60 loc) · 1.56 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
51
52
53
54
55
56
57
58
59
60
{
"config":{
"use_https":false,
"use_auth":true,
"use_alerts":true,
"use_openhab":false
},
"alerts":{
"time_to_wait":10,
"alert_type":null,
"smtp":{
"smtphost":"<SMTP HOST>",
"smtpport":587,
"smtp_tls":"True",
"username":"<USERNAME EMAIL ADDRESS>",
"password":"<PASSWORD>",
"to_email":"<TO EMAIL ADDRESS>",
"subject":"<EMAIL SUBJECT>"
},
"pushbullet":{
"access_token":"<ACCESS TOKEN>"
},
"pushover":{
"user_key":"<PUSHOVER USER KEY>",
"api_key":"<PUSHOVER API TOKEN/KEY>"
}
},
"openhab":{
"server":"",
"port":""
},
"site":{
"port":8081,
"port_secure":8444,
"username":"user",
"password":"12345",
"ssl_key":"/home/pi/garage-door-controller-cert/localhost.key",
"ssl_cert":"/home/pi/garage-door-controller-cert/localhost.crt"
},
"doors":{
"left":{
"name":"LEFT",
"relay_pin":23,
"state_pin":27,
"state_pin_closed_value":0,
"approx_time_to_close":15,
"approx_time_to_open":15,
"openhab_name":"g_door_left"
},
"right":{
"name":"RIGHT",
"relay_pin":24,
"state_pin":21,
"state_pin_closed_value":0,
"approx_time_to_close":15,
"approx_time_to_open":15,
"openhab_name":"g_door_right"
}
}
}