The bridge calls BroadcastCustomEvent once per second with eventData.type “semo.timer.state”, version 1, tournamentId, sentAt and arenas. Each arena has a 1-based arena number, name, matchKey, phase, remainingMs, endsAt and hold. Running clocks count down from endsAt. Paused clocks display remainingMs without decrementing.
Your OBS script calls BroadcastCustomEvent using this eventData object. Use the exact tournamentId and matchKey from the latest state packet. commandId must be unique and sentAt must be the current Unix time in milliseconds. Commands older than 10 seconds, duplicates, wrong events and wrong matches are ignored.
{
"type": "semo.timer.command",
"version": 1,
"source": "your-obs-widget",
"tournamentId": "COPY_FROM_LATEST_STATE",
"arena": 1,
"matchKey": "COPY_FROM_LATEST_STATE",
"commandId": "GENERATE_A_UNIQUE_ID",
"sentAt": 0,
"action": "pause"
}Actions: start, pause, resume, reset. Start requires a loaded, eligible match. Reset returns to 2:00 paused. All accepted commands use the existing shared match clock, updating brackets, On Deck and clock outputs. If using Receive-only, obtain the matchKey from an initial Send/Both state exchange before switching to Receive-only. Keep the bridge running and allow shared edits to synchronize.
The saved device IP/URL is a configuration placeholder. A hardware adapter must implement that device’s actual protocol before physical start/pause/reset control can work. This OBS bridge does not automatically control an unknown device.