Panda Breach is a system to make Panda Breatch chamber heaters compatible with Klipper. It interfaces with the heater through websockets and lets you control it through Klipper.
IMPORTANT: The current implementation requires a real chamber sensor already installed and configured in Klipper. If this sensor is less sensitive than the one in the panda breath the
M191command might never end, if that is the case manually override the target temperature in the panda breath web dashboard to 5 degrees above the configured target temperature.
- Copy
panda_breach.pytoklipper/klippy/extras. - Install the
websocketspython package in your Klipper environment:
source /path/to/klipper-env/bin/activate
pip install websocketsIn printer.cfg, add the following:
[panda_breath]
host: ws://<panda-breath-ip>
[gcode_macro M141]
gcode:
SET_PANDA_BREATH_TEMP TEMP={params.S|default(0)|int}
[gcode_macro M191]
gcode:
{% set s = params.S|default(0)|int %}
{% if s == 0 %}
# If target temperature is 0, do nothing
M117 Chamber heating cancelled
{% else %}
SET_PANDA_BREATH_TEMP TEMP={s}
M140 S100 # Use bed heater to help with heating
TEMPERATURE_WAIT SENSOR="temperature_sensor <sensor_name>" MINIMUM={s-1} MAXIMUM={s+1}
M117 Chamber at target temperature
{% endif %}- Klippy extra components
- WS heater control
- WS sensor control
- M191 and M141 support