Skip to content

Releases: denis-stepanov/esp-ds-system

1.1.3

03 Jul 22:14
Compare
Choose a tag to compare

Bug fixes:

  • #44: arm TimerCountdownTick conditionally on creation

1.1.2

29 Jun 21:36
Compare
Choose a tag to compare

Bug fixes:

  • #42: Recalculate solar timer when its offset is changed.

1.1.1

25 Jun 21:56
Compare
Choose a tag to compare

Bug fixes:

  • #41: Fix wrong calculation of sunrise / sunset.

1.1.0

12 Jun 22:23
e9f7b54
Compare
Choose a tag to compare

Changes:

  • #24: New capabilities DS_CAP_TIMERS, DS_CAP_TIMERS_ABS, DS_CAP_TIMERS_SOLAR, DS_CAP_TIMERS_COUNT_ABS and DS_CAP_TIMERS_COUNT_TICK to add support for various sorts of timers — absolute or relative. Support for solar events (sunrise or sunset) is equally included thanks to Dusk2Dawn library. See the corresponding documentation for details. Another new capability DS_CAP_WEB_TIMERS (#22) adds possibility to configure these timers at runtime using a web interface;
  • #25: Current time is now exposed as System::time (time_t) and System::tm_time (struct tm) fields. Update precision is one second;
  • #25: New functions System::newSecond(), System::newMinute(), System::newHour(), System::newDay(), System::newWeek(), System::newMonth() and System::newYear() for easy monitoring of time intervals;
  • #24: New functions System::getSunrise() and System::getSunset() returning solar event times for the current day;
  • #29: New functions System::setTime(), System::setTimeSyncTime(), System::setTimeSyncStatus() to facilitate implementation of custom time synchronization routines;
  • #34: File system type — LittleFS (default) or SPIFFS — can now be selected using new macro DS_FS_TYPE. A confusing compilation warning about SPIFFS usage even what it was not in use is now fixed (#3);
  • #11: Web server capability now serves a default root page, linking to all pages enabled via other capabilities. Of course, it is still possible to override this default page;
  • #1: A new macro DS_SYSTEM_VERSION is now available, to allow conditional compilation depending on the library version;
  • #23: DS_TIMEZONE setting is now respected with all time uses, not just with network-enabled ones;
  • #2: Application identification is now printed unconditionally on startup. Previously, it was only printed when time was sychronized over network. From now on, the first time synchronization event calculates the time of boot and prints it;
  • #16: mDNS capability now prints the advertized hostname on system startup (thanks Prathamesh Mhatre);
  • #19: Application log browser now prints more condensed output, grouping log entries by date. Within a date, only time is printed;
  • #5: Syslog capability now observes a 150 ms delay between booting and start of syslog service. Previously, system startup messages were swallowed after programming because of some transitional state of a serial port. If the new behavior is undesirable, define DS_UNSTABLE_SERIAL macro in MySystem.h;
  • #21: A warning about syslog and LED potential conflict is now emitted only when generic EPS8266 with LED=1 is used, as all other breakouts seem not to be concerned by the issue;
  • #22: Web timers are provided with a script which does JavaScript compression, in order to save on web page size at run-time. It could be, in principle, used for any sort of complex JavaScript;
  • #28: Some internal refactoring;
  • New capabilities use a new /ds folder for persistent storage; older capabilities will migrate to it with the next major version (#36);
  • Port to ESP8266 Arduino Core v3.

IMPORTANT: from this release, calling System::update() for DS_CAP_SYS_TIME capability becomes mandatory. Since System::begin() and System::update() were recommended calls anyway, this is not considered as a breaking change.

1.0.0

10 Oct 20:28
6ea9315
Compare
Choose a tag to compare

First release:

  • main code;
  • examples;
  • readme.