scross01 / prometheus-klipper-exporter

Prometheus Exporter for Klipper
MIT License
51 stars 11 forks source link

Include custom fan and filament sensors #28

Closed nmaggioni closed 3 months ago

nmaggioni commented 3 months ago

I have added support for fan_generic, controller_fan and filament_{switch,encoder}_sensor entities.

image

My use case for generic fans is coordinating hot air recirculation and exhaustion with the overall chamber temperature, and while I was at it I've also included the two types of filament sensors currently available in Klipper. I don't think I've implemented the parsing of the latters in the best way possible, so please feel free to suggest a different approach.

nmaggioni commented 3 months ago

Thanks!