3D print finished, celebrated on your matrix
Print done? Fireworks and the job name. Print failed? A red warning.
Printer integrations in Home Assistant report when a job ends. This shows a celebration when the print finishes and a red warning when it fails, so you know which walk to the printer you're about to make.
What your matrix shows
Text over the "fireworks" background. Illustration; the real effect is animated.
What you need
- A printer integration with a print status sensor: Bambu Lab (HACS), PrusaLink, OctoPrint or Moonraker.
- Pipplee set up in Home Assistant once: see the setup guide (about 5 minutes).
The automation
In Home Assistant go to Settings → Automations, create a new automation,
choose Edit in YAML and paste this. Change sensor.p1s_print_status to your own entity.
alias: 3D print status on the matrix
triggers:
- trigger: state
entity_id: sensor.p1s_print_status
to: "finish"
id: done
- trigger: state
entity_id: sensor.p1s_print_status
to: "failed"
id: failed
actions:
- choose:
- conditions:
- condition: trigger
id: done
sequence:
- action: rest_command.pipplee_text
data:
text: "Print finished"
font_color: "3ddc84"
background: "fireworks"
duration: 600
- conditions:
- condition: trigger
id: failed
sequence:
- action: rest_command.pipplee_text
data:
text: "Print failed"
font_color: "ff5a5f"
border: "plasma"
duration: 0
How it works
- Two triggers with ids, one for a finished print and one for a failure.
- A finished print shows fireworks for ten minutes; a failure stays until you clear it (rest_command.pipplee_stop, or any new message).
- Status values differ by integration: check yours in Developer tools → States.
Variations
OctoPrint
OctoPrint's integration has a "printing" binary sensor. Trigger when it turns off.
triggers:
- trigger: state
entity_id: binary_sensor.octoprint_printing
from: "on"
to: "off"
Questions
My printer integration uses different status names.
Open Developer tools → States in Home Assistant, find the print status sensor, and use the exact values it shows at the end of a print.