From d172738a988914b31cde888ca4b28e0552cfdb60 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 14 Aug 2026 16:21:30 +0000 Subject: [PATCH] opencode/decisions.yaml --- opencode/decisions.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/opencode/decisions.yaml b/opencode/decisions.yaml index aa8d2f58..91880931 100644 --- a/opencode/decisions.yaml +++ b/opencode/decisions.yaml @@ -284,4 +284,33 @@ notes: - rest - mqtt - template + status: superseded + superseded_by: 2026-08-14-octoprint-live-rest-sensors-are-the-2 + - id: 2026-08-14-octoprint-live-rest-sensors-are-the-2 + date: 2026-08-14 + title: "OctoPrint: `_live` REST sensors are the accurate source, MQTT push lags" + decision: OctoPrint MQTT push progress events are throttled (~5-13 min gaps), so MQTT + sensors lag. The `_live` REST sensors (/api/job every 30s) are the accurate source. + Keep dashboards and helpers on `_live` sensors; do not swap MQTT sensors back in for + display. + rationale: "2026-08-14: throttled PrintProgress push left MQTT sensor.octoprint_print_time + ~18 min stale vs live REST. Switched sensor.octoprint_elapsed helper to live REST + printTime attribute and History graph to sensor.octoprint_print_progress_live. + Rounded progress to 2 decimals so slow prints visibly advance (2.4 -> 2.45). Elapsed + 2611s matched wall-clock printTime exactly." + entities: + - sensor.octoprint_print_progress_live + - sensor.octoprint_print_time_left_live + - sensor.octoprint_print_state_live + - sensor.octoprint_elapsed + - sensor.octoprint_print_progress + - sensor.octoprint_print_time + files: + - configuration.yaml + integrations: + - octoprint + - rest + - mqtt + - template + pin: true status: active