-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmailbox.cfg
53 lines (53 loc) · 1.87 KB
/
mailbox.cfg
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
// Warning the file must be in UTF-8 without BOM Header. Otherwise the ArduinoJSON library failures.
"wifi" :{
// Size max :30
"ip_static" : "192.168.5.141",
// Size max :30 - mandatory if ip_static attribut
"gateway" : "192.168.5.1",
// Size max :30 - mandatory if ip_static attribut
"subnet" : "255.255.255.0",
// Size max :30 - mandatory if ip_static attribut
"dns_ip_primary" : "192.168.5.1",
// Size max :30 - mandatory if ip_static attribut. Can be the same that dns_ip_primary attribute.
"dns_ip_secondary" : "192.168.5.1",
// Size max : 50 - mandatory
"ssid":"Your WIFi SSID",
// Size max : 50 - mandatory
"security_code":"Your Code"
},
"gmail_credentials" : {
// Size max : 150
"refresh_token":"OAuth Refresh Token retrieved for your Application Google Cloud Platform. One scope : https://www.googleapis.com/auth/gmail.send",
// Size max : 100
"client_id":"You Client Id from your Web Application",
// Size max : 50
"client_secret":"Your Client Secret from your Web Application"
},
"email" : {
// Size max : 50
"from":"[email protected]",
// Size max : 100
// "to":"[email protected],[email protected]" Can be a list of mail addresses separator : ,
"to":"[email protected]",
// Size max : 100
"subject_door":"[Mailbox] Packet",
// Size max : 150
"body_door":"You probably received a package today.\nHave a nice Day !",
// Size max : 100
"subject_flip_door" : "[Mailbox] Letter",
// Size max : 150
"body_flip_door" : "You probably received a letter today.\nHave a nice Day !"
},
"sms" : {
// Can be a list of URLs separator : , |
"url" : "https://smsapi.free-mobile.fr/sendmsg?user=<Your Client ID>&pass=<Your API Key>&msg=",
"body_door" : "[Mailbox] Package\nHave a Nice day !",
"body_flip_door" : "[Mailbox] Letter\nHave a Nice day !"
},
"control" : {
// Size max : 10
"retry" : "2",
// Size max : 10
"overtime_open_door" : "20000"
}
}