The root conftest.py did not prevent pytest's rootdir scandir from following
the dead CREATE_PROJECT.md symlink (-> inaccessible /root/bin), so the standard
'pytest tests/...' command crashed on collection. A minimal tests/pytest.ini
pins rootdir to tests/, so the repo root is never scanned. Also moves the
pathlib import to the top import block (PEP 8).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add discover_printer(), _mac_of(), _port_open(), _sweep_arp(), _cache_ip()
with PRINTER_MAC/PRINTER_SUBNET/CACHE_FILE config + unit tests. Also adds
conftest.py to work around broken symlink that blocked pytest collection.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replaces the never-installed cron approach with an MQTT bridge mirroring the
lgtv pattern: Google Home button -> HA script/scene -> MQTT -> steel141 prints.
Adds MAC-based printer discovery (printer IP is DHCP-unstable) and a gemma4
summarizer swap. Includes scripts/dryrun.py (non-printing pipeline harness).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>