Commit graph

28 commits

Author SHA1 Message Date
98227a0a86 add spoolman auth 2026-04-12 12:04:22 +02:00
Sebastian Andersson
96cfcc9b08 Move OpenTag3DParser to own file 2026-01-13 11:08:21 +01:00
Sebastian Andersson
60e32c28ee Better defaults handling for OpenTag3d + dbg 2025-11-29 12:19:41 +01:00
copilot-swe-agent[bot]
ad09f87517 Fix multi_color_hexes list construction for better readability
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-28 21:09:21 +01:00
copilot-swe-agent[bot]
d0ef5fbd9a Update OpenTag3D parser for new NDEF record format (spec v0.012)
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-28 21:09:21 +01:00
copilot-swe-agent[bot]
2a2be64074 Keep original default config directory, only add CLI option
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-28 15:02:27 +01:00
copilot-swe-agent[bot]
f4ce7647a5 Add configurable config directory with command-line option
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-28 15:02:27 +01:00
copilot-swe-agent[bot]
a41ec90b11 Update OpenTag3D to search by vendor, material, and name
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-10 07:02:40 +01:00
copilot-swe-agent[bot]
61653e8294 Add OpenTag3D parser and Spoolman integration methods
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-09 20:50:03 +01:00
copilot-swe-agent[bot]
bc288f7669 Refactor NFC parsing: Extract parsing logic to separate module
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-09 11:53:48 +01:00
copilot-swe-agent[bot]
12c5717650 Add configurable macros section to support custom commands
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-09 09:58:23 +01:00
Sebastian Andersson
00df5e0c8b Fix copyright year 2025-11-06 20:30:30 +01:00
Sebastian Andersson
41c31a9d5f Fix duplicate code 2025-11-06 20:30:30 +01:00
copilot-swe-agent[bot]
a670158585 Improve error message when backend is down to inform user to start nfc2klipper_backend
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-06 20:30:30 +01:00
copilot-swe-agent[bot]
a7db1019f1 Extract IPC handling code to reusable lib/ipc.py module
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-06 20:30:30 +01:00
copilot-swe-agent[bot]
beb3ee2225 Refactor request handlers to use proper arguments with introspection, add mock objects, and nosec comments
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-06 20:30:30 +01:00
copilot-swe-agent[bot]
973c4c21bc Add mypy type checking infrastructure and fix all type errors
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-06 20:30:30 +01:00
copilot-swe-agent[bot]
b82cd035c8 Add comprehensive type annotations to all Python files
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-06 20:30:30 +01:00
copilot-swe-agent[bot]
91923229cc Make socket path configurable
Default to ~/nfc2klipper/nfc2klipper.sock

Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
2025-11-06 20:30:30 +01:00
Sebastian Andersson
17429a2ff9 Add feature to set nfc_id from web 2025-05-09 19:54:11 +02:00
Sebastian Andersson
ea4744a363 Change tag id to match FilaMan.
FilaMan uses "f:2:c:4:a:6" for the nfc_id values.
2025-05-05 17:57:11 +02:00
Sebastian Andersson
43b88acd0b Formatting fixes 2025-05-05 17:57:11 +02:00
Sebastian Andersson
611540cdb5 Lookup nfc-id, if spool/filament is missing 2025-05-05 17:57:11 +02:00
Sebastian Andersson
9cb9e1e81b Add get_spool_from_nfc_id method 2025-05-05 17:57:11 +02:00
Sebastian Andersson
17ed3e7681 Fix issue #13
The reader got stuck after reading the first tag.
Change to use clf.sense instead of connect to detect
when the tag is removed from the reader.
2025-01-02 10:50:58 +01:00
Sebastian Andersson
01cb7c933a Fix formatting and lint issues 2024-12-18 12:16:52 +01:00
Thijs Triemstra
94c3ad9c69
use logging module in nfc_handler 2024-12-14 04:18:35 +01:00
Sebastian Andersson
998c74690a Add web service to nfc2klipper for writing tags 2024-10-20 22:35:09 +02:00