Read Firebase RTDB Data Only on Updates (ESP8266 or ESP32) #657
kkbughunter
started this conversation in
General
Replies: 1 comment
-
https://github.com/mobizt/Firebase-ESP-Client/tree/main/examples/RTDB/DataChangesListener |
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
-
I'm working with the following code that reads data from a Firebase
Currently, the code reads data continuously from the path "/s1" in the database. I'd like to modify it to read data only when there's an update in the database at that path.
I've looked into the Firebase library documentation for stream functions, but I'm not sure how to integrate them effectively.
Could anyone provide guidance on how to achieve this behavior using the stream function or suggest alternative approaches, like event listeners?
Beta Was this translation helpful? Give feedback.
All reactions