github dmellok/tesserae v0.515.0

one hour ago

Security

  • TRMNL clients reaching the server from outside the local network must present their access token; a MAC address alone is no longer enough there. Without this, anyone who knew or guessed a device's MAC could read its access token from /api/setup, poll /api/display as that device and, with Allow REST clients on public networks on, fetch its dashboard image. A first-time device calling in from a public address is no longer created automatically: it waits under Settings › Devices › Discovered for you to register it. Devices on the LAN, and networks listed under Trusted networks, pair and poll exactly as before.

  • Documentation: Add HOWTO for an embedded transit-board

Added

  • Open a dashboard sidebar from either Lineups page to preview photos and edit dashboard settings.
  • Live mode (experimental, off by default; turn it on under Settings › System › Features): open a dashboard's compose address with ?live=1 in a browser on a display driven by a computer, such as an e-ink monitor. The dashboard fits the window, stays on screen, takes fresh widget data without a reload (every 30 seconds, or &interval= in seconds, 5 at the least) and reloads itself when the dashboard is edited. Code elements get ctx.live and ctx.onData(fn), so an animation keeps running while its data changes.
  • Meural: the device page shows the frame's own sleep schedule, set in the Meural app, and quiet hours follow it. A frame with its scheduler off, or with no sleep events, keeps the quiet hours set in Tesserae.
  • Home Assistant App: MQTT credentials are optional with HA's Mosquitto broker App. With the username left blank, Tesserae takes the broker's host, port, username and password from Supervisor's MQTT service, as zigbee2mqtt and other Apps do. Credentials entered in the App options are used as given, a host other than the service's is kept, and a broker Supervisor reports with TLS is not applied. The App's config.yaml still has to declare services: [mqtt:want] for Supervisor to offer the service. (#600)
  • Lineups: a rotation step shows its dashboard's refresh interval beside its position, photo widgets show their order on the item badge, and frames that are always on with no connection of their own (Meural, Samsung The Frame) say Always on.
  • Webpage widget: Show can be An HTML snippet instead of a web address. Paste embed code, such as a transit operator's departure board (a <div> and a <script src>), and it runs in the cell without being hosted on a page of your own first. The snippet runs in a sandboxed frame of its own: its scripts load what they need from the web, but they can't reach Tesserae's pages, your sign-in or settings. An embed that needs cookies or local storage still needs a page of its own. Saved cells keep showing their web address. (discussion #8)
  • Export one display from its own page: Export this display in the More menu downloads just that display, without its access token. The export form on Settings › Devices gains Select all and Clear all. (#541)
  • Lineups: rotations can run past midnight, using the weekday they start on. A lineup on only some days can't switch between one dashboard and several while its window runs past midnight, because the two read the hours after midnight as different weekdays; end it by 24:00 or run it every day.
  • Themes: eight Flat ink themes for colour e-ink, in their own group in the theme pickers. Every colour in them is one of the panel's own inks, so backgrounds, cards and fills paint solid with no dither pattern. Poster, Taxi, Signal and Noir use black, white, yellow and red, for 4-colour panels and Spectra 6. Primary, Delft, Canary and Gallery add blue and green, for Spectra 6. On a display with a measured calibration profile applied, yellow and red areas can still pick up a few stray dots; set the cell's dithering to Flat to clear them.
  • Long multi-select pickers show only their picks under a search box; typing filters, Enter ticks the top match, arrow keys move through results.
  • Gallery's Orientation gains Auto and Match the frame: a dashboard on both portrait and landscape frames shows each frame pictures of its own shape. Widgets get ctx["frame_shapes"].
  • Meural swipes show the next item or dashboard, and thumbnails follow the frame's current artwork.
  • Show Meural and Samsung The Frame exchanges, power commands and skips in the device page Frame log.
  • Lineups: a gear on each dashboard tile and beside each lineup name opens its editor, and the More menu can duplicate a lineup (the copy starts off).
  • Hardware: the Seeed XIAO ePaper EE05 with the 4.26" mono panel (800×480) is in the catalog as seeed_ee05_426. It takes the same 48,000-byte mono frame as the reTerminal E1001. The firmware target is seeed-ee05-426 in tesserae-device-firmware. Not yet tested on real hardware.

Changed

  • Lineups: a saved rotation whose end is earlier than its start used to stop at midnight. It now carries on after midnight until its end, as its settings always read. If you have one (for example 22:00 to 06:00) and want the old hours, set its end to 24:00. A rotation whose end equals its start is unchanged: it runs from its start to midnight.
  • Lineups: a window that runs past midnight says so in its label ("next day" for a rotation, "overnight" for a single dashboard), and the time inputs on the Lineups page again refuse a window shorter than 15 minutes.

Fixed

  • TRMNL: when a device polls from a public address and its image fetch is going to be refused, the server log says so and names the setting to turn on. Before, the only sign was the device reporting a 403. (#622)

  • TRMNL clients behind a reverse proxy or tunnel can fetch their frame. /api/display handed out a bare /renders/… address, which is refused for any client arriving from a public address, so a TRMNL device reaching the server through a Cloudflare Tunnel, nginx, Caddy or Traefik polled successfully and then got 403 on the image. The address is now signed and short-lived, as the REST /frame address already was. Turn on Settings › Server › Network & integrations › Allow REST clients on public networks for the signature to be accepted; it stays off by default. Devices on the LAN are unaffected. (#622)

  • Webpage widget: a scaled page fills its cell again. The page is drawn larger than the cell and scaled down, but it was squeezed back to the cell's height first, so at a scale of 0.64 it covered only the top 64% of the cell and everything below was lost, whatever the render width or scale. A new Render height (under the advanced options) says how much of the page to show: with Scale on Fit the page is shrunk until that height fits too, so a page taller than the cell can be shown whole. The Fit choice is labelled for what it does, fitting the width, and the help says the percentages ignore the render width. (#609)

  • Dashboard editor: As the panel shows it is drawn at the right size for every display on a dashboard. With two displays of different sizes, the preview for any display but the first was laid out for the first display and cut off at the smaller one's edges, so a 320×240 panel showed the top-left corner of a 900×600 layout. Widgets that show a display's own battery or signal also read the first display's values there. Sends to the displays were not affected. (#616)

  • A picture still loading when the render's wait ends counts as failed, so an automated send keeps the previous image instead of a blank frame.

  • Display page: Delete in the Remove section opens its confirmation right under the button. It was opening far up the page, out of sight, so the button looked as if it did nothing. (#610)

  • A cell set to Flat is drawn in the nearest ink, with no dithering, on TRMNL displays (trmnl_png, trmnl_png_color, trmnl_png_gray16, trmnl_png_gray4) and Kaleido displays (kaleido_png), in the preview and on the panel. These renderers ignored the setting, so the choice did nothing on those displays. (#601)

  • Dashboard editor: the Done drawing button beside the preview is white on black, like Edit on preview, instead of black on black, and keeps its colours under the pointer. (#607)

  • Lineups: folding a row or display keeps it in place instead of jumping the page (Safari, and near the end of the page), and so does the page's own refresh. Rows and displays slide open and shut.

  • Lineups no longer waits for a running push before it loads.

  • A dashboard's own refresh no longer re-sends it to a display whose lineup rules it out. When a step's conditions fail (and no schedule names the dashboard for that display), its refreshes skip that display until the conditions pass again, whether the lineup or a manual push put it there. A display on a manual hold keeps refreshing.

  • Single-widget dashboards use the dashboard Look controls, while keeping saved cell overrides and Zoom editable.

  • Device page: a button map that fails to save stays in the editor as you typed it, so you can fix the mistake instead of retyping the map. The error is still shown, and the saved map is unchanged. (#588)

  • Device page: a save whose button map fails no longer shows a "saved" message listing sections you didn't touch. If something else on the page changed, the message says it saved everything except the button map; if nothing else changed, only the button map's error shows. (#588)

  • A copy of a display's file in data/devices/, such as kitchen.bak.json or an editor's .kitchen.json, no longer loads as a second display holding the same token. Device ids never contain a dot, so such files are skipped with a note in the server log. (#541)

  • Lineups: a widget whose photo list stops short of everything it draws from shows its real count. An Immich album of 1,700 photos read as 1,000, the most the list holds, though the frame was always drawing from the whole album.

  • Clarify Lineups header hierarchy and link dashboard and lineup names to their editors.

  • Fix always-on lineup update timing, daily refresh counts and delivery status.

  • Documentation: manual install steps were missing chromium install via playwright

Don't miss a new tesserae release

NewReleases is sending notifications on new releases.