Why we built our own humidity sensor (and how to get one)
Here are the readings from a room where we've been running two sensors side by side, mid-room.

The top row is the SHT45 sensor we designed. The bottom row is a generic SCD4x sensor. And this is the sort of gap we've been seeing between them.
They're 10% apart on humidity and a full degree apart on temperature. By the time that comes through as VPD, one says 0.70 kPa and the other says 0.36. That's quite the difference!
Your VPD is only as good as your sensor
VPD is worked out from two readings, temperature and humidity. Get either one wrong and your VPD is wrong. Get both wrong in the same direction, and it's really wrong.
That's what's happening here. The generic sensor reads cooler and wetter than ours, and both of those drag its VPD down.
| Our SHT45 | Generic SCD4x | |
|---|---|---|
| Humidity | 78.06% | 88.0% |
| Temperature | 25.22 °C | 24.22 °C |
| VPD | 0.70 kPa | 0.36 kPa |
Steer by the bottom row and you'd be throwing everything at a room that looks like it's about to grow mould. Steer by the top row and you'd make a very different call. Same air, same moment.
So which one's right?
They can't both be. Sensirion makes the chips in both sensors, and here's how it rates them:
- SHT45: ±1.0% RH and ±0.1 °C. Up around 80% to 90% RH, that widens to ±1.5% RH.
- SCD4x: ±6% RH and ±0.8 °C, but only between 20% and 65% RH and 15 to 35 °C. Across its full range, it's ±9% RH and ±1.5 °C.
That room was sitting up around 80% RH, well outside the SCD4x's best range. A 10% gap is about what Sensirion says it can be out by up there.
Here's the interesting bit
The SCD4x actually has an SHT4x inside it. That's the same family of humidity sensor as the SHT45 on our board. So how do two sensors from the same family end up 10% apart?
It comes down to everything around the sensor. In Sensirion's own words, "The accuracy specified by Sensirion refers to the stand-alone Sensor and therefore the design-in with all its different aspects will define the accuracy of the final device."
The SCD4x is a CO2 sensor first. The SHT4x inside it is there to correct its CO2 readings, and the sensor warms itself up while it works. So out of the box, it knocks 4 °C off its temperature reading to make up for its own warmth. Sensirion's datasheet says the right number depends on the device it's built into, the airflow and the room, and should be measured for each design.
Knock off too much and it reads cold. Cooler air holds less water, so the same air reads as more humid. Sensirion's rule of thumb is that at 90% RH, being 1 °C out puts you 5% RH out.
Run our numbers and that 1 °C accounts for about half of the gap. If the generic sensor was only out on temperature, it would have read about 83%, not 88%. I reckon the rest is the humidity reading itself, working well outside the range it's best at.
To be fair to the SCD4x, it's a solid little CO2 sensor, and that's the job it was built for. We just wouldn't steer a room on its humidity.
What we built
So we built a sensor that does one job, properly.
- The most accurate SHT4x. The SHT45 is the top of Sensirion's SHT4x range, at ±1.0% RH and ±0.1 °C.
- With a filter membrane. We use the AD1F version, which has a filter membrane right on the package. It keeps dust and spray off the sensing element, and Sensirion says it doesn't slow the sensor down. The SHT45 is rated to keep working in condensing conditions, too.
- Kept away from the heat. The sensor sits out on its own tongue at the end of the board, cut free on both sides by milled slots. There's no copper fill on it, just four thin traces, and the only thing on the board that makes any heat, a tiny 3.3 V regulator, is 12 mm away. That's compliant with the Sensirion design guidelines.
- Grove plug and play. It plugs into any Grove I2C port, like the ones on M5Stack's controllers. ESPHome supports the SHT45 out of the box, so it drops straight into Home Assistant, just like the readings above.
- Machine-assembled. Every part, Grove socket included, is placed and soldered by machine, so every board comes out the same.
A case built by the book
A great sensor in a bad case still gives you a bad reading. So we designed the case around Sensirion's design guide, which boils down to four rules:
- Let the air in. Vents in the end and both sides open right at sensor height, so room air flows across the sensor instead of slowly seeping in. Slots in the floor feed the underside too, up through the slots in the board.
- Wall it off. A wall hanging down from the lid and a rib in the floor seal the sensor's end off from the rest of the case, so air trapped around the electronics can't drift over it.
- Keep the dead air small. A block on the lid fills the space above the sensor. That leaves about 1.2 cm³ of air around it, instead of the 10 cm³ or so in the whole case, so it keeps up when the room changes rapidly.
- Keep the heat out. That's the tongue on the board, doing its job.

We added a few things for grow rooms, too:
- Hooded vents, to keep spray drift out.
- A light colour. Radiant heat from LED fixtures on a dark case warms it up and a warm sensor incorrectly reads drier than it is.
- ABS-FR, because it contains electronics and has to battle harsh grow room conditions, the flame retardant case provides additional peace-of-mind.
- No tools. The board drops onto two pegs and the lid snaps on.
- Hang it or screw it to the wall. There are hanging eyes on one end and screw ears on the sides. Just don't mount it sensor end up, or the end vents will face the ceiling.
Want some?
We first shared these with other cultivators back in September. Now we're offering them to any grower who wants some.
If you'd like some for your rooms, get in touch or flick us a message on Instagram. Tell us how many you're after, and we'll sort you out.
Sources
- Sensirion, June 2026, SHT4x datasheet, version 7.3: the SHT45's accuracy, the AD1F filter membrane and the condensing rating.
- Sensirion, April 2025, SCD4x datasheet, version 1.7: the built-in SHT4x, the SCD4x's humidity and temperature accuracy, and its 4 °C default temperature offset.
- Sensirion, March 2024, Design Guide for Humidity and Temperature Sensors, version 2: the four design-in rules, and 1 °C out at 90% RH meaning 5% RH out.
