20-2-2019: Added a DHT22/Lolin case for a few other ESP8266. Added some more configurability for differing sensor sizes.
I wanted CO2 sensors for the different rooms in the house so I came up with this housing for the ESP32 with pods for the DHT22 Temperature/Humidity and the MH-Z19 CO2 sensor.
I flashed the ESP32 with EasyESP and connected the CO2 sensor to 12 and 14.
The USB port came out really well on this, it matches up the hole in the housing well.
The sensors I stuck in the case with double sided tape.
You might need to change the tolerance variable $tol from 0.08 which matches my printer well, but you might need to play with this for your specific printer.