feat: discover printer by MAC (survives DHCP IP changes)

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>
This commit is contained in:
Mortdecai
2026-06-07 13:20:34 -04:00
parent fa580ec936
commit 7bfe862f53
4 changed files with 109 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
collect_ignore_glob = ["CREATE_PROJECT.md", "GITEA_API.md"]