From 889221fffda315d4b135e5fee5a16909ec74895f Mon Sep 17 00:00:00 2001 From: znetsixe Date: Wed, 27 May 2026 16:09:24 +0200 Subject: [PATCH] fix(rm): force-emit ctrl every tick (static alwaysEmitFields) Realized control position is constant in steady state, so delta compression emitted it ~once and the Grafana "% Control" line went invisible. Exempt `ctrl` from delta compression so the pump's movement always traces. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/nodeClass.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nodeClass.js b/src/nodeClass.js index 2961de3..a40009f 100644 --- a/src/nodeClass.js +++ b/src/nodeClass.js @@ -11,6 +11,10 @@ class nodeClass extends BaseNodeAdapter { static commands = commands; static tickInterval = null; static statusInterval = 1000; + // Realized control position holds constant in steady state, so delta + // compression would emit it ~once and the Grafana "% Control" line goes + // invisible. Force it every tick so the pump's movement always traces. + static alwaysEmitFields = ['ctrl']; buildDomainConfig(uiConfig) { _rejectLegacyAssetFields(uiConfig);