Skip to content

ReceiptPi v1.2.3 — ESC/POS Temp Cache Fix

Latest

Choose a tag to compare

@HostisHumani HostisHumani released this 28 Sep 16:08
· 42 commits to main since this release
2690119

ReceiptPi v1.2.3 — ESC/POS Temp Cache Fix

This patch release fixes an issue where ESC/POS capability cache files could accumulate in temporary directories over time.

🛠 What was fixed

ReceiptPi now delays printer imports in watcher-related modules so that ESC/POS initialization only happens when printing is actually required.

Affected areas:

  • Message printing
  • Weather alerts
  • Wi-Fi printing

This prevents background watchers from repeatedly creating ESC/POS capability cache files during normal polling.

💾 Reduced temporary file usage

On affected systems, thousands of temporary cache directories could accumulate under /tmp and /var/tmp, eventually filling the filesystem.

The fix prevents new temporary cache folders from being created during watcher runs.

✅ Verified

The fix was tested with:

  • Manual watcher runs
  • Real /print/message test print
  • Service restart
  • Journal inspection
  • /tmp and /var/tmp monitoring

No new temporary cache directories were created after the fix.


Full Changelog: v1.2.2...v1.2.3