So i have six aqara temperature / humidity sensors around the house.
I ran and grabbed them all and closed them in a box for some time.
They all report different temperatures -+1 degree C.
The same goes for humidity, the differences there are more significant.
I know the drill on how to create template sensors and apply offsets, what im looking for is the procedure on how to find out the true temperature and humidity and apply the changes to the other sensors.
I have a cheap IR themometer that i can use but is this accurate enough?
I also have an old handheld FLIR thermal camera which reports around 2 degrees more than the IR thermometer.
Which one should i trust?
Is there any other ideas to accurately measure the correct temperature?
What about humidity? whatās the drill here?
Only thing i could think of is cigar box calibration sets that i can buy. Any other methods?
Lastly, i also have a couple of DHT sensors wired around the house, but i thought i should first calibrate the wireless ones, then set them beside the DHT for some time and apply the offsets to the DHTs afterwards.
None of them. Neither are accurate enough to be used as a standard.
If your sensors are within a degree thatās pretty good. Youāre probably not going to get any better as they will drift over time. So even if you had a highly accurate thermometer and adjusted your temperature sensors today, next month they could all be different again.
The method of humidity sensor calibration I know of uses salts, though Iāve never done it:
Generally, a single point calibration is sufficient for the sensors weād be using for home automation. This isnāt precision scientific work, after all
For temperature, the easiest method is to seal a sensor into a ziplock back, squeeze all the air out, and place it into a jar of ice water. The water should be 0C, and thereās your reference point.
Iāve used the salt method for humidity calibration. Diamond Crystal kosher salt is over 99% pure sodium chloride. Iāve just used 75% as the reference, though the table provided by tom is more accurate, and accounts for temperature. Thereās your reference for humidity.
For my application, temperature accuracy is far more important than humidity accuracy, so I do the ice bath calibration on all new temperature sensors. Only my humidor humidity sensor needs to be accurate, so thatās the only sensor Iāve humidity calibrated. Otherwise, Iām just using the humidity sensor to determine when humidity is rising/falling, and donāt really care that much about the accurate value.
I find that they are reasonably accurate. Most of the technology behind temperature sensors gives a pretty linear output, so a single-point calibration is enough.
I also notice the drifts. Usually, the biggest culprit of drifts is because the battery is getting bad. Iāve found that itās really important to use good batteries with temperature sensors. If you have a sensor that takes AA or AAA batteries, Iāve found that rechargeable batteries are best, since NiMH has such flat voltage curves.
I agree with @tom_l: Ā±1 degree is excellent. Combining drift, errors from non-linear calibration, and in-built error of these sensors, if you can get agreement within a degree, youāre golden! If you need temperature accuracy higher than that, you need to invest in industrial-grade temperature sensors.
When batteries discharge (whether due to load or just naturally), the voltage changes. In alkaline batteries, this voltage drop off is pretty pronounced, whereas with NiMH, itās very flat. This chart shows it very well:
By using NiMH, you make sure that the voltage is flat(ish), so the reference voltage (battery) isnāt changing (much). I would assume that a high-quality sensor would have some degree of circuitry that would account for this, but itās probably easier to just build the device to work with 1-1.5V, accuracy be damned.
For sensors, since they use so little power, Iād definitely recommend low discharge varieties of NiMH batteries. No sense in having to change out batteries earlier than needed.
Thank you, thatās very helpful! Iāve had a quick look, and Li-Ion seems to be fairly flat as well. Do you have a sense of how Li-Ion vs. NiMH might perform?
Also, do you know of many temperature sensors that take AA / AAA (with Zigbee)? Most of them seem to be button-type cells.
Li-ion is pretty good. Most coin-cell batteries are Li-ion. From what Iāve seen, Li-ion is somewhere between NiMH and Alkaline.
I purchase pretty much all of my Zigbee gear from Aliexpress. I use these Aqara temp/humidity sensors (https://www.aliexpress.us/item/3256804691621738.html) for any place where Iām concerned with aesthetics or size (they use coin-cell batteries), and various Tuya temp/humdity sensors (similar to the ones you linked) everywhere else (2x AAA batteries).
Iām not sure that there are any āroomā-scale Zigbee temperature sensors that use AA batteries, but I have a few other Zigbee devices that do temperature checking that use AA batteries (for example: https://www.aliexpress.us/item/3256804875382073.html)
Same as the ones you linked. Or, at least similar to. The ones I bought from Aliexpress arenāt listed anymore (at least with the store I bought them from).
I believe the Tuya temp/humidity sensors w/ AAA batteries come in two different models: WSD500A and ZTH01. Not sure exactly what the differences are other than external case.
Hi @Nick2253 and @bjohas Iām very interested in the Tuya sensors.
Thereās a discussion here Tuya TS0201 temperature sensor which is quite negative.
However I have some Tuya wifi sensors which externally look exactly the same and they are OK.
I use Zigbee2MQTT, and I have not had any issues with my sensors. Perhaps I just got lucky, or perhaps itās because Iām religious about using my rechargeable batteries. That thread is correct that they donāt update regularly; they need a large enough temperature change before reporting, but thatās just fine with me, because it means less battery drain.
I also have a number of Sonoff Zigbee outlets that I purchased for the express purpose of creating a stable backbone for my Zigbee sensors. It may be that these Tuya sensors are not reliably able to determine how to get back to the base station, and since I have an āalways onā backbone, that helps my stability.