-
Notifications
You must be signed in to change notification settings - Fork 0
/
alert.conf
101 lines (75 loc) · 1.14 KB
/
alert.conf
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
97
98
99
100
# Configuration for the alert_pi project
########################################
#
# Main configuration
#
[alert]
# Email funktion
email = False
# Telefonfunktion to call a number
telefon = False
# Time ot sleep the programm after each input check
time_interval = 0.5
# Target path to save the logs
logfile = /var/www/alert/log.txt
#
# Configuration to send a email
#
[email]
user = [email protected]
password = XXXxxxXXX
sender = User App <[email protected]>
host = smtp.gmx.net
port = 25
recipient = Max Mustermann <[email protected]>
attach_log = False
#
# Inputs
#
# Info: section = [input-xx]
[input-01]
name = Input 1
pin = 11
[input-02]
name = Input 2
pin = 12
[input-03]
name = Input 3
pin = 13
[input-04]
name = Input 4
pin = 15
[input-05]
name = Input 5
pin = 32
[input-06]
name = Input 6
pin = 33
[input-07]
name = Input 7
pin = 36
[input-08]
name = Input 8
pin = 38
#
# Outputs
#
# Info: section = [output-xx]
[output-01]
name = Output 1
pin = 16
[output-02]
name = Output 2
pin = 18
[output-03]
name = Output 3
pin = 22
[output-04]
name = Output 4
pin = 35
[output-05]
name = Output 5
pin = 37
[output-06]
name = Output 6
pin = 40