- kind autofix: its own switch on the auto-fix hours; ALARMS then only silences (NA keeps the old combined key until it has room for one) - kind bypass: hold takes every network MIDI link to a peer out (here and on listed Macs), checks stop calling it lost, re-taken every 10 s; hold again puts back exactly what was taken plus every watched link - a MIDI peer with no address is never called (it connected SC Tracks to itself) - holds from NA's CAMPUS page flip switch keys; a rebuild keeps them; new campuses get AUTO-FIX - key kind changes restart the watchdog; settings page has separate alarm / auto-fix buttons - WS and SC configs: AUTO-FIX at 3,1; SC LIGHTS at 1,3; NA config synced from live Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
458 lines
10 KiB
JSON
458 lines
10 KiB
JSON
{
|
|
"site": {
|
|
"id": "sc",
|
|
"name": "Southcoast",
|
|
"ingest_name": "SC ProPresenter",
|
|
"ingest_hostname": "SC-ProPresenter-423.local",
|
|
"ingest_ips": [
|
|
"10.5.2.60",
|
|
"192.168.2.1",
|
|
"169.254.161.214",
|
|
"169.254.108.73"
|
|
],
|
|
"contacts": "",
|
|
"live_services": [],
|
|
"editing_code": "5690"
|
|
},
|
|
"companion": {
|
|
"host": "127.0.0.1",
|
|
"port": 8000
|
|
},
|
|
"page": 19,
|
|
"page_name": "19\\nStatus",
|
|
"page_hold_ms": 2000,
|
|
"variables": {
|
|
"state": "sp_state",
|
|
"heartbeat": "sp_hb",
|
|
"command": "sp_cmd"
|
|
},
|
|
"timing": {
|
|
"fix_cooldown_seconds": 60,
|
|
"alert_after_seconds": 30
|
|
},
|
|
"auto_fix": {
|
|
"after_seconds": 20,
|
|
"max_tries": 2,
|
|
"retry_seconds": 90,
|
|
"pause_after_network_seconds": 60,
|
|
"restart_connections": true,
|
|
"windows": [
|
|
{
|
|
"days": [
|
|
"tue"
|
|
],
|
|
"start": "14:00",
|
|
"end": "22:00"
|
|
},
|
|
{
|
|
"days": [
|
|
"wed"
|
|
],
|
|
"start": "09:00",
|
|
"end": "21:00"
|
|
},
|
|
{
|
|
"days": [
|
|
"sun"
|
|
],
|
|
"start": "05:00",
|
|
"end": "14:00"
|
|
}
|
|
],
|
|
"fixes": [
|
|
"propresenter_ingest",
|
|
"prop_port_propresenter_api",
|
|
"hyperdeck",
|
|
"midi_reconnect",
|
|
"ableton_sc_tracks_new"
|
|
]
|
|
},
|
|
"tiles": [
|
|
{
|
|
"id": "all",
|
|
"label": "ALL",
|
|
"pos": [
|
|
0,
|
|
1
|
|
],
|
|
"kind": "master"
|
|
},
|
|
{
|
|
"id": "service",
|
|
"label": "ALARMS",
|
|
"pos": [
|
|
3,
|
|
0
|
|
],
|
|
"kind": "service"
|
|
},
|
|
{
|
|
"id": "net",
|
|
"label": "NET",
|
|
"pos": [
|
|
3,
|
|
7
|
|
],
|
|
"kind": "network"
|
|
},
|
|
{
|
|
"id": "hd",
|
|
"label": "HD",
|
|
"checks": [
|
|
{
|
|
"type": "hyperdeck",
|
|
"conn": "hyperdeck",
|
|
"fix": {
|
|
"conn": "hyperdeck"
|
|
}
|
|
}
|
|
],
|
|
"pos": [
|
|
0,
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"id": "foh_x32",
|
|
"label": "FOH X32",
|
|
"checks": [
|
|
{
|
|
"type": "conn",
|
|
"conn": "FOH_X32"
|
|
}
|
|
],
|
|
"pos": [
|
|
0,
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"id": "iem_x32",
|
|
"label": "IEM X32",
|
|
"checks": [
|
|
{
|
|
"type": "conn",
|
|
"conn": "IEM_X32"
|
|
}
|
|
],
|
|
"pos": [
|
|
0,
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"id": "prop",
|
|
"label": "PROP",
|
|
"checks": [
|
|
{
|
|
"type": "conn",
|
|
"conn": "Propresenter-API",
|
|
"fix": "prop_port_propresenter_api"
|
|
},
|
|
{
|
|
"type": "process",
|
|
"match": "/Applications/ProPresenter 20.0.1.app/Contents/MacOS/ProPresenter",
|
|
"name": "PROP",
|
|
"fix": "propresenter_ingest"
|
|
}
|
|
],
|
|
"pos": [
|
|
0,
|
|
5
|
|
]
|
|
},
|
|
{
|
|
"id": "atem",
|
|
"label": "ATEM",
|
|
"checks": [
|
|
{
|
|
"type": "conn",
|
|
"conn": "atem"
|
|
}
|
|
],
|
|
"pos": [
|
|
0,
|
|
6
|
|
]
|
|
},
|
|
{
|
|
"id": "resi",
|
|
"label": "RESI",
|
|
"checks": [
|
|
{
|
|
"type": "conn",
|
|
"conn": "resi"
|
|
},
|
|
{
|
|
"type": "ping",
|
|
"conn": "resi"
|
|
}
|
|
],
|
|
"pos": [
|
|
0,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"id": "midi",
|
|
"label": "MIDI",
|
|
"checks": [
|
|
{
|
|
"type": "midi_peer",
|
|
"session": "ProPresenter",
|
|
"peer": "Lighting",
|
|
"address": "10.5.1.168:5004",
|
|
"fix": "midi_reconnect",
|
|
"tag": "PROP LIGHTS"
|
|
},
|
|
{
|
|
"type": "midi_wired",
|
|
"nets": [
|
|
"10.5.0.0/16"
|
|
],
|
|
"fix": "midi_reconnect"
|
|
}
|
|
],
|
|
"pos": [
|
|
1,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": "ableton",
|
|
"label": "ABLETON",
|
|
"checks": [
|
|
{
|
|
"type": "remote",
|
|
"template": "mac_program",
|
|
"params": {
|
|
"host": "sc_tracks_new",
|
|
"process": "Live"
|
|
},
|
|
"msg": "ABLETON NOT RUNNING",
|
|
"fix": "ableton_sc_tracks_new",
|
|
"host": "sc_tracks_new",
|
|
"cmd": "pgrep -xq Live"
|
|
}
|
|
],
|
|
"pos": [
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"id": "autofix",
|
|
"label": "AUTO-FIX",
|
|
"kind": "autofix",
|
|
"pos": [
|
|
3,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": "lights",
|
|
"label": "LIGHTS",
|
|
"kind": "bypass",
|
|
"pos": [
|
|
1,
|
|
3
|
|
],
|
|
"bypass": {
|
|
"peers": [
|
|
"Lighting"
|
|
],
|
|
"hosts": [
|
|
"",
|
|
"sc_tracks_new"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"fixes": {
|
|
"propresenter_ingest": {
|
|
"template": "mac_start",
|
|
"params": {
|
|
"host": "ingest",
|
|
"process": "ProPresenter",
|
|
"app": "/Applications/ProPresenter 20.0.1.app"
|
|
},
|
|
"label": "start ProPresenter on this Mac if it is not running",
|
|
"short": "PROP",
|
|
"kind": "local",
|
|
"run": "pgrep -xq ProPresenter || open '/Applications/ProPresenter 20.0.1.app'"
|
|
},
|
|
"restart_propresenter_ingest": {
|
|
"template": "mac_restart",
|
|
"params": {
|
|
"host": "ingest",
|
|
"process": "ProPresenter",
|
|
"app": "/Applications/ProPresenter 20.0.1.app",
|
|
"wait_seconds": 10,
|
|
"force": true,
|
|
"background": false,
|
|
"stop_children": false,
|
|
"newest_of": ""
|
|
},
|
|
"label": "restart ProPresenter on this Mac (closes it first)",
|
|
"short": "PROP",
|
|
"kind": "local",
|
|
"run": "pkill -TERM -x ProPresenter; i=0; while pgrep -xq ProPresenter && [ $i -lt 20 ]; do sleep 0.5; i=$((i+1)); done; pgrep -xq ProPresenter && pkill -KILL -x ProPresenter; sleep 1; open '/Applications/ProPresenter 20.0.1.app'"
|
|
},
|
|
"prop_port_propresenter_api": {
|
|
"kind": "propresenter_port",
|
|
"template": "propresenter_port",
|
|
"params": {},
|
|
"conn": "Propresenter-API",
|
|
"short": "PROP PORT",
|
|
"label": "find ProPresenter's network port and reconnect Companion's Propresenter-API to it"
|
|
},
|
|
"hyperdeck": {
|
|
"kind": "hyperdeck",
|
|
"template": "hyperdeck",
|
|
"params": {},
|
|
"short": "HYPERDECK",
|
|
"verify_seconds": 15,
|
|
"hung_note": "STILL OFFLINE\nHOLD AGAIN",
|
|
"label": "turn Companion's connection to that HyperDeck off and on (what gets a restarted deck green); never reboots the deck"
|
|
},
|
|
"midi_reconnect": {
|
|
"kind": "midi_connect",
|
|
"template": "midi_connect",
|
|
"params": {},
|
|
"short": "RECONNECT",
|
|
"label": "reconnect the peer to the network MIDI session it dropped out of (like Connect in Audio MIDI Setup), at its wired address"
|
|
},
|
|
"ableton_sc_tracks_new": {
|
|
"template": "ableton",
|
|
"params": {
|
|
"host": "sc_tracks_new",
|
|
"app": "Ableton Live 11 Suite",
|
|
"restart": false,
|
|
"wait_seconds": 15
|
|
},
|
|
"label": "start Ableton on SC Tracks NEW if it is not running",
|
|
"short": "ABLETON",
|
|
"kind": "ssh",
|
|
"host": "sc_tracks_new",
|
|
"run": "pgrep -xq Live || { L=$(ls -td ~/Library/Preferences/Ableton/Live*/ | head -1); S=$(grep -a 'info: Loading document \"' \"${L}Log.txt\" | grep -v '/Templates/' | tail -1 | sed -E 's/^.*Loading document \"(.*)\"[^\"]*$/\\1/'); if [ -n \"$S\" ] && [ -f \"$S\" ]; then open -a 'Ableton Live 11 Suite' \"$S\"; else open -a 'Ableton Live 11 Suite'; fi; }"
|
|
},
|
|
"restart_ableton_sc_tracks_new": {
|
|
"template": "ableton",
|
|
"params": {
|
|
"host": "sc_tracks_new",
|
|
"app": "Ableton Live 11 Suite",
|
|
"restart": true,
|
|
"wait_seconds": 15
|
|
},
|
|
"label": "restart Ableton on SC Tracks NEW (closes it first)",
|
|
"short": "ABLETON",
|
|
"kind": "ssh",
|
|
"host": "sc_tracks_new",
|
|
"run": "L=$(ls -td ~/Library/Preferences/Ableton/Live*/ | head -1); S=$(grep -a 'info: Loading document \"' \"${L}Log.txt\" | grep -v '/Templates/' | tail -1 | sed -E 's/^.*Loading document \"(.*)\"[^\"]*$/\\1/'); pkill -TERM -x Live; i=0; while pgrep -xq Live && [ $i -lt 30 ]; do sleep 0.5; i=$((i+1)); done; pgrep -xq Live && pkill -KILL -x Live; sleep 1; if [ -n \"$S\" ] && [ -f \"$S\" ]; then open -a 'Ableton Live 11 Suite' \"$S\"; else open -a 'Ableton Live 11 Suite'; fi"
|
|
}
|
|
},
|
|
"hosts": {
|
|
"ingest": {
|
|
"self": true,
|
|
"name": "SC ProPresenter",
|
|
"role": "the watchdog, Companion, the settings page",
|
|
"os": "mac",
|
|
"networks": [],
|
|
"runs": [
|
|
{
|
|
"kind": "launchagent",
|
|
"label": "org.waterschurch.status-panel",
|
|
"name": "the watchdog"
|
|
},
|
|
{
|
|
"kind": "launchagent",
|
|
"label": "org.waterschurch.status-settings",
|
|
"name": "the settings page"
|
|
},
|
|
{
|
|
"kind": "app",
|
|
"process": "Companion",
|
|
"name": "Companion",
|
|
"http": "http://127.0.0.1:8000/api/connections"
|
|
}
|
|
]
|
|
},
|
|
"sc_tracks_new": {
|
|
"name": "SC Tracks NEW",
|
|
"os": "mac",
|
|
"ssh": "tracks@10.5.3.72",
|
|
"role": "found by auto-setup",
|
|
"runs": [
|
|
{
|
|
"kind": "sshd"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"gear": {},
|
|
"debounce_seconds": 3,
|
|
"network": {
|
|
"interface": "en11",
|
|
"gateway": "10.5.0.1",
|
|
"burst_connections": 4,
|
|
"burst_groups": 3,
|
|
"burst_window_seconds": 10,
|
|
"remember_seconds": 300
|
|
},
|
|
"nav_keys": [
|
|
"pagenum"
|
|
],
|
|
"nav_hold_ms": 1000,
|
|
"nav_tap_page": 1,
|
|
"discover": {
|
|
"auto": true
|
|
},
|
|
"restart_page": {
|
|
"page": 20,
|
|
"page_name": "20\\nRestart",
|
|
"jump_pos": [
|
|
3,
|
|
6
|
|
],
|
|
"back_pos": [
|
|
3,
|
|
0
|
|
],
|
|
"keys": [
|
|
{
|
|
"id": "rs_prop",
|
|
"label": "PROP",
|
|
"fix": "restart_propresenter_ingest",
|
|
"pos": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": "rs_ableton",
|
|
"label": "ABLETON",
|
|
"fix": "restart_ableton_sc_tracks_new",
|
|
"pos": [
|
|
0,
|
|
2
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"service_windows": [
|
|
{
|
|
"days": [
|
|
"mon",
|
|
"tue",
|
|
"wed",
|
|
"thu",
|
|
"fri",
|
|
"sat",
|
|
"sun"
|
|
],
|
|
"start": "00:00",
|
|
"end": "23:59"
|
|
}
|
|
]
|
|
}
|