I was successful in acquiring and reproducing the data on my mit application, but the rate at which the data is changing in the application is very slow that it hardly ever changes at all.
The images below are from my block editor
The time stamps are being issued continuously so there are a lot of datasets. I need the results in real time as each timestamp is produced. from the above block diagram I can acquire the latest timestamp, but since its being produced continuously, the process of moving on to the next data has become very slow.
If your readings list is growing by 1 per 12 milliseconds, and you retrieve the entire list each time, that would bog you down.
If all you want to display is the last reading, maybe add an extra tag off the userID LASTREADING and keep refreshing it in addition to logging the separate readings?
Just have your app request userID/LASTREADING every so often.
I can't since its a continuously changing value. And whenever I close the app and open it again the firebase starts recording the sensor data at the timestamp right at that moment in real-time
Here is how to show the newly arrived data for a single timestamp, assuming the tag is the timestamp and the value is a dictionary with your keys and values:
firebase_data_changed_timestamped.aia (2.7 KB)
P.S. The firebase component I used was set to the default MIT server, so you would have to adapt it to your server.
Note: My List Picker Elements lag behind my Tag Lists because in the interest of speed I only refresh my List Picker Elements when I use the List Pickers, not when new data arrives.