{ "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" ] }, "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 ] } ], "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" } }, "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" } ] } }, "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 ] } ] }, "service_windows": [ { "days": [ "mon", "tue", "wed", "thu", "fri", "sat", "sun" ], "start": "00:00", "end": "23:59" } ] }