-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
22 lines (21 loc) · 2.65 KB
/
Copy pathconfig.example.json
File metadata and controls
22 lines (21 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"web": {"host": "0.0.0.0", "port": 8080},
"udp_listener": {"host": "0.0.0.0", "port": 5005},
"gpis": [
{"enabled": true, "name": "GPI 1", "pin": 17, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI1"},
{"enabled": true, "name": "GPI 2", "pin": 27, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI2"},
{"enabled": true, "name": "GPI 3", "pin": 22, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI3"},
{"enabled": true, "name": "GPI 4", "pin": 23, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI4"},
{"enabled": true, "name": "GPI 5", "pin": 24, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI5"},
{"enabled": false, "name": "GPI 6", "pin": 5, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI6"},
{"enabled": false, "name": "GPI 7", "pin": 6, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI7"},
{"enabled": false, "name": "GPI 8", "pin": 16, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI8"},
{"enabled": false, "name": "GPI 9", "pin": 26, "active_low": true, "debounce_ms": 100, "lockout_ms": 250, "target_host": "127.0.0.1", "target_port": 5005, "message": "GPI9"}
],
"gpos": [
{"enabled": false, "name": "GPO 1", "pin": 18, "active_high": true, "default_on": false, "pulse_ms": 250, "allowed_source": "", "pulse_command": "GPO1", "on_command": "GPO1 ON", "off_command": "GPO1 OFF", "toggle_command": "GPO1 TOGGLE"},
{"enabled": false, "name": "GPO 2", "pin": 19, "active_high": true, "default_on": false, "pulse_ms": 250, "allowed_source": "", "pulse_command": "GPO2", "on_command": "GPO2 ON", "off_command": "GPO2 OFF", "toggle_command": "GPO2 TOGGLE"},
{"enabled": false, "name": "GPO 3", "pin": 20, "active_high": true, "default_on": false, "pulse_ms": 250, "allowed_source": "", "pulse_command": "GPO3", "on_command": "GPO3 ON", "off_command": "GPO3 OFF", "toggle_command": "GPO3 TOGGLE"},
{"enabled": false, "name": "GPO 4", "pin": 21, "active_high": true, "default_on": false, "pulse_ms": 250, "allowed_source": "", "pulse_command": "GPO4", "on_command": "GPO4 ON", "off_command": "GPO4 OFF", "toggle_command": "GPO4 TOGGLE"}
]
}