-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.example
174 lines (160 loc) · 4.89 KB
/
config.yaml.example
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
system:
display:
display_w: 800
display_h: 480
modules:
panadapter:
type: rtl_fft
display_name: panadapter
config:
host: 172.17.0.3
port: 45362
gpsd:
type: gpsd
display_name: GPS Status
config:
host: 172.17.0.3
modem:
type: lte_status
display_name: 4G Status
config:
backend: rooter
host: 172.17.0.254
username: root
password: example
logviewer:
type: systemd_log_viewer
display_name: Radioconsole Logs
config:
host: 172.17.0.185
services:
- radioconsole
commands:
restart: sudo service radioconsole restart
update: cd radioconsole; git pull
status: cd radioconsole; git status
ifconfig: /sbin/ifconfig
reboot: sudo reboot
carpi_logs:
type: systemd_log_viewer
display_name: CarPi Logs
config:
host: 172.17.0.3
services:
- waterfall_server
- auto_rx
- direwolf
filter_lines:
- "Can't get address for IGate server"
commands:
dw_start: sudo service direwolf start
dw_stop: sudo service direwolf stop
dw_restart: sudo service direwolf restart
wf_start: sudo service waterfall_server start
wf_stop: sudo service waterfall_server stop
wf_restart: sudo service waterfall_server restart
carpi_power:
type: gpio_shutdown_status
display_name: CarPi Power
config:
host: 172.17.0.3
carpi_dmesg:
type: log_viewer
display_name: CarPi dmesg
config:
host: 172.17.0.3
command: journalctl -f -n 100 --dmesg --no-hostname
commands:
lsusb: lsusb -t
reboot: sudo reboot
raspi_status:
type: raspi_status
display_name: Raspberry Pi Status
config:
refresh_seconds: 1
line_height: 32
hosts:
- host: 172.17.0.185
- host: 172.17.0.3
winlink:
type: systemd_log_viewer
display_name: WinLink controls
config:
host: 172.17.0.3
services:
- pat
- ardopc
- rigctld
filter_lines:
- 'Main.KeyPTT'
- 'Input peaks'
- 'Acquire2ToneLeaderSymbolFraming'
- 'Frame Decode type'
- 'poor frame type decode'
- 'Frame Type Decode Fail'
- 'Time since received'
- 'EnvelopeCorrelator'
- 'Acquire2ToneLeaderSymbolFraming'
- 'Frame Type Decode'
- 'ComputeQualityAvg'
- 'Prior-Offset'
- 'MEMARQ Flags'
commands:
start_winlink: sudo service waterfall_server stop; sudo /root/USBPacket.sh; sudo service ardopc start; sudo service rigctld start
stop_winlink: sudo service ardopc stop; sudo service rigctld stop; sudo /root/USBVoice.sh; sudo service waterfall_server start
ardop:
type: ardop_status
display_name: ARDOP Controls
config:
host: 172.17.0.3
direwolf:
type: direwolf_status
display_name: Direwolf Controls
config:
host: 172.17.0.3
aprs_monitor: N0CALL
aprs_ssid: 15
tx_issue_time: 900
direwolf_config:
type: systemd_log_viewer
display_name: DireWolf config
config:
host: 172.17.0.3
services:
- direwolf
- direwolf-digi
show_service_name: False
commands:
digipeter_mode: sudo service waterfall_server stop; sudo service gpio_shutdown stop; sudo service direwolf stop; sudo /root/FMPacket.sh; sudo service direwolf-digi start; sudo service waterfall_server start
beacon_mode: sudo service waterfall_server stop;sudo service gpio_shutdown start; sudo service direwolf-digi stop; sudo /root/USBVoice.sh; sudo service direwolf start; sudo service waterfall_server start
stop_direwolf: sudo service direwolf stop; sudo service direwolf-digi stop
tx_test_mode: sudo timeout -v -s INT 5 direwolf -x -t 0 -c /root/direwolf.conf
display_config:
type: log_viewer
display_name: Display config
config:
host: 172.17.0.185
commands:
'32': sudo sh -c 'echo 32 > /sys/class/backlight/rpi_backlight/brightness'
'64': sudo sh -c 'echo 64 > /sys/class/backlight/rpi_backlight/brightness'
'96': sudo sh -c 'echo 96 > /sys/class/backlight/rpi_backlight/brightness'
'128': sudo sh -c 'echo 128 > /sys/class/backlight/rpi_backlight/brightness'
'160': sudo sh -c 'echo 160 > /sys/class/backlight/rpi_backlight/brightness'
'192': sudo sh -c 'echo 192 > /sys/class/backlight/rpi_backlight/brightness'
'224': sudo sh -c 'echo 224 > /sys/class/backlight/rpi_backlight/brightness'
'255': sudo sh -c 'echo 255 > /sys/class/backlight/rpi_backlight/brightness'
services:
type: systemd_status
display_name: "CarPi services"
config:
host: 172.17.0.3
services:
- freeselcall
- direwolf
- gpsd
- waterfall_server
- ardopc
- auto_rx
- chasemapper
#- lightdm
- pat