# LED Effects and Macro Help

**URL:** <https://klipper.discourse.group/t/led-effects-and-macro-help/18026>\
**Category:** General Discussion\
**Created:** [August 1, 2024, 11:36pm UTC](https://klipper.discourse.group/t/led-effects-and-macro-help/18026 "2024-08-01T23:36:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IR\_TISM](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@IR\_TISM](https://klipper.discourse.group/u/IR_TISM)\
**Post date:** [August 1, 2024, 11:36pm UTC](https://klipper.discourse.group/t/led-effects-and-macro-help/18026/1 "2024-08-01T23:36:24Z")

</div>

### Basic Information:

Printer Model: Ender3V2  
 MCU / Printerboard: BTT Ovtopus v1.1  
 Host / SBC: Raspi4 - Mainsail  
 klippy.log

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_**Be sure to check our “Knowledge Base” Categor  
 [Klippy\_08012024.zip](https://klipper.discourse.group/uploads/short-url/bsTlkUumTGd3s3sAWpSdKi2kYjt.zip) (19.6 KB)  
y first. Most relevant items, e.g. error messages, are covered there**_

### Describe your issue:

I am trying to use a repeating delayed gcode to turn on an LED effect based on “printer.extruder.target” 's value.

My problem is if i set any effect while not running the heater’s the LED’s have this flicker everytime the delayed gcode updates. How can i solve this?

I am setting “extruder\_target”. with “printer.extruder.target”.  
REFFERENCE MACROS.CFG LINE 5

“extruder\_target” sets “extruder\_on” tell me the heater is on or off for running a seperate macro to reset the appropriate lights.  
REFFERENCE MACROS.CFG LINE 160

---

<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:** [September 30, 2024, 11:37pm UTC](https://klipper.discourse.group/t/led-effects-and-macro-help/18026/2 "2024-09-30T23:37:20Z")

</div>

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