Ignore ProPresenter API's harmless yellow warning

It flickers to "warning" every 15-20 minutes and made APPS blink for
nothing. "ignore_warning" on a conn check keeps offline, error and
disabled as alarms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:46:25 -04:00
co-authored by Claude Opus 5.5
parent 6d273fa3d8
commit 033f3c6696
4 changed files with 21 additions and 3 deletions
+7 -1
View File
@@ -221,7 +221,13 @@ def to_int(text):
def check_conn(chk, snap, ctx):
return [("conn", conn_result(snap, chk["conn"], ctx["now"], chk.get("service_only", False)))]
res = conn_result(snap, chk["conn"], ctx["now"], chk.get("service_only", False))
# "ignore_warning": the module's yellow warning state is harmless for this one (ProPresenter's
# API flickers to warning every 15-20 min); offline, error and disabled still alarm.
c = snap.conns.get(chk["conn"], {})
if chk.get("ignore_warning") and res.level == WARN and c.get("enabled") and c.get("category") == "warning":
res = Result(OK)
return [("conn", res)]
def hyperdeck_recording(snap, label):