Repository navigation
Releases
Releases · FoxesRCool1/FoxTrack-Bridge
v2.6.6
Full Changelog: v2.6.5...v2.6.6
v2.6.5
v2.6.4
v2.6.2
FoxTrack
- Stopped renamed Klipper, PrusaLink, OctoPrint and Home Assistant printers
appearing twice. - Added a "printer not reachable" status for when the Bridge runs but a
printer does not. - Kept progress, file name and spools when a printer drops off the network.
- Made the top bar chip say "connected" only once a report is accepted.
- Flagged refused printers and reports on the dashboard.
- Added "Unlink FoxTrack" to Settings.
- Shortened Settings when linked, with the standalone features under "More".
Dashboard
- Made "Advanced mode" show or hide Temps, Fan, Speed and GCode on printer
cards.
Backups and history
- Removed every password, token and key from backups.
- Required a dashboard password to back up or restore from another device.
- Limited History to the newest 5000 prints.
- Kept a print's real start time in History after a Bridge restart.
Fixes
- Fixed printer names with accents arriving garbled in FoxTrack.
- Fixed a crash when a FoxTrack command arrived before settings loaded.
- Fixed a saved key following a printer to a new address.
- Fixed Bambu Cloud printers showing connected while getting no reports.
- Fixed a new printer inheriting the access code of an old one with the same
name.
v2.6.1
Printing
- Print queue: line up files already on a printer, reorder them on its card,
and press Start next once the bed is clear. It never starts a print by
itself. - Add notes to prints in History. They come along in the CSV export.
- Camera failure watch (Settings, Assistant, experimental) tells you when a
print looks failed. It never pauses anything.
Smart plugs
- New: Tapo, newer Kasa, Tuya / Smart Life, Meross, Sonoff DIY, ESPHome,
myStrom, WiZ and any Home Assistant switch, with setup help for each.
Notifications
- An "Alarm cleared" message once a printer's alarms have been gone for 2
minutes, and an "Almost done" alert you can set per channel. - Much less noise: one message per batch of alarms, flickering alarms and
printers that drop in and out are held back, and no channel gets the same
text twice in 2 minutes. - Quieter Telegram, ntfy, Pushover and Gotify messages for routine events.
- If your Bridge is linked to FoxTrack, the Notifications tab shows which
alerts FoxTrack already sends, so you don't get them twice.
Sharing and backups
- Share links (Settings, Security): a read-only page for one printer that
you can revoke any time. - Back up and restore your printers and settings (Settings, General).
Passwords, tokens and your Bambu account never go in the file. - The Bridge keeps a daily copy of
config.jsonandhistory.jsonfor 7
days.
Dashboard
- Bulk actions in Ctrl+K: pause all, resume all, or turn off the plugs of
cooled idle printers. - Add the dashboard to your phone's home screen and it opens like an app.
Fixes
- A Bambu print from FoxTrack that stops during heat-up now comes back as a
failure instead of looking started. - The file the Bridge sends for a FoxTrack print is cleaned up once the
print ends. - Filament can be set on AMS HT slots and on both external spools of the
H2D, H2D Pro, H2C and X2D. - A failed smart plug auto off is tried again instead of leaving the printer
on. - Some missing translations, and a failed notification that could be held
back as a duplicate.
v2.6.0
New
- Notifications: Discord, Slack, Telegram, ntfy, Pushover, Gotify, email and
webhooks, with camera pictures, filters and quiet hours. - Timelapse of every print, with a gallery.
- Cameras for the X1, H2 and P2S series (RTSP via ffmpeg).
- Skip objects during a print (Bambu LAN and Klipper).
- Bambu HMS and error codes shown in plain words.
- Filament and energy use per print, cost tracking, maintenance reminders.
- Spoolman, Home Assistant (MQTT discovery) and Prometheus
/metrics. - Optional dashboard password with API tokens.
- Command menu (Ctrl+K), keyboard shortcuts, 7 languages, better phone layout.
Improved
- Settings regrouped into Printing, Connect and Bridge; FoxTrack is now optional.
- Clearer connection errors; a Bambu printer with Developer Mode off says so.
- Dashboard pauses polling while its tab is hidden.
- Docker
latestmoves only on a release tag.
Fixed
- ffmpeg no longer gets the access code on its command line.
- Email refuses to send a password without TLS.
- Spoolman never books a use twice.
- Two Bridges with the same host name no longer clash on MQTT.
- Many smaller fixes in skip objects, timelapse, costs and history.
Under the hood
- Go 1.26, patched dependencies, GitHub Actions pinned to commit hashes.
- Source moved to
cmd/foxtrack-bridge. - MQTT export runs at most 4 commands at once; a flood from the broker is dropped instead of piling up.
- Timelapse forgets a removed printer's capture state.
v2.5.3
v2.5.2
Printer console: temperatures and home
- FoxTrack's opened printer, and the card's new Temps panel, can set the
nozzle target (0 to 350 C) and the bed target (0 to 120 C; 0 turns the
heater off) and home the axes. Home is refused while a print runs. Bambu Lab in LAN mode (M104 / M140 / G28),
Klipper (the same G-code through Moonraker) and OctoPrint (its printer API).
PrusaLink has no such call and answers "This printer does not take
temperature commands from the Bridge"; Home Assistant stays read-only. A
target out of range is refused before anything is sent. The Bridge announces
consoleto FoxTrack, which hands these commands only to a Bridge that
lists it.
Files on the printer
- FoxTrack's opened printer lists the files already on the printer (name,
size, date, newest first, up to 200) and can start one with a Print button.
Bambu Lab in LAN mode: the.3mffiles on the card and in its cache folder,
read over FTPS; Klipper: Moonraker's gcodes folder; OctoPrint: its local
storage. The list is read only when FoxTrack asks, never in the poll loop.
A print is refused while the printer prints or is paused. PrusaLink and
Home Assistant printers are not listed. The Bridge announcesfiles.
A Bambu.3mfstarts on the plate it was sliced for (read from the file),
unless FoxTrack names aplate.
Fixes
- Security: the dashboard answers only to a LAN name or address (an IP,
localhost, a name with no dot, .local, .lan, .home.arpa, .internal, or this
computer's name). A web page can no longer reach it by pointing its own
domain at your computer (DNS rebinding). Behind a reverse proxy on a real
domain, list that name inFOXTRACK_BRIDGE_ALLOWED_HOSTS(comma-separated). - Security: the connection check uses a saved access code, API key or token
only for the saved printer's own address, so it can no longer be sent to
another host. - Security: a file name with a line break or a quote is refused, so it can no
longer slip a second command to a Bambu printer's FTP server or into a
Klipper print command. - Security: the OctoPrint API key goes only to OctoPrint itself, never to a
webcam on another machine or along a redirect. - Security: another web site can no longer start a network scan.
- Safety: Plug off, auto-off and Home are refused while a Bambu print is
starting (PREPARE, SLICING) and whenever the printer's state is unknown. With
the printer unreachable, a remembered state older than 2 minutes no longer
counts. - Console commands run beside the command loop: a Klipper Home no longer holds
up pause and stop for the other printers, and a lost reply to FoxTrack no
longer runs the command a second time. - The connection check no longer blames the serial number when a Bambu printer
is only slow to answer. - OctoPrint: one slow reply no longer drops the webcam address and model for
5 minutes. - Smart plug check: the watts read right (it showed 10 W for 100 W).
- Network scan: a saved OctoPrint printer, or one saved with spaces around its
address, shows as added; a Bambu printer found by its certificate gets a
name; a printer that moved to a remembered address is no longer hidden. - Printer replies are capped at 16 MB.
- Safety: a smart plug can no longer be switched off, or auto-off, while the
Bridge has lost the printer mid-print. With the printer unreachable the
Bridge goes by the last state it saw, and refuses if it never saw one. - Security: the dashboard API refuses writes a browser sends from another
site, so a web page can no longer change the FoxTrack token or clear the
printers. Request bodies are capped at 1 MB. - A config save that cannot be written to disk now shows an error instead of
"saved". An unreadable (not corrupt) config stops the Bridge instead of
being moved aside; a corrupt config falls back to an older valid copy. - Updates install only when the release's checksums are published, and never
inside Docker. - Bambu Lab: a target temperature of 0 now shows as 0; a print that ends while
the printer is offline is still recorded; partial AMS reports no longer wipe
the other trays; no blank status is posted right after a reconnect; error
codes no longer flicker; renaming a printer mid-print keeps the print.
Listing files works on the A1 and A1 mini. - Bambu Cloud: failed device lookups and token sign-ins are paced like the
rest, and a cloud printer that moved to a new IP is found again. - Klipper: Home no longer reports a failure while the printer homes; lifetime
print hours are read from the right Moonraker endpoint; the camera stream is
no longer cut every 8 seconds. - PrusaLink and OctoPrint: a blank or offline status gets the same grace as a
lost connection instead of cancelling the print; OctoPrint keeps the file
name and progress on a finished print and lists only printable files. - FoxTrack posts: status posts for one printer always arrive in order, and a
finished print's history is retried for up to 24 hours. - Files and console commands report their result even after a FoxTrack blip.
- Dashboard: a printer name with "/" or "%" works with every button; a slow
status poll can no longer show older data; the Auto-update switch no longer
saves half-typed tokens. - Virtual printer: read timeouts, upload size and concurrency limits.
Also in this release
OctoPrint printers
- Printers run by OctoPrint can be added with their address and an API key.
The Bridge reports status, progress, temperatures, file name and time left,
records finished prints, can pause, resume and stop, and accepts a.gcode
file sent from FoxTrack (uploaded to OctoPrint and started). The webcam is
read from OctoPrint's own settings. The network scan finds OctoPrint on
ports 80 and 5000.
Printer alarms
- Every status report now carries the printer's open alarms, and FoxTrack
lists them in its Alarms view and rings the bell for serious ones: Bambu HMS
codes (formatted as Bambu does, with their severity) and print error codes,
Klipper firmware shutdowns and print errors with Klipper's own message,
PrusaLink error and attention text, OctoPrint printer errors. The printer
card shows them too; a Bambu HMS code links to the Bambu wiki page for it.
Smart plugs
- A printer can be powered through a Shelly, Tasmota or Kasa (older firmware)
plug, set on the printer in the Bridge. The card shows on/off and watts, a
Plug on / Plug off button (off is refused while printing, paused or hot),
and the Bridge can turn the plug off a set number of minutes after a print
once the printer is cool. The energy each print used goes to FoxTrack with
the print history (Reports, Printer use). FoxTrack's own Turn plug on/off
buttons work through the Bridge.
Virtual printer
- Settings, Virtual printer: the Bridge can look like an OctoPrint host to
OrcaSlicer and PrusaSlicer (port 8090, its own API key). A file the slicer
sends goes to FoxTrack's Printers page, From the slicer, never to a printer.
Needs the Bridge connected to FoxTrack.
The Bridge now announces alarms, plug_on and plug_off to FoxTrack, which
hands plug commands only to a Bridge that lists them. Config changes are
additive: an existing config.json loads unchanged.
Easier setup
- A first-run welcome finds printers on your network; click Add and type the
access code or API key. FoxTrack is optional: connect it or skip it.
Bambu printers are found on the first scan, even on weak Wi-Fi or with
Bambu Studio open on the same computer. - The Bridge checks the connection before saving a printer and tells you what
to fix (wrong access code, wrong API key, unreachable address). - A header chip shows whether FoxTrack is connected or the Bridge is
standalone, and you can paste anftb_token to connect. - A Settings card, "Open on another device", lists the addresses to use from
your phone or another computer. - The startup log shows the dashboard address on your network too.
docker-compose.ymlruns the published image with host networking, so
printers can be found from Docker.- The Linux installer can start the service for you and open the dashboard
(--yesskips the question).
Full Changelog: v2.5.1...v2.5.2