https://github.com/heppu/com.aware.plugin.ntptime
AWARE plugin to get time from NTP server and measure system clocks drift
https://github.com/heppu/com.aware.plugin.ntptime
Last synced: 12 days ago
JSON representation
AWARE plugin to get time from NTP server and measure system clocks drift
- Host: GitHub
- URL: https://github.com/heppu/com.aware.plugin.ntptime
- Owner: heppu
- License: mit
- Created: 2015-01-26T23:28:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-27T00:47:59.000Z (over 11 years ago)
- Last Synced: 2025-10-09T10:38:35.690Z (10 months ago)
- Language: Java
- Size: 6.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# com.aware.plugin.ntptime
NTPtime is plugin for [AWARE](http://www.awareframework.com/) whitch can be also found in Github [aware-client](https://github.com/denzilferreira/aware-client).
This plugin allows you to easily get current time from NTP server and measure system clocks drift.
Settings:
---------
- **status_plugin_ntptime:** Activate / Deactivate plugin
- **servers_plugin_ntptime:** url for ntp server
- **interval_plugin_ntptime:** interval in minutes between checks
Broadcasts
----------
- **ACTION_AWARE_PLUGIN_NTPTIME:** Broadcasted after every time check
- **drift:** time in ms your clock drifts from actual time
Providers
----------
**URI:** content://com.aware.plugin.ntptime.provider/plugin_ntptime
| Table field | Field type | Description |
| ---------------- |:----------:| -----------------------------:|
| _id | INTEGER | primary key autoincrement |
| timestamp | REAL | unix timestamp |
| device_id | TEXT | AWARE device id |
| drift | REAL | clocks drift from ntp time |
| ntp_time | REAL | ntp timestamp in milliseconds |