Presence Detection #330
alexs-sentrytechnology
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
No solution for REST API as it based on request and response like http. It's easy for MQTT and web socket technology. Storing timestamp represents heart beat data at some interval is the only indirect way to do. The data consumption is based on the rate of sending and the http header and payload. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
This question may relate more to firebase than this library - but i'm interested in how to best implement online/offline detection for devices. I'm guessing the solution here : https://cloud.google.com/firestore/docs/solutions/presence is not going to work. I can obviously periodically update a value somewhere in the database while online to keep track, but the costs of doing this with a non-trivial number of devices starts to add up.
Does anyone have any ideas on how to approach?
Beta Was this translation helpful? Give feedback.
All reactions