I recently mounted a DHT22 in a wall mount light switch to make it a little less intrusive.
It looks ok and performs good at the high end of the daily temperature spectrum, but when it cools down past 27°c it reads the same results.
I think the components (ESP-01 and a LD1117v33) that are in the housing may be affecting it even though they are 10mm away and insulated with hot glue and plastic.
When i place a fan on it the readings become more accurate. This was more of a trial for a future plan of having a sensor hub with multiple sensors, possibly in the ceiling.
I am starting to think I may need to have a better-insulated sensor and possibly a mechanical air flow to pull some of the ambient air in.
Have any of you guys had success with this sort of setup?