Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamps can be inconsistent between sent and received data #83

Open
kh90909 opened this issue Jun 12, 2016 · 0 comments
Open

Timestamps can be inconsistent between sent and received data #83

kh90909 opened this issue Jun 12, 2016 · 0 comments
Labels

Comments

@kh90909
Copy link
Owner

kh90909 commented Jun 12, 2016

This happens when the local PC time does not match the Particle Cloud server time. Received data generally contains a timestamp from the cloud (which is used for the terminal timestamp), but sent data does not, so the local PC time is used for the timestamp.

Possible solutions / workarounds:

  • Use local PC time for all timestamps
  • Estimate the difference between the local time and the cloud time and apply a correction factor
  • Request that Particle include a timestamp in the responses for calling functions and publishing events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant