mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
When a project_file command was unacknowledged for 15s, Bambuddy previously logged "printer may need restart" and left the broken MQTT session in place — requiring the user to power-cycle the printer. The existing half-broken-session recovery only ran via the developer-mode probe path, which skips printers with a known developer_mode value. Extract the existing force-reconnect logic into a reusable helper and call it from _verify_print_response on dispatch timeout. The next dispatch attempt then lands on a fresh MQTT session without a reboot.