diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 02:44:43 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 22:56:46 +0300 |
commit | e3d3d6b76010a6dd5c417f017339bec17fb07887 (patch) | |
tree | 42cb6194504ae863db2bf7d21ef9e2acd41d0fd2 /doc/sound_sensor_server.md | |
parent | 600fdf99ffd893857c9cdb9e68140766a963bd17 (diff) |
media: refactor sound_node, introduce camera_node
Diffstat (limited to 'doc/sound_sensor_server.md')
-rw-r--r-- | doc/sound_sensor_server.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/sound_sensor_server.md b/doc/sound_sensor_server.md new file mode 100644 index 0000000..9543562 --- /dev/null +++ b/doc/sound_sensor_server.md @@ -0,0 +1,33 @@ +## Configuration + +``` +[server] +listen = "0.0.0.0:8311" +guard_control = true +guard_recording_default = false + +[sensor_to_sound_nodes_relations] +big_house = ['bh1', 'bh2'] +john = ['john'] + +[sensor_to_camera_nodes_relations] +big_house = ['bh'] +john = ['john'] + +[sound_nodes] +bh1 = { addr = '192.168.1.2:8313', durations = [7, 30] } +bh2 = { addr = '192.168.1.3:8313', durations = [10, 60] } +john = { addr = '192.168.1.4:8313', durations = [10, 60] } + +[camera_nodes] +bh = { addr = '192.168.1.2:8314', durations = [7, 30] } +john = { addr = '192.168.1.4:8314', durations = [10, 60] } + +[api] +token = "..." +host = "..." + +[logging] +verbose = false +default_fmt = true +```
\ No newline at end of file |