@Suriken, About that distance … I am experimenting with the DHT22 and with the BME280.
I bought both sensors for different purposes, and then had to reverse the roles over the distance issue.
I have tried the DHT22 on the breadboard at 10cm and at approximately 11m. It works just fine at 10cm if it is wired up properly. At 11m, it causes my photon to crash and flash a red SOS (same SOS as if I had wired it up incorrectly; I did that too in the beginning). In theory the DHT22 will work within a meter or 2.
@BulldogLowell & @peekay123 I also have tried the BME280 at close range, which I find is a very nice sensor. The BME280 can operate by SPI or I2C (at least the Adafruit breakout version which I have for prototyping), I still have to try it at 11m, but theory says that should fail. I have read posts that indicate I2C is good for up to about 7m, depending on capacitance in the system. My backup plan is to try adding the P82B715 chip which is an I2C capacitance buffer at each end of the I2C bus; theory says that should get a 50m range. Failing that, the expensive option is to use a Dallas 1-wire Battery Fuel Gauge chip for its built-in temperature sensor and hack the voltage monitor to measure an analog humidity sensor.
Hope that gives you some ideas that there are lots of experiments to find what works best!