opencode/decisions.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-14 16:21:30 +00:00
parent 02736ce1d9
commit d172738a98
+29
View File
@@ -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