After multiple prototype where I put the sensor and the Esp in the same box, I found out that even with many walls between them the heat from the voltage regulator would make the sensor read 0,5 to 2 °C more than a sensor in the open air.
So I come up with this design, I put the voltage regulator (In my case I used 2 silicon diode to convert 5v to 3.7v because I didn't have a regulator available) as far from the sensor as possible so the interference would be less than 0,2°C. Yes, it looks a bit funny.
I provided a thermal camera picture where you can clearly see that the sensor is nearly invisible compared to the other components where you can clearly see the heat
No bottom layer, 20% infill. I use Tasmota to connect via MQTT to my Home Assistant OS VM.
The author marked this model as their own original creation.