For the last week I’ve been working on a plugin for octoprint to control my enclosure.
My goal is to control a light, fans and a small heater inside the enclosure over the internet using octoprint.
I just finished the first version of the plugin.
You can find it on my github page.
Basically I use the raspberry pi GPIO to control relays and turn on / off whatever I want on my enclosure. There is plenty information on the plugin page on github. For now the plugin only works on raspberry pi.
The heater should turn off when the print is complete. The lights are specially good when you want to check your print while you are not home over the internet.
I’m using a DHT22 sensor to measure temperature and humidity inside the enclosure, a small lasko heater and a usb fan.
Few print-screens and pictures: