th7/config.toml

37 lines
643 B
TOML
Raw Normal View History

2023-11-21 16:19:20 +00:00
# TH7 demo configuration file.
2022-11-12 14:20:29 +00:00
[TH7]
2023-11-21 16:19:20 +00:00
port = 9090 # web port
debug = true # enable to use simulated PCB for development
2022-11-12 14:20:29 +00:00
2023-11-21 18:44:31 +00:00
# all DB settings are individual to each DB
2022-11-12 14:20:29 +00:00
[DB]
2022-11-12 16:22:55 +00:00
type = "sqlite3"
path = "test.db"
2023-11-21 14:45:14 +00:00
freq = 60
2022-11-12 14:20:29 +00:00
2023-11-21 18:44:31 +00:00
# Configure channel 1
# type = 'U' => UV, else use other letters for resp type
# filter.samples => sample buffer size
# filter.type => filtering function to use [0-3; 0 default]
2023-11-21 16:19:20 +00:00
[Channel_1]
2023-11-21 18:44:31 +00:00
type = 'U'
2023-11-21 16:19:20 +00:00
filter.samples = 100
filter.type = 1
2022-12-05 13:12:17 +00:00
[Channel_2]
2022-12-05 13:57:47 +00:00
type = 'N'
2023-11-21 14:45:14 +00:00
filter.samples = 20
2022-12-05 13:57:47 +00:00
[Channel_3]
type = 'T'
[Channel_4]
2022-12-05 13:12:17 +00:00
type = 'K'
2022-12-05 14:25:48 +00:00
[Channel_6]
type = 'J'
offset = -23.1