Software RTC seems to work well!
Main changes
Hardware RTC removed, it uses now a software RTC that is synchronized every 15 minutes to an NTP server.
RTC is in UTC but Display Clock is automatically adjusted for TimeZone and Daylight Saving Time.
Minor changes
- Sealevel pressure is now the standard 1013.25, was 1032.4
- You don't need anymore to modify the Adafruit BME280 library to use a different I2C address, it uses a #define
- int year, month, date, hour, minute, second were changed to int year1, month1, date1, hour1, minute1, second1 because were in conflict with TimeLib library.
Other possible improvements
- Check if it is possible to use a cheap ESP-01 module.
- Move all user defined parts of code in a separate config.h file (if it is possible!).
- Recalculate .010 to .020 inches of Mecury for file pressure difference in mBar.
Some test required since i wrote it this morning.
Observations_SPIFFS_20170704.zip (16.3 KB)