opencode/decisions.yaml, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-08-14 16:21:08 +00:00
parent 544f0a2cf5
commit 02736ce1d9
2 changed files with 38 additions and 11 deletions
+27
View File
@@ -258,3 +258,30 @@ notes:
- octoprint - octoprint
pin: true pin: true
status: active status: active
- id: 2026-08-14-octoprint-live-rest-sensors-are-the
date: 2026-08-14
title: "OctoPrint: `_live` REST sensors are the accurate source, MQTT push lags"
decision: OctoPrint MQTT push progress events are throttled (~5-13 min gaps), so MQTT
sensors lag. The `_live` REST sensors (/api/job every 30s) are the accurate source.
Keep dashboards and helpers on `_live` sensors; do not swap MQTT sensors back in for
display.
rationale: "2026-08-14: throttled PrintProgress push left MQTT sensor.octoprint_print_time
~18 min stale vs live REST. Switched sensor.octoprint_elapsed helper to live REST
printTime attribute and History graph to sensor.octoprint_print_progress_live.
Rounded progress to 2 decimals so slow prints visibly advance (2.4 -> 2.45). Elapsed
2611s matched wall-clock printTime exactly."
entities:
- sensor.octoprint_print_progress_live
- sensor.octoprint_print_time_left_live
- sensor.octoprint_print_state_live
- sensor.octoprint_elapsed
- sensor.octoprint_print_progress
- sensor.octoprint_print_time
files:
- configuration.yaml
integrations:
- octoprint
- rest
- mqtt
- template
status: active
+11 -11
View File
@@ -27,7 +27,7 @@
"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,
"power": 2, "power": 2.3,
"current": 0.12, "current": 0.12,
"energy": 28.61, "energy": 28.61,
"power_factor": 0.14, "power_factor": 0.14,
@@ -58,7 +58,7 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 134, "linkquality": 134,
"power": 83, "power": 81.9,
"current": 0.77, "current": 0.77,
"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.1, "voltage": 119.5,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 115.15, "energy": 115.15,
"power": 1.1, "power": 1.1,
"current": 0.05, "current": 0.05,
"power_factor": 0.36, "power_factor": 0.41,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -95,13 +95,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": 120.7, "voltage": 120.2,
"energy": 51.74, "energy": 51.74,
"state": "ON", "state": "ON",
"power": 59.9, "power": 104.5,
"current": 0.65, "current": 1.02,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.77, "power_factor": 0.82,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": { "0xffffb40e0608864e": {
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 121.2, "voltage": 120.6,
"energy": 17.63, "energy": 17.63,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"state": "ON", "state": "ON",
@@ -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.13, "power_factor": 0.17,
"power": 1.4 "power": 0.1
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,