Page 1 of 1

ESP32 temperature logger

Posted: Sat Jan 07, 2017 4:51 pm
by colinza
Hooked up a DS1302 and a DS18B20 to my ESP32 and wrote this code to log temperature to ElasticSearch. It's a bit unstable for some reason, but it was a first test and wanted to make it do something :) Let me know what you think and any suggestions. Waiting anxiously for the Arduino library to be completed

https://github.com/calston/esp32-elasti ... lastic.ino

Image

Image

Re: ESP32 temperature logger

Posted: Wed Feb 01, 2017 9:15 am
by jumjum123
Hello Colin,

this looks interesting. In your source OneWire.h is included.
I cannot find it for ESP32 somewhere. Could you please help ?

Regards
Jürgen

Re: ESP32 temperature logger

Posted: Wed Feb 01, 2017 9:34 am
by colinza
Those are all pretty generic Arduino libraries that you can install via the IDE. I did have to do some messing around with the datetime library to make it work on the ESP32, sadly I can't remember what I did there.