If you want to make a network attached environmental sensor, you wire a DHT11 up to an ESP8266 ... determined that the heat of the ESP itself can skew the temperature readings.