The device will get temperature, post data then sleep for a few minutes.
The temperature is posted as JSON to a simple server app : https://github.com/paulgreg/json-store
The pin D0 needs to be connected to RST pin to be able to wake up. I’ve used a jumper for that use (for programming, the jumper needs to be removed).
Update : I’ve got some problem to wake up after sleep... It seems that I’m not the only one with that problem with that problem...
For now I wasn’t able to fix it but I was finally able to fetch temperature on my weather station. So that project is not useful for me anymore. I’m shelving it.