This is a simple enclosure for an ESPHome-based air quality sensor, consisting of:
Both parts print on their top/bottom surfaces without supports. Two halves snap together with a friction fit.
Sensors are mounted with M3 screws that thread directly into the printed part. D1-Mini should be secured with double-sided tape or similar. A 6x6mm pushbutton is pressed into its fitting on the side, and additionally held in place by the head of one of the S8 screws.
You can wire the sensors using soldered pins and patch wires as shown, or (recommended) directly solder wires to the boards and make the inside a lot roomier and easier to put together.
ESPHome config for the assembly as shown goes something like: https://gist.github.com/olexs/a8d2ab7aeee72f450758e6aadc569097
The author marked this model as their own original creation.