Here is a project I posted a while back Battery Powered ESP8266 Temperature/Humidity Monitor with DHT11