diff --git a/opencode/decisions.yaml b/opencode/decisions.yaml index 91880931..72d5d8dd 100644 --- a/opencode/decisions.yaml +++ b/opencode/decisions.yaml @@ -314,3 +314,22 @@ notes: - template pin: true status: active + - id: 2026-08-14-octoprint-printjobhistory-set-to + date: 2026-08-14 + title: OctoPrint PrintJobHistory set to capture all jobs (not just successful) + decision: OctoPrint's PrintJobHistory plugin is set to capture ALL jobs (success + + failed/cancelled), not "success jobs only". Failed/cancelled prints are now recorded + so their filament usage flows into sensor.octoprint_filament_used_total and the + daily/weekly/monthly filament meters. Do not revert to success-only. + rationale: With "capture successful jobs only", cancelled/failed prints (e.g. 2026-08-14 + 11:09 and 16:32) never entered OctoPrint's history, so no filament usage reached HA + at all — the gap was OctoPrint-side, not an HA integration issue. + Sensor.octoprint_filament_used_total only updates on prints OctoPrint records. + entities: + - sensor.octoprint_filament_used_total + - sensor.octoprint_filament_daily + - sensor.octoprint_filament_weekly + - sensor.octoprint_filament_monthly + integrations: + - octoprint + status: active diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index dc2f9507..af5f9f5c 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 122.2, + "voltage": 122.3, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.14, @@ -47,7 +47,7 @@ "countdown_to_turn_off": 0, "voltage": 121.7, "countdown_to_turn_on": 0, - "energy": 56.21, + "energy": 56.22, "power_factor": 0.88, "ac_frequency": 60, "update": { @@ -58,7 +58,7 @@ "latest_release_notes": null }, "linkquality": 134, - "power": 83.9, + "power": 89.3, "current": 0.8, "power_on_behavior": "on" }, @@ -74,13 +74,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 119.3, + "voltage": 120.6, "state": "ON", "ac_frequency": 60, - "energy": 115.63, - "power": 0.8, - "current": 0.02, - "power_factor": 0.38, + "energy": 115.64, + "power": 127.4, + "current": 1.14, + "power_factor": 0.95, "update": { "state": "idle", "installed_version": 268513381, @@ -98,10 +98,10 @@ "voltage": 121.5, "energy": 52.08, "state": "ON", - "power": 48.4, - "current": 0.52, + "power": 57.8, + "current": 0.56, "ac_frequency": 60, - "power_factor": 0.72, + "power_factor": 0.73, "update": { "state": "idle", "installed_version": 268513381, @@ -187,8 +187,8 @@ "latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota", "latest_release_notes": null }, - "power_factor": 0.06, - "power": 1.3 + "power_factor": 0, + "power": 0.1 }, "0xa4c1380d0679ffff": { "battery": 100, @@ -245,7 +245,7 @@ }, "0xb40e060fffe717c5": { "battery": 100, - "occupancy": true, + "occupancy": false, "tamper": false, "battery_low": false, "linkquality": 72,