-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdmrcmd.example.json
More file actions
102 lines (102 loc) · 1.9 KB
/
dmrcmd.example.json
File metadata and controls
102 lines (102 loc) · 1.9 KB
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
{
"debug": false,
"local_network": "192.168.0.0/24",
"minimum_voice": 10,
"minimum_data": 0,
"hotspots": [
{
"name": "OpenSPOT",
"enabled": false,
"mode": "proxy",
"listen": ":55555",
"id": 123456701,
"server": "IP:PORT OF MMDVM SERVER TO PROXY CONNECTION TO",
"drop": [
8999990,
8999991,
8999992,
8999993,
8999994
]
},
{
"name": "Pi-Star",
"enabled": false,
"mode": "server",
"listen": ":55556",
"id": 123456702,
"password": "PASSWORD"
}
],
"ha": {
"enabled": false,
"server": "http://yourserverhere:8123",
"token": "YOUR_AUTHENTICATION_TOKEN"
},
"events": [
{
"enabled": false,
"name": "test1",
"src": 1234567,
"dst": 8999990,
"client": 123456701,
"talkgroup": false,
"action": {
"run": "/usr/bin/touch",
"args": [
"/tmp/1234567.txt"
]
}
},
{
"enabled": false,
"name": "test2",
"src": 1234567,
"dst": 8999991,
"action": {
"run": "/tmp/test.sh",
"args": [
"$src",
"$dst",
"$client",
"$ip"
]
}
},
{
"enabled": false,
"name": "test3",
"ip": "192.168.0.42",
"src": 1234567,
"dst": 8999993,
"talkgroup": true,
"action": {
"run": "/usr/bin/touch",
"args": [
"/tmp/dmr.txt"
]
}
},
{
"enabled": false,
"name": "test4",
"src": 1234567,
"dst": 8999994,
"required_data": 1,
"required_voice": 1,
"action": {
"ha_script": "flash_lights"
}
},
{
"enabled": false,
"name": "test5",
"src": 1234567,
"dst": 8999995,
"talkgroup": true,
"action": {
"ha_scene": "lights_off"
}
}
]
}