Have a look at this sketch playground it will provide temperature which can be sent in a similar was as in the DHT or other Example MySensors sketch.