Skip to content

Commit b76bec6

Browse files
authored
Register Octo Fire Guard plugin (#1) (#1406)
1 parent 6e14b1a commit b76bec6

3 files changed

Lines changed: 130 additions & 0 deletions

File tree

_plugins/octo_fire_guard.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
layout: plugin
3+
4+
id: octo_fire_guard
5+
title: Octo Fire Guard
6+
description: Temperature monitoring plugin that prevents fire hazards by monitoring hotend and heatbed temperatures in real-time
7+
author: rdar-lab
8+
license: MIT
9+
10+
date: 2026-02-20
11+
12+
homepage: https://github.com/rdar-lab/octo-fire-guard
13+
source: https://github.com/rdar-lab/octo-fire-guard
14+
archive: https://github.com/rdar-lab/octo-fire-guard/archive/main.zip
15+
16+
tags:
17+
- safety
18+
- temperature
19+
- monitoring
20+
- fire
21+
- emergency
22+
- thermal
23+
- protection
24+
25+
screenshots:
26+
- url: /assets/img/plugins/octo_fire_guard/settings-panel.png
27+
alt: Octo Fire Guard Settings Panel
28+
caption: Settings panel with temperature thresholds and termination mode configuration
29+
- url: /assets/img/plugins/octo_fire_guard/alert-modal.png
30+
alt: Temperature Alert Modal
31+
caption: Alert modal displayed when temperature threshold is exceeded
32+
33+
featuredimage: /assets/img/plugins/octo_fire_guard/alert-modal.png
34+
35+
compatibility:
36+
python: ">=3.8,<4"
37+
38+
---
39+
40+
An OctoPrint plugin that monitors printer temperatures in real-time to prevent fire hazards. The plugin watches both hotend and heatbed temperatures and triggers emergency shutdown procedures when configurable thresholds are exceeded.
41+
42+
<div class="alert alert-warning">
43+
<h4>⚠️ WARNING</h4>
44+
<p><strong>THIS PLUGIN IS A SAFETY FEATURE, NOT A REPLACEMENT FOR PROPER PRINTER SUPERVISION</strong></p>
45+
<p>This plugin does not guarantee safety and should not be relied upon as the sole fire prevention mechanism. Always monitor your printer during operation. OctoPrint may not be running, the plugin may malfunction, or other failure modes may occur that prevent the plugin from responding to dangerous conditions.</p>
46+
</div>
47+
48+
## Motivation
49+
50+
Designed to address scenarios where hardware failures (such as a MOSFET failing in closed-circuit mode) can cause uncontrolled temperature increases that firmware alone cannot stop. By integrating with OctoPrint's temperature monitoring system and optional PSU control, this plugin provides an additional safety layer to prevent potential fire hazards.
51+
52+
## Features
53+
54+
- **Real-time Temperature Monitoring**: Continuously monitors hotend and heatbed temperatures via OctoPrint's temperature data stream
55+
- **Self-Test Monitoring**: Automatically detects if temperature data stops arriving and issues warnings to ensure the plugin is actively monitoring
56+
- **Dual Threshold Configuration**: Separate configurable thresholds for hotend (default: 250°C) and heatbed (default: 100°C)
57+
- **Immediate Alert System**: Displays a prominent alert popup in the OctoPrint interface when thresholds are exceeded
58+
- **Flexible Emergency Response**: Choose between two termination modes:
59+
- **GCode Commands**: Execute custom GCode commands (default: M112 emergency stop + heater shutdown)
60+
- **PSU Control Integration**: Turn off power entirely via PSU Control plugin
61+
- **User-Friendly Interface**: Easy-to-use settings panel with test functionality to verify proper operation
62+
- **Audio Alerts**: Plays an alert sound when temperature threshold is exceeded
63+
64+
## Configuration
65+
66+
After installation, configure the plugin in OctoPrint Settings → Plugins → Octo Fire Guard:
67+
68+
![settings screenshot](/assets/img/plugins/octo_fire_guard/settings-panel.png)
69+
70+
### Temperature Thresholds
71+
72+
- **Hotend Threshold**: Maximum safe temperature for the hotend in °C (default: 250°C)
73+
- **Heatbed Threshold**: Maximum safe temperature for the heatbed in °C (default: 100°C)
74+
75+
### Self-Test Monitoring
76+
77+
- **Enable Self-Test Monitoring**: When enabled, the plugin monitors itself to ensure it's receiving temperature data from the printer
78+
- **Temperature Data Timeout**: Time in seconds before issuing a warning if no temperature data is received (default: 300 seconds / 5 minutes)
79+
80+
If the printer is connected but the plugin doesn't receive temperature data for the configured timeout period, it will issue a warning notification. This helps ensure the plugin is functioning correctly and actively monitoring your printer.
81+
82+
### Termination Mode
83+
84+
Choose how the plugin responds when a threshold is exceeded:
85+
86+
#### GCode Commands Mode
87+
88+
Execute custom GCode commands to handle the emergency. Default commands:
89+
90+
```gcode
91+
M112 # Emergency stop
92+
M104 S0 # Turn off hotend
93+
M140 S0 # Turn off heatbed
94+
```
95+
96+
You can customize these commands to suit your printer's requirements.
97+
98+
#### PSU Control Mode
99+
100+
Integrates with the [PSU Control plugin](https://plugins.octoprint.org/plugins/psucontrol/) to turn off power completely. This mode:
101+
1. Turns off heaters using GCode
102+
2. Signals the PSU Control plugin to cut power
103+
104+
**Note**: Requires the PSU Control plugin to be installed and configured.
105+
106+
## Testing
107+
108+
The plugin provides two test buttons in the settings panel to verify functionality:
109+
110+
- **Test Alert System**: Tests the alert popup display without triggering emergency actions. This verifies that the visual alert, audio notification, and user interface components work correctly.
111+
112+
![alert screenshot](/assets/img/plugins/octo_fire_guard/alert-modal.png)
113+
114+
- **Test Emergency Actions**: Tests the actual emergency response by executing your configured termination commands (GCode or PSU control). Use this to verify that your emergency shutdown procedure works correctly before an actual emergency occurs.
115+
116+
**Important**: The "Test Emergency Actions" button will execute the real emergency shutdown commands configured in your termination settings. Make sure your printer is in a safe state before testing.
117+
118+
## Safety Considerations
119+
120+
- **This plugin is a safety feature, not a replacement for proper printer supervision**
121+
- Set thresholds appropriate for your printer and materials
122+
- Regularly test the plugin to ensure it's functioning correctly
123+
- Ensure your printer's firmware has proper thermal runaway protection
124+
- For PSU Control mode, verify your PSU Control setup works correctly before relying on it
125+
126+
## Requirements
127+
128+
- OctoPrint 1.4.0 or higher
129+
- Python 3.8 or higher
130+
- For PSU Control mode: PSU Control plugin installed and configured
38.2 KB
Loading
151 KB
Loading

0 commit comments

Comments
 (0)