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.
I just got OctoPrint running my Taz 5 remotely and am interested in building a similar enclosure with temperature & humidity control. I’m curious, how necessary is the additional heater? Have you found an optimum enclosure temp that is higher than what the heated build plate and nozzle put out?
If you build a enclosure, setting the hot bed to 110C and the hot end to 240C will only heat your enclosure to about 30C, due to thermal losses, etc…
With a heater and controlling the temperature, I can easily keep the internal temperature to 50C, this help a lot when printing LARGE ABS prints, where warping would be an issue, if you want to only print small ABS or PLA you don’t need a enclosure.
Another thing to consider is that heating the environment can also make it harder to print PLA, that is why I also added a fan to my enclosure, to keep the temperature as low as possible to print PLA.
It only controls the heater, there is no need to turn the fan to decrease the temperature, there are plenty of heat losses on enclosure that will make the temperature drop really quick once the heater element is off inside the enclosure. Just turning off the heater makes the temperature control very stable.
I only use the FAN to print PLA, and with the enclosure open, to cool the enclosure as I have really bad experience printing PLA on a heated chamber, I get heat creep avery single time.
You can also use the fan as a exhaust fan to remove fumes from your enclosure, but I would add a filter on the exhaust fan If you do that.
I’m about to update the code and add second fan support, because it was requested on github by a few people. I’ve keeping my enclosure at 55 C when printing large ABS prints and no warping what so ever!
First would like to say thank you for you great work, this plugin is exactly what I need.
I would have some suggestion.
It would be great if we can choose to power on some I/O when print starts if that would be possible. ( I always forgot to turn on LED lights )
And it would be nice to have on off button on some more easier accessible place, in a system menu for example.
Well that would be nice to have but even now is a great plugin.
And I see in some other plugin, buttons for on/off in the system tab under restart option.
Well that is really not so important, I just ask if it is possible to have on/off buttons somewhere easly accessible.
Hello. I have a raspberry pi 2 with octoprint image installed. Then I did the steps to install python as the previous post says Then I connect my DHT22 to the raspberry but it does works. only shows 0 in the octoprint.
I don’t like including buttons on the shutdown menu. It is possible to inject the html any part of the octoprint, I’ll test putting it on the control tab.
sudo: /home/pi/.octoprint/plugins/OctoPrint-Enclosure/extras/GetTemperature.py: command not found
2017-02-01 14:44:35,738 - octoprint.plugins.enclosure - INFO - Failed to convert to float
sudo: /home/pi/.octoprint/plugins/OctoPrint-Enclosure/extras/GetHumidity.py: command not found
2017-02-01 14:44:35,808 - octoprint.plugins.enclosure - INFO - Failed to convert to float
2017-02-01 14:44:35,810 - octoprint.plugins.enclosure - INFO - Turning heater off.
Doing test with Adafruit links shows that:
pi@octopi:~/Adafruit_Python_DHT/examples $ sudo ./AdafruitDHT.py 2302 4
Failed to get reading. Try again!
You should first the the adafruit code working, it that does not work, the enclosure will never display the temperature, try to use 22 and 11 for the parameters, test multiple times, until you get a reading, by the way I just noticed that you are using 5V on the VCC of the sensor, it should be 3.3V to use on a 3.3 device, you can fry your raspberry pi using 5V.