summaryrefslogtreecommitdiff
path: root/doc/ipcam_server.md
blob: f4430943905bed1ce9e233016ea17ff5a85d2f9c (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
# ipcam_server.py

## Configuration

Config example (`yaml`)

```
server:
  listen: 0.0.0.0:8320

camera:
  1:
    recordings_path: "/data1/cam-1"
    motion_path: "/data1/cam-1/motion"
  2:
    recordings_path: "/data2/cam-2"
    motion_path: "/data2/cam-2/motion"
  3:
    recordings_path: "/data3/cam-3"
    motion_path: "/data3/cam-3/motion"

motion:
  padding: 2

logging:
  verbose: true
  
motion_threshold: 1
```

## Usage

Use provided systemd unit file.