So I've been building an automated fruiting chamber in my closet using a Pi 5, a relay board, and one of those combo CO2/temp/humidity sensors. The whole thing runs a simple Python loop that fires the humidifier when humidity drops below the target and kicks the fan on when CO2 climbs. Sounds fine on paper.
Here's the wierd part. When the mister runs, the sensor a few inches away shoots up to like 95 percent almost instantly, so the code cuts it off, then twenty minutes later it's back down at 70 and the cycle repeats. The lions mane I've got fruiting right now seems okay but the caps near the mist pipe look soggy and the ones on the top shelf are a bit dry.
Is this just a placement problem with the sensor? I'm wondering if I shold move it to the middle shelf, or maybe average the readings over a few minutes before deciding to run the mister. I don't want to keep hammering the chamber with short bursts of mist if a longer gentler run would actually hold things steady.
Anybody dealt with this kind of oscillating setup before?