github TheSpaghettiDetective/moonraker-obico v2.2.8

56 minutes ago

Fixed

  • Fluidd and Mainsail no longer show a blank page through the Obico tunnel when the browser already has a copy of config.json. The browser asks the printer whether the file changed, and the printer answers "304 Not Modified" with no body. The agent tried to read that empty answer as JSON to adjust Mainsail's printer list, failed, and answered 502 instead. It now adjusts config.json only when the printer sends the file itself (a 200 with a body), and passes every other answer through unchanged. This bug has been in the agent since v1.4.13. Obico's own server works around it, but a self-hosted server without that workaround needs this release.

  • While Klipper is offline (for example the printer's USB cable is out), the printer's page in Obico no longer flips every 2 seconds between "Obico Plugin is Offline" and "Printer Not Connected at the Serial Port". The agent now sends the page the same status it sends the server, so the page steadily shows "Obico Plugin is Offline".

Tested on a Raspberry Pi linked to Obico's staging server: Fluidd's page and config.json loaded through the staging tunnel, video streamed, and the server showed the printer as Operational. On the same Pi, a request for config.json that asks "has this changed?" returned 502 on 2.2.7 and 304 on this release, for both Fluidd and Mainsail. 31 unit tests pass.

Versioned container image: ghcr.io/thespaghettidetective/moonraker-obico:v2.2.8 (digest sha256:fca14f63809837f35ae85f222dbd397bf81a70b6affdd78740ca746c630663d1). Release commit: 3b0b6ca28c260dda1ce67a46c76679bbcf73f05b.

Don't miss a new moonraker-obico release

NewReleases is sending notifications on new releases.