# Reducing temperature using klipper

**URL:** <https://klipper.discourse.group/t/reducing-temperature-using-klipper/18107>\
**Category:** General Discussion\
**Created:** [August 5, 2024, 1:07pm UTC](https://klipper.discourse.group/t/reducing-temperature-using-klipper/18107 "2024-08-05T13:07:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish\_16](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@ashish\_16](https://klipper.discourse.group/u/ashish_16)\
**Post date:** [August 5, 2024, 1:07pm UTC](https://klipper.discourse.group/t/reducing-temperature-using-klipper/18107/1 "2024-08-05T13:07:24Z")

</div>

I need to reduce the temperature of my printhead using Klipper and Moonraker. I’m using a Peltier and radiator combo and I’ve configured the pins and created the required macros to trigger them. The issue is I want them to be triggered when the target temp is less than the current temp. Any Ideas on how to do this?

---

<div class="post-metadata">

**Author:** ![tore1887](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@tore1887](https://klipper.discourse.group/u/tore1887)\
**Post date:** [August 5, 2024, 9:31pm UTC](https://klipper.discourse.group/t/reducing-temperature-using-klipper/18107/2 "2024-08-05T21:31:14Z")

</div>

> [@ashish\_16](#):
>
> target temp is less than the current temp

Maybe it can be done with [delayed\_gcode xxxx]. First check if a temperature has been set. And then set an output if the target temp is less than the current temp. I’m on vacation so I can’t check this myself. Check [Commands templates - Klipper documentation](https://www.klipper3d.org/Command_Templates.html?h=delayed#delayed-gcodes)

---

<div class="post-metadata">

**Author:** ![robotickoala](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@robotickoala](https://klipper.discourse.group/u/robotickoala)\
**Post date:** [September 24, 2024, 7:33am UTC](https://klipper.discourse.group/t/reducing-temperature-using-klipper/18107/3 "2024-09-24T07:33:41Z")

</div>

I’m dealing with a very similar problem atm. What I’m trying to do is to make a custom peltier module that switched between heating and cooling dynamically. I’m using a DPDT relay to switch the current direction through the peltier as well that’s triggered via fan pin. I got the latter half woking, but have yet to be succsesful making a heater module with a custom “ruleset”. Have you figured out how to do it on your end?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [November 23, 2024, 7:34am UTC](https://klipper.discourse.group/t/reducing-temperature-using-klipper/18107/4 "2024-11-23T07:34:03Z")

</div>

Closed on November 23, 2024, 7:34am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
