The use of the ESP8266 in the world of IoT

User avatar
By henrycrute
#10941 I've recently written a firmware for my ESP chip that is supposed to send sensor data directly to our set-up server. We want to be able to associate a reading with a timestamp. My plan is to do a GET request to my server to pass in what time it is currently, and add it on as the start time offset.

I have a few questions and concerns out there for people with some experience in this area.

1. How accurate is this supposed Real-Time-Clock on the ESP board? I would want to restart and recalibrate the offset from the server every couple of hours or days depending on how accurate the clock is, and how accurate I want my timestamps to be.
2. How would I go about using the ESP libraries to return a number counting using the RTC, or restart it from zero?
I would ideally want to impliment something like Start, Stop, and Restart.

Thanks!