ESP32 temperature logger

colinza
Posts: 2
Joined: Sat Jan 07, 2017 4:45 pm

ESP32 temperature logger

Postby colinza » Sat Jan 07, 2017 4:51 pm

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-elastic-temp/blob/master/esp_elastic.ino

Image

Image

jumjum123
Posts: 60
Joined: Mon Oct 17, 2016 3:11 pm

Re: ESP32 temperature logger

Postby jumjum123 » Wed Feb 01, 2017 9:15 am

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

colinza
Posts: 2
Joined: Sat Jan 07, 2017 4:45 pm

Re: ESP32 temperature logger

Postby colinza » Wed Feb 01, 2017 9:34 am

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.

Who is online

Users browsing this forum: No registered users and 1 guest