opencode/decisions.yaml, zigbee2mqtt/state.json
This commit is contained in:
@@ -314,3 +314,22 @@ notes:
|
|||||||
- template
|
- template
|
||||||
pin: true
|
pin: true
|
||||||
status: active
|
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
|
||||||
|
|||||||
+14
-14
@@ -4,7 +4,7 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 122.2,
|
"voltage": 122.3,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.14,
|
"power_factor": 0.14,
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 121.7,
|
"voltage": 121.7,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 56.21,
|
"energy": 56.22,
|
||||||
"power_factor": 0.88,
|
"power_factor": 0.88,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 134,
|
"linkquality": 134,
|
||||||
"power": 83.9,
|
"power": 89.3,
|
||||||
"current": 0.8,
|
"current": 0.8,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 119.3,
|
"voltage": 120.6,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 115.63,
|
"energy": 115.64,
|
||||||
"power": 0.8,
|
"power": 127.4,
|
||||||
"current": 0.02,
|
"current": 1.14,
|
||||||
"power_factor": 0.38,
|
"power_factor": 0.95,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -98,10 +98,10 @@
|
|||||||
"voltage": 121.5,
|
"voltage": 121.5,
|
||||||
"energy": 52.08,
|
"energy": 52.08,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 48.4,
|
"power": 57.8,
|
||||||
"current": 0.52,
|
"current": 0.56,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.72,
|
"power_factor": 0.73,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"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_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"power_factor": 0.06,
|
"power_factor": 0,
|
||||||
"power": 1.3
|
"power": 0.1
|
||||||
},
|
},
|
||||||
"0xa4c1380d0679ffff": {
|
"0xa4c1380d0679ffff": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
},
|
},
|
||||||
"0xb40e060fffe717c5": {
|
"0xb40e060fffe717c5": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"occupancy": true,
|
"occupancy": false,
|
||||||
"tamper": false,
|
"tamper": false,
|
||||||
"battery_low": false,
|
"battery_low": false,
|
||||||
"linkquality": 72,
|
"linkquality": 72,
|
||||||
|
|||||||
Reference in New Issue
Block a user