opencode/decisions.yaml
This commit is contained in:
@@ -50,4 +50,26 @@ notes:
|
|||||||
integrations:
|
integrations:
|
||||||
- octoprint
|
- octoprint
|
||||||
- mqtt
|
- mqtt
|
||||||
|
status: superseded
|
||||||
|
superseded_by: 2026-08-06-3d-printer-automation-runs-on-helper
|
||||||
|
- id: 2026-08-06-3d-printer-automation-runs-on-helper
|
||||||
|
date: 2026-08-06
|
||||||
|
title: 3D printer automation runs on helper, not MQTT
|
||||||
|
decision: "When the OctoPrint HA plugin toggles input_boolean.3d_printer_running: ON ->
|
||||||
|
playroom + bedroom lamps on, basement 22C heat; OFF -> playroom light off after 10
|
||||||
|
min, thermostat untouched. Mode restart cancels pending off on a new print. Old MQTT
|
||||||
|
automation stays disabled."
|
||||||
|
rationale: Built-in OctoPrint integration is broken here (AssertionError device_id is not
|
||||||
|
None; no printer entities). The OctoMQTT event trigger was replaced by a
|
||||||
|
helper-based design so OctoPrint can toggle a HA entity directly (plugin pointed at
|
||||||
|
the helper) and print-end handling (delayed light off) becomes possible. Built,
|
||||||
|
tested, and working 2026-08-06.
|
||||||
|
entities:
|
||||||
|
- input_boolean.3d_printer_running
|
||||||
|
- light.playroom_light
|
||||||
|
- light.bedroom_lamp
|
||||||
|
- climate.basement
|
||||||
|
integrations:
|
||||||
|
- octoprint
|
||||||
|
- mqtt
|
||||||
status: active
|
status: active
|
||||||
|
|||||||
Reference in New Issue
Block a user