Finally, I installed #Moonrakerz the #API service for #Klipper.
My printer doesn't support a chamber natively, so I used the #EnclosurePlugin from #Octoprint to measure the enclosure temperature. I then modified the source code to take that sensors value and inject it as #Gcode that #Octoprint actually thought my printer was enclosed.
Using the #MQTTPlugin, this state was then communicated to a #Mosquito #MQTT server, which an #ESP32 then read and dimmed my heating lamps with a PID controller to get the enclosure up to 60°C.
The #EnclosurePlugin also controlled the power of my printer, visual lights, and then this sensor.
This is now obviously broken.
#moonrakerz #api #klipper #enclosureplugin #octoprint #gcode #mqttplugin #mosquito #mqtt #esp32 #3dprinting