Data reading time as a variable #36
Unanswered
Engine1992
asked this question in
Q&A
Replies: 2 comments
-
No such class and method you are using in this library. For timestamp, you have to commit with write as in this example which is the only approach that Firestore API allows. |
Beta Was this translation helpful? Give feedback.
0 replies
-
OK, thanks a lot! :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to figure it out and I can't come up with anything, namely that each time data is sent to the server, the reading time is also saved (or sent). I tried to get the time as a variable from the SIM800L module but without success.
Is there an option to send the variable to the server and have the date added at the Firestone level?
Somewhere I found an entry like
doc.add("updateTime", Values::Value(FieldValue.serverTimestamp()));
but I get the error: error:
Is there any other way to record the time of the last reading?
Beta Was this translation helpful? Give feedback.
All reactions