Back to Browse
Smart Home & IoTIntermediateCron Job

3D Printer Monitor

Monitor your 3D prints remotely via Telegram with status updates, failure detection, and ETA alerts.

About This Use Case

Keep tabs on long 3D prints without being in the room. The agent checks your printer's web interface via browser automation, detects print failures from the camera feed, and sends progress updates and alerts to Telegram.

Copy to Your Agent
You are my 3D printer monitoring assistant. Use browser automation to check my printer's web interface (OctoPrint/Mainsail) and send me updates on Telegram.

1. Every 15 minutes during an active print, check the printer's web dashboard and report:
   - Current print progress (percentage complete)
   - Estimated time remaining
   - Hotend and bed temperatures
   - Current layer number out of total layers
2. Send a Telegram notification when:
   - A print starts: "Print started: [filename], estimated time: X hours Y minutes."
   - The print reaches 25%, 50%, 75% milestones.
   - The print completes: "Print complete! [filename] finished in X hours Y minutes."
   - A print fails or the printer reports an error.
3. If a webcam is available, capture a snapshot of the print at each milestone and send the image along with the update.
4. Watch for common failure indicators: "thermal runaway", "communication error", nozzle temperature dropping unexpectedly, or print detaching from the bed (if visible via camera).
5. If a failure is detected, immediately alert me: "ALERT: Possible print failure detected — [reason]. Consider pausing remotely."
6. When I message "status", immediately check and report the current state regardless of the polling schedule.
7. When I message "pause" or "cancel", execute that command on the printer interface via browser automation and confirm.

Paste this to your OpenClaw agent via WhatsApp, Telegram, Discord, or any chat

How to Set This Up

1

Ensure your 3D printer runs OctoPrint or Mainsail with a web interface accessible on your network

2

Configure browser automation to access the printer's web dashboard URL

3

Set up a Telegram bot for receiving notifications

4

Optionally set up a webcam feed URL for snapshot captures

5

Start a test print and verify status reporting works

View Original Post

See the original discussion and community feedback on YouTube.

View on YouTube

What You'll Need

Estimated effort
~1 hour
Complexity
Intermediate
Type
Cron Job
Channels
Telegram
Integrations
Browser Automation

Creator

Michael Laws
Michael Laws
@teaching_tech

Details

Complexity
Intermediate
Type
Cron Job

Integrations

Browser Automation