Skip to content

Add offline time update to NTPClient capability #153

Open
@saifuhameed

Description

@saifuhameed

In my application NTPClient is used to get time for logging and displaying IOT events.
We expect device to display IOT data through local webserver even without internet.
But there is a problem, event time will be wrong due to there is no internet. So I suggest to add a function to enable offline updating of date and time, so that it will give at least actual date and time with reduced accuracy. Offline updating can be done from a settings page of IOT application, user can update date and time on device startup.
This feature can be easily accommodated by adding a function to update _lastUpdate and _currentEpoc manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions