ropg / ezTime

ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.
MIT License
327 stars 92 forks source link

NodeMCU (Arduino) timeKeeping with ezTime #84

Open FabRo57 opened 4 years ago

FabRo57 commented 4 years ago

Hello , I wrote a sketch using , among many other , the ezTime lib . My sketch keeps track of time and date (NTP) , sends out a message to a notifier and write logs to an sdcard : all that when external events occur ; all seems to work about correctly , but since each event uses a NTP query when time is short between events , I get errors on the second reading ..( curiously I get 1 hour less than previous value ) What I need is a way of reading NTP time once @ setup , and rely for my events only on on-board timekeeping . I tried to find traces to accomplish that task on my own , but I failed so far. Any help would greatly be appreciated . Fabio -- Rome

khawajamechatronics commented 4 years ago

Hi,

I am working on events using this library I can try to help you. Events are based on default timezone. Can you give me example what kind of event you want to set and how you want it to be executed, Please be specific while explanation.