blob: 9f1c008214de484926f8f9bfdca1960cd44c6aa7 (
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
|
# Sensors Bot
Configuration is stored in **`~/.config/sensors_bot/config.toml`**.
Example:
```toml
[bot]
token = "..."
users = [
1, # user 1
2, # user 2
3, # user 3
]
[api]
token = ..."
[sensors.name1]
ip = "192.168.0.2"
port = 8306
label_ru = "Тут"
label_en = "Here"
[sensors.name2]
ip = "192.168.0.3"
port = 8307
label_ru = "Там"
label_en = "There"
[logging]
verbose = false
```
|