From 5cb2c0b82805b7c4eda6b81e97145ccdaef6eeb8 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 19:49:00 +0000 Subject: [PATCH 1/2] docs(wiki): document StatusWidget MonitorTag-via-Tag binding from PR #214 PR #214 fixed StatusWidget to accept a MonitorTag bound via 'Tag'/'Sensor' (routing it through the existing Threshold/monitor path instead of crashing on the SensorTag-only .Y access). Add this binding form to the StatusWidget API reference and the Dashboard Engine Guide's Status widget examples. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01JR2uomErYdm8bMZAUv76sf --- wiki/API-Reference:-Dashboard.md | 4 ++++ wiki/Dashboard-Engine-Guide.md | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/wiki/API-Reference:-Dashboard.md b/wiki/API-Reference:-Dashboard.md index ed91fde9..fe9440b9 100644 --- a/wiki/API-Reference:-Dashboard.md +++ b/wiki/API-Reference:-Dashboard.md @@ -2561,6 +2561,10 @@ Sensor-first: w = StatusWidget('Title', 'Temp', 'Threshold', t, 'Value', 85); w = StatusWidget('Title', 'Temp', 'Threshold', 'temp_hi', 'ValueFcn', @getTemp); + MonitorTag bound via 'Tag'/'Sensor' (routed to the Threshold/monitor path + automatically — its 0/1 alarm signal maps to 'violation'/'ok'): + w = StatusWidget('Title', 'Alarm', 'Tag', alarmMonitorTag); + Legacy (still supported): w = StatusWidget('Title', 'Pump 1', 'StatusFcn', @() 'ok'); diff --git a/wiki/Dashboard-Engine-Guide.md b/wiki/Dashboard-Engine-Guide.md index 2f6c3841..ac265b65 100644 --- a/wiki/Dashboard-Engine-Guide.md +++ b/wiki/Dashboard-Engine-Guide.md @@ -133,6 +133,11 @@ d.addWidget('status', 'Title', 'Pump', 'Position', [7 1 5 2], ... d.addWidget('status', 'Title', 'System', 'Position', [12 1 5 2], ... 'Threshold', 'system_hi', 'ValueFcn', @() getSystemValue()); +% MonitorTag bound via 'Tag' — its 0/1 alarm signal maps straight to +% 'violation' (red) / 'ok' (green), no separate 'Threshold' binding needed +d.addWidget('status', 'Title', 'Alarm', 'Position', [17 1 5 2], ... + 'Tag', alarm); + % Legacy static d.addWidget('status', 'Title', 'System', 'Position', [12 1 5 2], ... 'StaticStatus', 'ok'); % 'ok' | 'warning' | 'alarm' From 0af4cbb4eb4bb1c1e2191a228c56037655260bf3 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 19:50:16 +0000 Subject: [PATCH 2/2] chore: update scheduled_tasks.lock session state Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01JR2uomErYdm8bMZAUv76sf --- .claude/scheduled_tasks.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/scheduled_tasks.lock b/.claude/scheduled_tasks.lock index 5b7058e7..b164d316 100644 --- a/.claude/scheduled_tasks.lock +++ b/.claude/scheduled_tasks.lock @@ -1 +1 @@ -{"sessionId":"bc23825e-6e87-47cb-83c2-7619a4dbe5e1","pid":85745,"acquiredAt":1773696602202} \ No newline at end of file +{"sessionId":"aef6b5e3-0373-504f-b3b1-1e4718aa4e84","pid":611,"procStart":"9877","acquiredAt":1783540195160} \ No newline at end of file