Skip to content

v0.16.0 - The farm for one printer or a hundred, updated from one place, and a clearer page

Pre-release
Pre-release

Choose a tag to compare

@ahmedbebars ahmedbebars released this 22 Oct 14:32
· 35 commits to main since this release

Upgrading: update from Mainsail or Fluidd (or git pull), then restart Klipper (FIRMWARE_RESTART, never while printing): one macro changed, so an eject stopped by an error no longer shows as running. If you installed the notifications or the farm, Moonraker restarts the klipper-auto-eject service by itself after the update. A page left open says that a newer one is ready, with Reload. If you installed the page as an app, close and open it once or twice so it takes the new files; to get the shortcuts on its icon, install it again. Nothing changes in the slicer, and your settings are kept.

بالعربية: صفحة المزرعة تصلح الآن لطابعة واحدة أو لمئة: تصفية وبحث وقائمة بسطر لكل طابعة ومجموعات حسب الرف أو الغرفة، ولم تعد الطابعات المطفأة تبطئ البقية. وتحديث المزرعة كلها من تبويب التحديثات، للطابعات التي لا تفعل شيئًا فقط وبترتيب آمن. وتبويب جديد للتحديثات يشرح ما تغيّر في Klipper وهل تحتاج اللوحات إعادة برمجة، وزر الإبلاغ عن مشكلة، والإشعارات على Telegram أو Discord. والصفحة أوضح وأسهل على الهاتف: ألوان تستوفي معيار التباين، وشريط بأربعة أقسام والمزيد، وأزرار بحجم الإصبع. والتطبيق أكمل: اختصارات على الأيقونة، وعدد الطابعات التي تحتاجك عليها، وإبقاء الشاشة مضاءة. وإصلاح: الإخراج الذي يتوقف بخطأ لم يعد يظهر وكأنه ما زال يعمل.

Tested: 526 tests. Every tab of the page checked in both languages and both themes, on a computer and a phone, for contrast, target sizes, names and headings; the farm with 100 pretend printers, ten of them switched off; updating the whole farm in a safe order against a pretend Moonraker; an eject stopped by a probe error in the macro simulator; where install.sh puts the [include] lines, run with bash on pretend printer.cfg files.

Added

  • A more complete app (web-page.md): an install
    button at the top of the page when the browser offers it; pictures of the app in the install
    dialog; shortcuts on the icon (farm, print queue, check a file); the number of printers that
    need you on the icon; splash screens on iPhone and iPad; a monochrome notification icon for
    Android; a notice with Reload when the printer has a newer page than the one open; and
    Keep the screen on for a tablet by the printers. A shortcut or a notification opens the app
    already open, which also starts faster.
  • The farm, for one printer or a hundred (farm.md): filters with
    counts (needs you, printing, free, switched off, not answering), a search by name, address,
    group or file, a list with one line for each printer (by itself above 12 printers, or by
    choice), and groups (Shelf A, Room 2) set in each printer's ✎.
  • Update the whole farm from the Updates tab: every printer's version of auto-eject,
    Klipper, Moonraker and its web page, and its boards against its Klipper. Update one printer
    or Update the free ones: only printers that do nothing, checked again before each software,
    everything in a safe order with auto-eject last, and Klipper restarted once at the end when
    configs or macros changed. Boards are not flashed from here.
  • Notifications on Telegram or Discord: install.sh --notify asks where they should go (the
    ntfy app, Telegram or Discord), and the plain install asks too. For Telegram it checks the bot's
    token with Telegram and finds your chat by itself from a message you send the bot; for Discord it
    takes the channel's webhook link. Moonraker sends them through Apprise, so no bot program is
    installed. The page shows only which service, never the token.
  • An Updates tab: what changed in Klipper and the rest since your versions, from Moonraker's
    update manager. Each update in Klipper's words, with what it is about (motion, heaters, board
    firmware…); whether the updates change the code on the boards, so they need a reflash after
    updating; and Klipper's notes on config changes. Each board's firmware against Klipper, and
    whether it needs a reflash, also under each board on Hardware. What an update changes is
    read from GitHub in the browser and kept there; without internet the list still shows.
  • Report a problem on Hardware and Activity: one text with what a GitHub issue asks
    for (the versions, the printer, its state, the settings you changed, the console), without IP
    addresses or host names, to copy or save, with a link to klippy.log and to a new issue.
  • In your slicer finds DEMON Klipper Essentials by itself: it says to keep DEMON's start lines
    as they are with AUTO_EJECT_GUARD above them, why HOME=1 stays after DEMON_END, warns when
    home_method is "g28", and says when DEMON's auto power-off is on and how the eject holds it.

Changed

  • The web page's look comes from design tokens, in three layers: the raw palette and scales,
    what each value is for (per theme), and each control's measures. Text sizes are on one scale
    (from 20 sizes to 7, none under 12 px), corners on one (from 15 to 8), and no rule writes a
    colour of its own. A printer's state has one colour everywhere. With the system's reduce
    motion
    setting, nothing on the page pulses, spins or slides.
  • The web page is easier to read and to use, after a check of every tab in both languages
    and themes, on a computer and a phone:
    • Text passes WCAG AA contrast (4.5:1) in both themes. The light theme's orange is deeper, so
      white on the orange buttons and orange links can be read; grey text is a little darker; on a
      dark page, the red and green badges and messages take dark text.
    • On a phone, the bar at the bottom holds four sections and More for the rest, instead of
      ten that scrolled off the screen; every button, box and switch is at least 44 px.
    • The search boxes are named for screen readers, headings no longer skip a level, and a
      Skip to the content button comes first for the keyboard.
    • A farm printer that is offline is no longer faded, which made its text hard to read.
  • install.sh puts the [include] lines next to the printer's own [include] lines at the top of
    printer.cfg, where people look for them, instead of at the bottom above SAVE_CONFIG (still
    the place when there are none at the top), and says on which line.
  • The farm asks all printers at once (up to 32 at a time), and a printer that does not answer is
    asked again after 10 seconds, then less often, up to once a minute: 100 printers take about as
    long as one, and printers switched off no longer slow the others.

Fixed

  • An eject stopped by an error (a probe that timed out, say) left its "ejecting" flag set: the
    page and the farm showed the printer clearing its bed until someone cleared it by hand, the
    page's buttons stayed off, and the parts-left dialog and notification never came. Now the
    printer says the eject stopped, keeps the parts for the next print's check, and asks.
  • The Updates section had no short name on a phone and showed navs.updates in the bar.
  • A farm printer showed as offline when only its print history, camera or power switch could not
    be read; now only a printer that does not answer at all is offline.