blob: 93241bec5d3d12722e9ea17cb95f81badd63db07 (
plain)
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
|
# sound_bot
## Configuration example
```yaml
bot:
token: "..."
users: [1, 2]
manual_record_allowlist: [ 1 ]
notify_users: [ 1, 2 ]
record_intervals: [15, 30, 60, 180, 300, 600]
guard_server: "1.2.3.4:8311"
api:
token: "..."
host: "..."
nodes:
name1:
addr: "1.2.3.4:8313"
label:
ru: "название 1"
en: "name 1"
name2:
addr: "1.2.3.5:8313"
label:
ru: "название2"
en: "name 2"
sound_sensors:
name1:
ru: "название 1"
en: "name 1"
name2:
ru: "название 2"
en: "name 2"
cameras:
cam1:
label:
ru: "название 1"
en: "name 1"
type: esp32
addr: "1.2.3.4:80"
settings:
framesize: 9
vflip: true
hmirror: true
lenc: true
wpc: true
bpc: false
raw_gma: false
agc: true
gainceiling: 5
quality: 10
awb_gain: false
awb: true
aec_dsp: true
aec: true
flash: true
logging:
verbose: false
default_fmt: true
```
## Dependencies
```
apt install python3-pil
```
|