Spoolman Server Compatibility#
The Disane87/spoolman-homeassistant integration talks exclusively to the Spoolman v1 REST API . It is designed for the canonical Donkie/Spoolman server and is compatible with Spoolman-NG (sherrmann/Spoolman-NG) โ a community-maintained fork that explicitly stays drop-in compatible with the upstream API. Both servers expose the same /api/v1 surface the integration depends on.
Endpoints the integration requires#
The API client (spoolman_api.py) calls the following routes at every poll cycle or on user action:
| Route | Method | Purpose |
|---|---|---|
/api/v1/health | GET | Setup health check โ must return {"status": "healthy"} |
/api/v1/info | GET | Fetched after a healthy response; server version and git_commit are surfaced as device info |
/api/v1/spool | GET | Coordinator spool refresh; passes allow_archived query flag |
/api/v1/filament | GET | Coordinator filament refresh |
/api/v1/field/spool | GET | Extra-field metadata (optional, see below) |
/api/v1/location | GET | Location list (optional, see below) |
/api/v1/spool/{id} | PATCH | spoolman.patch_spool service |
/api/v1/spool/{id}/use | PUT | spoolman.use_spool_filament service |
There is no server-version gate โ the integration does not compare the reported version against a minimum. Compatibility is inferred at runtime from whether the required endpoints respond correctly .
Graceful degradation for optional endpoints#
Two endpoints are treated as optional so that older Spoolman releases keep working :
/api/v1/field/spoolโ If unavailable, extra-field sensors are silently skipped (spool_extra_fields = {})./api/v1/locationโ If unavailable, locations are derived from thelocationfield on returned spools instead .
Spoolman-NG fork#
Spoolman-NG is a community fork of Donkie/Spoolman started in early 2026 while upstream was dormant. It describes itself as a superset โ adding NFC identification, order tracking, authentication, and more โ while remaining drop-in API compatible with the upstream. The integration works against Spoolman-NG without code changes; just point the configured URL at your Spoolman-NG instance.
Spoolman-NG is also listed explicitly in the Spoolman-NG README as a compatible tool alongside OctoPrint and Moonraker .
Running Spoolman-NG as a Home Assistant add-on#
Spoolman-NG ships a dedicated HA Supervisor add-on via the sherrmann/spoolman-ng-addons repository . Install it, then point this integration at http://<ha-host>:8000/ โ the add-on's default port . If port 8000 is already occupied, remap it in the add-on's Configuration โ Network settings and update the integration URL accordingly.
Optional API token (Spoolman-NG only)#
Spoolman-NG supports an opt-in SPOOLMAN_API_TOKEN bearer-token authentication scheme . The current HA integration client (spoolman_api.py) sends no Authorization header , so if you enable the API token in Spoolman-NG, the integration will fail to authenticate. Either leave the API token unset, or track issue #886 for future token-support work in the integration .
Summary#
| Server | Compatible? | Notes |
|---|---|---|
| Donkie/Spoolman (upstream) | โ | Primary target |
Spoolman-NG (sherrmann/Spoolman-NG) | โ | Drop-in API compatible; available as HA add-on |
| Spoolman-NG with API token enabled | โ ๏ธ | Integration does not send Authorization header; disable token or wait for #886 |