SC Lighting PC joined: VISTA key and Restart key, rtpMIDI watched on MIDI

- a helper program (rtpMIDI) on a computer that joins after the MIDI key exists is added to it
  (it was marked seen and never added)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 14:10:42 -04:00
co-authored by Claude Opus 5.5
parent a54b6b6276
commit 176e8e9073
3 changed files with 126 additions and 1 deletions
+97 -1
View File
@@ -66,7 +66,9 @@
"midi_reconnect",
"ableton_sc_tracks_new",
"superrack_sc_foh",
"x32edit_sc_foh"
"x32edit_sc_foh",
"vista_desktop_cucshqg",
"rtpmidi_desktop_cucshqg"
]
},
"tiles": [
@@ -229,6 +231,18 @@
"tag": "TRACKS LIGHTS",
"host": "sc_tracks_new"
},
{
"type": "remote",
"template": "win_program",
"params": {
"host": "desktop_cucshqg",
"exe": "rtpMIDI.exe"
},
"msg": "RTPMIDI NOT RUNNING",
"fix": "rtpmidi_desktop_cucshqg",
"host": "desktop_cucshqg",
"cmd": "tasklist /NH /FI \"IMAGENAME eq rtpMIDI.exe\" | find /I \"rtpMIDI.exe\" >nul"
},
{
"type": "midi_wired",
"nets": [
@@ -344,6 +358,28 @@
1,
5
]
},
{
"id": "vista",
"label": "VISTA",
"checks": [
{
"type": "remote",
"template": "win_program",
"params": {
"host": "desktop_cucshqg",
"exe": "Vista.exe"
},
"msg": "VISTA NOT RUNNING",
"fix": "vista_desktop_cucshqg",
"host": "desktop_cucshqg",
"cmd": "tasklist /NH /FI \"IMAGENAME eq Vista.exe\" | find /I \"Vista.exe\" >nul"
}
],
"pos": [
1,
6
]
}
],
"fixes": {
@@ -471,6 +507,45 @@
"kind": "ssh",
"host": "sc_foh",
"run": "pgrep -xq X32-Edit || open /Applications/X32-Edit.app"
},
"vista_desktop_cucshqg": {
"template": "win_start",
"params": {
"host": "desktop_cucshqg",
"task": "Start Vista",
"exe": "Vista.exe"
},
"label": "start Vista on SC Lighting PC if it is not running",
"short": "VISTA",
"kind": "ssh",
"host": "desktop_cucshqg",
"run": "tasklist /NH /FI \"IMAGENAME eq Vista.exe\" | find /I \"Vista.exe\" >nul || (schtasks /Run /TN \"\\StatusPanel\\Start Vista\" >nul && ping -n 9 127.0.0.1 >nul && tasklist /NH /FI \"IMAGENAME eq Vista.exe\" | find /I \"Vista.exe\" >nul)"
},
"restart_vista_desktop_cucshqg": {
"template": "win_restart",
"params": {
"host": "desktop_cucshqg",
"task": "Start Vista",
"exe": "Vista.exe"
},
"label": "restart Vista on SC Lighting PC (closes it first)",
"short": "VISTA",
"kind": "ssh",
"host": "desktop_cucshqg",
"run": "taskkill /F /T /IM \"Vista.exe\" >nul 2>&1 & ping -n 3 127.0.0.1 >nul & schtasks /Run /TN \"\\StatusPanel\\Start Vista\" >nul && ping -n 9 127.0.0.1 >nul && tasklist /NH /FI \"IMAGENAME eq Vista.exe\" | find /I \"Vista.exe\" >nul"
},
"rtpmidi_desktop_cucshqg": {
"template": "win_start",
"params": {
"host": "desktop_cucshqg",
"task": "Start rtpMIDI",
"exe": "rtpMIDI.exe"
},
"label": "start rtpMIDI on SC Lighting PC if it is not running",
"short": "RTPMIDI",
"kind": "ssh",
"host": "desktop_cucshqg",
"run": "tasklist /NH /FI \"IMAGENAME eq rtpMIDI.exe\" | find /I \"rtpMIDI.exe\" >nul || (schtasks /Run /TN \"\\StatusPanel\\Start rtpMIDI\" >nul && ping -n 9 127.0.0.1 >nul && tasklist /NH /FI \"IMAGENAME eq rtpMIDI.exe\" | find /I \"rtpMIDI.exe\" >nul)"
}
},
"hosts": {
@@ -520,6 +595,18 @@
"kind": "sshd"
}
]
},
"desktop_cucshqg": {
"name": "SC Lighting PC",
"os": "windows",
"ssh": "Lighting@10.5.1.168",
"role": "found by auto-setup",
"runs": [
{
"kind": "sshd"
}
],
"mac": "40:a8:f0:69:ce:c9"
}
},
"gear": {},
@@ -578,6 +665,15 @@
0,
3
]
},
{
"id": "rs_vista",
"label": "VISTA",
"fix": "restart_vista_desktop_cucshqg",
"pos": [
0,
4
]
}
]
},