opencode/decisions.yaml
This commit is contained in:
@@ -133,3 +133,27 @@ notes:
|
||||
- mqtt
|
||||
- octoprint
|
||||
status: active
|
||||
- id: 2026-08-07-octoprint-frozen-sensors-shown-via-idle
|
||||
date: 2026-08-07
|
||||
title: OctoPrint frozen sensors shown via idle-zero template helpers
|
||||
decision: OctoPrint sensors freeze at last-print values when idle. The /printer-stats
|
||||
dashboard uses template helpers (sensor.octoprint_elapsed,
|
||||
sensor.octoprint_time_left, sensor.octoprint_current_z_2) reporting 0 while printing
|
||||
is off. Keep cards on helpers; raw sensors stay intact.
|
||||
rationale: "While idle the raw sensors freeze at end-of-print values (elapsed 6661s,
|
||||
current Z 26.8mm), looking like a mid-print and producing stale charts. Helper
|
||||
template: {{ 0 if not is_state('binary_sensor.octoprint_printing','on') else
|
||||
states('<source>')|float }}. The Current Z helper got _2 suffix because its friendly
|
||||
name collided with the raw sensor's slug."
|
||||
entities:
|
||||
- sensor.octoprint_elapsed
|
||||
- sensor.octoprint_time_left
|
||||
- sensor.octoprint_current_z_2
|
||||
- binary_sensor.octoprint_printing
|
||||
- sensor.octoprint_print_time
|
||||
- sensor.octoprint_print_time_left
|
||||
- sensor.octoprint_current_z
|
||||
integrations:
|
||||
- octoprint
|
||||
- template
|
||||
status: active
|
||||
|
||||
Reference in New Issue
Block a user