Repository navigation
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/messagetest print - Service restart
- Journal inspection
/tmpand/var/tmpmonitoring
No new temporary cache directories were created after the fix.
Full Changelog: v1.2.2...v1.2.3