# Printer.configfile object

**URL:** <https://klipper.discourse.group/t/printer-configfile-object/4014>\
**Category:** General Discussion\
**Created:** [September 1, 2022, 8:21am UTC](https://klipper.discourse.group/t/printer-configfile-object/4014 "2022-09-01T08:21:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexOr](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@AlexOr](https://klipper.discourse.group/u/AlexOr)\
**Post date:** [September 1, 2022, 8:21am UTC](https://klipper.discourse.group/t/printer-configfile-object/4014/1 "2022-09-01T08:21:03Z")

</div>

Is there anyway I can access the configuration of the neopixel led from a macro?  
E.g. I have the standard neopixel section  
[neopixel myled]  
pin: …

How do I address it via the printer object? I can use for example printer.configfile.config.extruder.min\_extrude\_temp to check the temp in a macro, but not sure how do I check if the neopixel with given name is defined. Thanks

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [September 1, 2022, 11:23am UTC](https://klipper.discourse.group/t/printer-configfile-object/4014/2 "2022-09-01T11:23:32Z")

</div>

I have no direct answer but you can check with [Example: Search Printer Objects](https://klipper.discourse.group/t/example-search-printer-objects/164)

---

<div class="post-metadata">

**Author:** ![AlexOr](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@AlexOr](https://klipper.discourse.group/u/AlexOr)\
**Post date:** [September 1, 2022, 11:57am UTC](https://klipper.discourse.group/t/printer-configfile-object/4014/3 "2022-09-01T11:57:49Z")

</div>

Thanks, I will try that
