summaryrefslogtreecommitdiff
path: root/doc/esp32cam_capture_diff_node.md
blob: 85a565e8b667e8c99c6280902fe313d60aaa5de6 (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
## Dependencies

[**pyssim**](https://github.com/jterrace/pyssim), which can be installed from pypi:
```
pip3 install pyssim
```

## Configuration

```
esp32cam_web_addr = "192.168.1.2:80"

[pyssim]
bin = "/home/user/.local/bin/pyssim"
width = 250
height = 375
threshold = 0.88

[node]
name = "sensor_node_name"
interval = 15
server_addr = "127.0.0.1:8311"

[logging]
verbose = true
```

To enable Telegram notifications when **pyssim** returned `score` is less then `threshold`,
add following section to the config:

```
[telegram]
chat_id = "..."
token = "..."
```