summaryrefslogtreecommitdiff
path: root/sample-config.toml
blob: d0dc81f860a11bbff654693d14f0136413dee63b (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
36
37
38
39
40
41
42
[audioswitch]
dev = "/dev/ttyUSB0"
baud = 38400
timeout = "500ms"
unit = 0
inputs = [ { number = 1, server = "master", channel = "main" },
           { number = 2, server = "master", channel = "music" },
           { number = 3, server = "standby", channel = "main" },
           { number = 4, server = "standby", channel = "music" } ]


[servers]

  [servers.master]
  dev = "/dev/ttyUSB1"
  baud = 38400

  # [servers.standby]
  # dev = "/dev/ttyUSB2"
  # baud = 38400


# [timing]

#   [timing.settling]
#   awakening = "30s"
#   select_server = "10s"
#   update_states = "3s"

#   [timing.stale_states]
#   check_interval = "1m"
#   max_age = "2h"


[clients]

  [clients.web]
  addr = ":4080"
  static_files = "/usr/share/rhctl/static/"

  [clients.telnet]
  addr = "localhost:4023"