Connecting a Spoolman server¶
Spoolman is a free, open-source, self-hosted filament inventory. FiloQ is a mobile client for it. Everything you change in FiloQ is stored on your server and shows up in the Spoolman web interface, and the other way round.
Recommended: Spoolman 0.27 or later. FiloQ also works with older versions. It detects what the server supports (global search, summaries, NFC tags) and hides or replaces what is missing.
Connect¶
Welcome screen → Connect my Spoolman (or later: More → Instances → Add instance).
- Server address, for example
192.168.1.10:7912,spoolman.local:7912orhttps://spoolman.example.com. - Without
http://orhttps://, FiloQ tries HTTPS first and then HTTP. - If the server redirects to HTTPS, FiloQ uses the secure address.
- A sub-path (
SPOOLMAN_BASE_PATH) works, and a pasted address ending in/api/v1is fine too. - Authentication (optional). Spoolman itself has no login. Set this only if your server is behind a reverse proxy that requires it:
- HTTP Basic Auth (username and password)
- Bearer token
- Custom headers, for example
CF-Access-Client-IdandCF-Access-Client-Secretfor Cloudflare Access - Test connection. FiloQ shows the Spoolman version and the database type. It says when an update is available or when the server is older than recommended.
- Name the instance (for example "Workshop") → Start using FiloQ.
Credentials are stored encrypted in the iOS keychain or the Android Keystore, only on this device. They are sent with every request, including live updates and exports.
Self-signed certificates¶
If the server uses a certificate your device does not trust, FiloQ shows its SHA-256 fingerprint, subject and expiry date. Trust it only if the fingerprint matches your server's. FiloQ then pins exactly this certificate ("trust on first use"). If the certificate changes, the connection fails until you trust the new one. The pin can be removed in the instance settings.
FiloQ fields¶
Some FiloQ features need data that Spoolman has no field for, such as the minimum stock or the last
drying date. FiloQ stores this data in Spoolman extra fields whose keys start with filoq_.
- When you connect a server, FiloQ creates all its fields at once, after asking you.
- When an update brings new fields, FiloQ asks once at the next start which ones to create, naming each one. If you skip this, FiloQ asks again when you first use the feature.
- An existing field with the same key but another type is never changed.
The fields are visible and editable in the Spoolman web interface. The list is in the reference.
Live updates¶
While FiloQ is open, it listens to Spoolman's websocket. Changes from the web interface or from other clients (Klipper, OctoPrint, other phones) show up right away, without reloading. The More tab shows whether live updates are active.
Offline¶
- Reading: FiloQ keeps the data it loaded last on the device, separately for each server. When the server cannot be reached, you can still look at everything (read-only, with a banner).
- Booking usage offline: usage booked while the server cannot be reached is saved on the device. FiloQ sends it automatically when the server answers again, including at app start and when you return to the app.
- The spool shows the expected remaining weight,
≈ … (pending). - More → Pending bookings lists the queue: Send now, Discard.
- No double bookings: if it is unclear whether a booking reached the server (no answer), FiloQ checks the spool before sending again. If someone else changed the spool in the meantime, you decide (Book anyway / Discard) instead of FiloQ guessing.
- Weighing is not queued: an absolute weight would overwrite usage that others booked in the meantime.
- Removing an instance deletes its offline data and pending bookings.
Several servers¶
You can add as many instances as you like: Spoolman servers, a library on this device and the demo. Switch under More → Instances or by long-pressing the title. Each instance has its own cache.
Server settings and info¶
- Settings → Server settings: currency (ISO code such as EUR) and price rounding. These are stored on the Spoolman server and apply to all clients.
- More → Server info: Spoolman version, latest version, database, data and backup directories, automatic backups, and whether live updates are connected.
If Klipper/Moonraker or OctoPrint already report usage¶
Spoolman integrations in Klipper/Moonraker or OctoPrint book usage on their own. In that case, don't book the same print again in FiloQ (from a print file or a Bambu printer). FiloQ reminds you of this when you book from a print file.