Load Cell / Scale Integration for Auto Weight #41

Open
opened 2026-01-16 05:11:12 +00:00 by tonym · 0 comments
Owner

Summary

Integrate with load cell/scale hardware to automatically read spool weight.

Upstream Issue

Concept

HX711-based load cell reads current spool weight. Subtract empty spool weight = remaining filament.

Reference Projects

Implementation Options

Option A: External ESP32/Device

  • Dedicated scale device with WiFi
  • Calls Spoolman API to update weight
  • Cleanest separation of concerns
  • Works with any Spoolman host

Option B: GPIO on Pi (if Spoolman runs on Pi)

  • Direct HX711 connection
  • Requires Spoolman to run on Pi with GPIO
  • Less flexible

Option C: Webhook/API Endpoint

  • Spoolman provides endpoint: POST /api/v1/spool/{id}/weight
  • External scale device calls it
  • Most flexible - works with any scale hardware

Recommendation

Option C - just provide API endpoint. Let external projects handle hardware.

Maybe part of #37 (Plugin System) as a scale plugin.

  • #37 Plugin System
  • #24 NFC/RFID (hardware integration)
## Summary Integrate with load cell/scale hardware to automatically read spool weight. ## Upstream Issue - https://github.com/Donkie/Spoolman/issues/287 ## Concept HX711-based load cell reads current spool weight. Subtract empty spool weight = remaining filament. ## Reference Projects - [Filament-Scale-Enhanced](https://github.com/techman83/Filament-Scale-Enhanced) - OctoPrint plugin ## Implementation Options ### Option A: External ESP32/Device - Dedicated scale device with WiFi - Calls Spoolman API to update weight - Cleanest separation of concerns - Works with any Spoolman host ### Option B: GPIO on Pi (if Spoolman runs on Pi) - Direct HX711 connection - Requires Spoolman to run on Pi with GPIO - Less flexible ### Option C: Webhook/API Endpoint - Spoolman provides endpoint: POST /api/v1/spool/{id}/weight - External scale device calls it - Most flexible - works with any scale hardware ## Recommendation Option C - just provide API endpoint. Let external projects handle hardware. Maybe part of #37 (Plugin System) as a scale plugin. ## Related - #37 Plugin System - #24 NFC/RFID (hardware integration)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tonym/spoolman2#41
No description provided.