forked from ZoneMinder/zmeventnotification
-
Notifications
You must be signed in to change notification settings - Fork 10
/
es_rules.json
39 lines (34 loc) · 1.08 KB
/
es_rules.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
{
"notifications": {
"monitors":{
"999": {
"rules": [{
"comment1": "Be careful with dates, no leading spaces, etc",
"time_format":"%I:%M %p",
"from":"9:30 pm",
"to":"1 am",
"cause_has": "person",
"daysofweek": "Mon,Tue,Wed",
"action": "mute"
},
{
"time_format": "%I:%M %p",
"from": "3 am",
"to": "6 am",
"action": "mute",
"comment1": "the pattern below is a negative match",
"cause_has": "^(?!.*(plant|cat|dog)).*$"
}
]
},
"998": {
"rules": [{
"time_format":"%I:%M %p",
"from":"5 pm",
"to":"7 am",
"action":"mute"
}]
}
}
}
}