Skip to content

Add files via upload#165

Merged
sjordan0228 merged 7 commits into
SpoolSense:devfrom
roomonthethird:roomonthethird's-Spoolsense-Case
Apr 20, 2026
Merged

Add files via upload#165
sjordan0228 merged 7 commits into
SpoolSense:devfrom
roomonthethird:roomonthethird's-Spoolsense-Case

Conversation

@roomonthethird
Copy link
Copy Markdown
Contributor

IMG_5954 IMG_5955

sjordan0228 and others added 7 commits April 13, 2026 16:56
When a spool is selected from the Spoolman picker and Write Tag is
clicked, the JS calls POST /api/spoolman/pending-link with the selected
spool ID before waiting for a tag. The firmware stores this pending
link and on the next tag detection, PATCHes nfc_id on the existing
spool instead of auto-creating a duplicate. Pending link expires after
2 minutes if no tag is detected.

- SpoolmanManager: setPendingLink(), atomic pendingLinkSpoolId_ + expiry
- WebServerManager: POST /api/spoolman/pending-link endpoint
- SharedJS: track _selectedSpoolId in picker, call pending-link at write start
Store timestamp before spool ID in setPendingLink so any reader that
sees a valid ID is guaranteed the timestamp is already set. Read
timestamp before the exchange in syncSpool to match.
…pgrade

PlatformIO auto-updated to espressif32@53.3.10 (Arduino ESP32 3.x / ESP-IDF 5.x)
which has breaking API changes. Pin to last known-good 2.x-based platform version.
…-pending-link

fix: link existing Spoolman spool when writing tag from picker (SpoolSense#130)
- Firefox stale-cache fix: no-store + compile-time ?v=FIRMWARE_VERSION (SpoolSense#151)
- Default initial_weight to 1000g when Spoolman has no weight set (SpoolSense#128)
- Writer Read enrichment polling — async Spoolman lookup with 8s retry (SpoolSense#101)
- Format detection grace period — 2s tolerance before wrong-format error (SpoolSense#101)
- Full round-trip field restoration on writer Read (SpoolSense#101)
- Bambu MIFARE Classic tag reading via HKDF key derivation + PN5180 auth (SpoolSense#24)
- Reads material, color, weight, diameter, temps, production date, filament length
- TFT display, web reader page, MQTT/HA publishing, Spoolman sync
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 19, 2026

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (5)
  • usermods/Spoolsense NFC Reader Case - Base.step
  • usermods/Spoolsense NFC Reader Case - Base.stl
  • usermods/Spoolsense NFC Reader Case - LID.step
  • usermods/Spoolsense NFC Reader Case - LID.stl
  • usermods/Spoolsense NFC Reader.f3d
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d76bcef1-c168-45fc-a6f6-9561225371a4

📥 Commits

Reviewing files that changed from the base of the PR and between d189ab1 and e607b0c.

📒 Files selected for processing (5)
  • usermods/Spoolsense NFC Reader Case - Base.step
  • usermods/Spoolsense NFC Reader Case - Base.stl
  • usermods/Spoolsense NFC Reader Case - LID.step
  • usermods/Spoolsense NFC Reader Case - LID.stl
  • usermods/Spoolsense NFC Reader.f3d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your first pull request! We'll review it shortly.

@roomonthethird
Copy link
Copy Markdown
Contributor Author

I don't think I added this correctly...I created a Spoolsense case for ESP32 S3 mini and the PN5180. No headers used but directly soldered. Please let me know how I can correctly upload files as this is my first time lol.

@sjordan0228 sjordan0228 changed the base branch from main to dev April 20, 2026 15:14
@sjordan0228 sjordan0228 merged commit 35345f3 into SpoolSense:dev Apr 20, 2026
2 checks passed
roomonthethird pushed a commit to roomonthethird/spoolsense_scanner that referenced this pull request Apr 22, 2026
Bumps FIRMWARE_VERSION from 1.7.2 → 1.7.3.

CHANGELOG.md:
- Adds [1.7.3] entry documenting SpoolSense#163 WiFi keep-awake, SpoolSense#165 case files,
  SpoolSense#164/SpoolSense#13 TigerTag partial writes, SpoolSense#159/SpoolSense#162 openprinttag rename.
- Backfills missing [1.7.2] entry (Bambu MIFARE Classic reading, SpoolSense#24).
- Backfills missing [1.7.1] entry (writer enrichment + bug fixes,
  SpoolSense#130/SpoolSense#101/SpoolSense#128/SpoolSense#151 and platform pin).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants