From 67c7507e97d621180d676c2fc627a859cfab66aa Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Sat, 8 Aug 2026 11:12:21 +0000 Subject: [PATCH] opencode/decisions.yaml --- opencode/decisions.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/opencode/decisions.yaml b/opencode/decisions.yaml index 25c30be..8efe36a 100644 --- a/opencode/decisions.yaml +++ b/opencode/decisions.yaml @@ -185,7 +185,6 @@ notes: - id: 2026-08-07-octoprint-camera-go2rtc-h264-transcode date: 2026-08-07 title: "OctoPrint camera: go2rtc H264 transcode required for WebRTC" - pin: true decision: Ender camera (endercamera.duckdns.org) streams MJPEG only; go2rtc serves it transcoded to H264 (ffmpeg:...#video=h264) because WebRTC cannot negotiate MJPEG. Keep this transcode. The printer-stats dashboard webrtc card uses go2rtc's named @@ -203,4 +202,25 @@ notes: integrations: - webrtc - octoprint + pin: true + status: active + - id: 2026-08-08-printjobhistory-external-db-settings + date: 2026-08-08 + title: PrintJobHistory external-DB settings are inert defaults + decision: The PrintJobHistory plugin's datbaseSettings (useExternal=true, type=postgres, + user=Olli, etc.) are hardcoded defaults in get_settings_defaults(), never read by + plugin code. The plugin always uses a local SQLite DB in its plugin data folder. Do + not set up Postgres. + rationale: "Confirmed from OllisGit/OctoPrint-PrintJobHistory source: 'useExternal' + appears only in the defaults dict; DatabaseManager.py uses sqlite3.connect() + exclusively; the lone 'postgres' string is in testConnection(), invoked only from + the settings-UI test button. The API already serves valid JSON from SQLite + (totalItemCount=0) proving the store works." + entities: + - sensor.octoprint_filament_used_total + - sensor.octoprint_last_print_filament + files: + - configuration.yaml + integrations: + - octoprint status: active