maziggy
56accd24de
fix(smart-plugs): don't blank printer state when an accessory plug switches off ( #2629 )
...
An end-of-print auto-off on a plug that powers a filter fan marked the linked
printer offline and forced its state to "unknown". The mark was unrecoverable:
connected heals on the next MQTT message but state does not (only frames
carrying gcode_state rewrite it, and steady-state push_status frames are
partial), so the printer stayed "unknown" until a manual Force Refresh and the
queue never dispatched to it again.
The offline mark is now an explicit presumption: mark_power_off records the
state it overwrites and _on_message undoes it as soon as the printer sends
another report on its own topic, since inbound traffic proves the power was
never cut. A reconnect discards the saved state, so a genuine power cut is
unaffected. Each plug also gains a controls_printer_power flag (default true,
backfilled) that gates all five power-off paths, and the queue's power-on step
now picks the flagged plug instead of whichever linked plug came first.
2026-07-22 09:57:27 +02:00
..
2026-07-20 17:55:56 +02:00
2026-07-07 09:54:10 +02:00
2026-07-09 09:27:13 +02:00
2026-07-07 09:54:10 +02:00
2026-07-17 10:02:19 +02:00
2026-07-22 09:57:27 +02:00
2026-07-07 09:54:10 +02:00
2026-06-22 10:00:02 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-05-24 10:16:30 +02:00
2026-07-07 09:54:10 +02:00
2026-04-26 14:24:28 +02:00
2026-06-22 12:27:58 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-11 13:38:15 +02:00
2026-07-11 13:38:15 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-09 08:43:59 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-06-10 08:02:36 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-06-26 16:10:49 +02:00
2026-05-29 10:15:53 +02:00
2026-05-20 11:25:45 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-09 07:32:24 +02:00
2026-07-07 09:54:10 +02:00
2026-07-12 08:44:53 +02:00
2026-07-07 09:54:10 +02:00
2026-07-18 13:06:01 +02:00
2026-05-22 07:40:44 +02:00
2026-07-07 10:31:19 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-05-08 11:52:42 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-05-20 08:31:09 +02:00
2026-06-08 10:39:21 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-17 08:16:35 +02:00
2026-07-07 09:54:10 +02:00
2026-06-29 12:35:43 +02:00
2026-05-20 09:45:28 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-05-16 11:34:40 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-05-17 10:54:28 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-20 10:50:15 +02:00
2026-06-12 10:14:06 +02:00
2026-07-07 09:54:10 +02:00
2026-07-22 09:57:27 +02:00
2026-05-23 09:19:56 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-06-23 09:59:05 +02:00
2026-07-07 09:54:10 +02:00
2026-07-20 13:41:41 +02:00
2026-06-02 14:33:20 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00
2026-07-07 09:54:10 +02:00