telefonicaid / telefonicaid/iotagent-node-lib
Add functionality: Fetch time from NTP server
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 62
- Forks
- 90
- Avg merge
- 2h 35m
- Merged PRs (30d)
- 1
Description
Hey there,
I'd like to suggest to add the functionality of fetching the time from an external NTP server and adjust the "system" (real system or container time) accordingly (taking delays into consideration).
This seems to be useful when handling latency-sensitive use cases.
Just found something similar here: https://gitlab.hopu.eu/software/FIWARE/FIWARESecurity/-/blob/master/iotAgents/iotagent/node_modules/sntp/README.md
So would it be possible to add this functionality and create env-variables like:
NTP_Server -> Server IP / URL where to find the server
NTP_Port -> Port of the NTP service
NTP_Frequency -> how often the time should be synchronized
I also think this functionality could be useful to all FIWARE components.
Looking forward to your response :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked SNTP README and the repository's existing configuration and time-handling entry points. Define how NTP_Server, NTP_Port, and NTP_Frequency should control synchronization, including delay handling, and consider how completion would be verified across FIWARE components.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100