Prusa Link
If your printer is a Prusa with Prusa Link enabled, SnapAzule can poll the printer over your LAN instead of reading from the SD card. This is the easiest and most accurate way to drive triggers from a live print.
When to use it
- Your printer has wired or wireless Ethernet (MK3.9, MK4, XL, Mini+, Core ONE, etc. with Prusa Link firmware).
- You want layer-change triggers that are tied to the actual layer the printer is on — no SD-card read-ahead to compensate for.
- You don't want to swap SD cards between the SnapAzule and the printer.
Setup
Find your printer's Prusa Link API key:
- On the printer, go to Settings → Network → Prusa Link → Show credentials.
- Note the printer's IP address and the API key (a short random string).
In SnapAzule's web UI, scroll to the Prusa Link section:
- Prusa Link IP Address: the printer's IP (e.g.
192.168.0.209) - API Key: the key from the printer menu
Click Save Prusa Link. SnapAzule begins polling the printer every few seconds.
What it reads
Prusa Link exposes the printer's current state — position, temperature, nozzle, layer, print progress. SnapAzule uses this for:
- Layer-change detection without G-code read-ahead delay.
- Printer-active guard — while a print is running, SnapAzule blocks SD file uploads (the printer might be mid-read) and reports
printer_active: truein the status JSON.
Verifying the connection
The main page's status JSON (/status) includes:
prusa_poll_ok— true when the last poll succeededprusa_state— current printer state (IDLE,PRINTING,PAUSED, etc.)prusa_x,prusa_y,prusa_z— last reported head position
If prusa_poll_ok is false, double-check the IP and API key and confirm the printer is reachable from the same subnet.
Compared with SD-card mode
| SD-card G-code | Prusa Link | |
|---|---|---|
| Requires wiring | SD swap | Same LAN |
| Read-ahead delay | Yes (tune it) | No |
| Reads live state | No | Yes |
| Works offline | Yes | No |