Node-red hmi on debian

My new side project, testing an HMI concept.

It runs on Debian, uses Chromium as the browser, and Node-RED for offline operation. It also includes a built-in database with a database manager.

on video VM for macOS (Parallels, Apple Silicon) for dev

Changes:

  • Project renamed to fromcubes-panel
  • Adminer replaces DbGate (database browser, auto-login, export/import)
  • Built-in SQL tool (editor with autocomplete) next to Adminer
  • Node-RED 5 with fromcubes-react preinstalled (+ tailwind, assets)
  • English UI by default, Polish optional
  • Signed A/B updates (RAUC): install to the inactive slot, automatic rollback if the new version fails to boot, manual rollback, factory reset
  • Online update check from GitHub Releases (optional)
  • Universal x86-64 USB installer (UEFI, Secure Boot, BIOS/CSM, 32-bit UEFI)
  • Read-only root filesystem – device state kept on a separate partition
  • Improved USB: safe automount, downloads go to the shared folder, copy files to a USB stick, DB export to USB
  • Date & time: timezone, custom NTP servers, manual time
  • Multi-monitor: choose one for kiosk
  • On-screen keyboard
  • Custom Cut/Copy/Paste menu, no deice mode for debugging)
  • Panel address (IP + name.local) on the welcome screen, mDNS toggle
  • Ready for the Apache-2.0 license

more soon :eyes:

Nice, the A/B updates with automatic rollback are what I'd want on a panel at a machine. The read-only root with the device state on its own partition is a good call too, that's usually what dies first on panels that lose power without a proper shutdown.

I run on 14" screen and radxa x2l

Thanks for the comment. It also turned out that I still need to work on my approach to Docker.
I've already bought a programmable power supply. I still need to set up a test bench to simulate power outages and test how devices behave when the power supply is interrupted.

@Aaqu Good call testing this with a programmable supply :bulb:

For a kiosk panel keep mutable state out of container layers: mount Node-RED userDir and DB files from the state partition as named volumes, keep rootfs read only, pin image by digest for clean A/B rollback. For the outage bench cut power during active writes and verify flows, DB and RAUC slot recover cleanly.

LS2208 – Sending Barcode Scans to a Node-RED Dashboard over Wi-Fi