Temperature and Humidity sensors

Lately I've moved from dht11 to dht22 to ds18b20 for measuring temperature after noticing serious issues with the first 2 sensors. Learned a little bit about how factors affect temperature sensing along the way.

However, I forgot about the humidity part of the dhtxx. So I'd like to ask about a good humidity sensor. Although I read in a few articles that the dhtxx are terrible for temperature but are quite good for humidity.

Here is the thing, I've seen large variations inside a closed Tupperware container (3" x 3" x 2") even with the dht22. So I've left the dht22 sealed inside the Tupperware and have gotten anywhere from 65-75% which seems too much.

Is there a recommended model that goes a bit beyond hobby Tinkering?

Although I read in a few articles that the dhtxx are terrible for temperature but are quite good for humidity.

Where did you read that? The DHT11 is unusable for true sensing anyway, the DHT22 is OK for temperature sensing but unusable for humidity.
If you need a humidity measurement, BME280 and SHT31 are good choices in the cost effective range of sensors.

Well should a dht22 locked inside a sealed Tupperware swing from 65 to 75% rh? Because it could also be a design flaw.

In this picture I had already switched to the hdc1080 but previously I had the dht22 in there. It's got a lock top with a silicone gasket and the cables enter the Tupperware thru the bottom which was later sealed with silicone.

Marciokoko:
Well should a dht22 locked inside a sealed Tupperware swing from 65 to 75% rh?

That's pretty much it's rated error range.

Marciokoko:
Is there a recommended model that goes a bit beyond hobby Tinkering?

Modules on SHT2x or SHT3x

See Post with some i2c modules links and prices and by the way Humidity sensors in air quality monitors

Have a look at the Honeywell range of humidity sensors. Can't remember the part numbers but something like HIH.... Bosch or Honeywell have reputations hanging on good quality sensors.
When I saw the Tupperware box I thought you might be using it to get some calibration figures. I've used a sealed container with silica gel in the past and also bubbling air through water, for low and high humidity's. I seem to remember seeing collections of salts that produced known humidity's specifically for calibrating.

I have so much funn with Sonoff-Tasmota 6.6.0 von Theo Arends. (Great Firmware for ESP8266 / SONOFF)
Wich sensor I should trust??? Its almost 2 degrees difference between them on the same upset.

DS18B20 Temperatur 19.1°C
AM2301 Temperatur 18.9°C
AM2301 Feuchtigkeit 64.5%
SI7021 Temperatur 19.5°C
SI7021 Feuchtigkeit 75.1%
SHT3X-0x45 Temperatur 24.2°C
SHT3X-0x45 Feuchtigkeit 56.1%

BMP280 Temperature 21.5°C *) This is a cheap BME280 without humility reading
BMP280 Pressure 1010.7 hPa

I feel the DS18B20 look good and you can connect several on the same bus (even on tasmota).
And people say the BMP280 are good. (As for AM2301 they are simular as DHT22 I was told.

Comparison of DHT22, AM2302, AM2320, AM2321, SHT71, HTU21D, Si7021, BME280