Added option to synchronise timestamps betweent SmartThings and InfluxDb#13
Open
PeteBa wants to merge 1 commit intocodersaur:masterfrom
PeteBa:influxdb-timestamps
Open
Added option to synchronise timestamps betweent SmartThings and InfluxDb#13PeteBa wants to merge 1 commit intocodersaur:masterfrom PeteBa:influxdb-timestamps
PeteBa wants to merge 1 commit intocodersaur:masterfrom
PeteBa:influxdb-timestamps
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Firstly, thanks for such a great SmartApp.
Unfortunately, I am seeing some lag between SmartThings creating an event and that event landing in InfluxDb. This can make it difficult to cross-reference between the two systems as the current behaviour is for InfluxDb to timestamp the event based on when it receives it rather than when it was created in SmartThings.
I have added an option (default is off) to use the SmartThings event creation date as the timestamp passed to InfluxDb. This ensures that the two systems have identical reference points.
Let me know if you are willing to take this on-board. I would be happy to make any modifications you think necessary.
Thanks again, Peter