gauteh / sfy

🌊 A lightweight wave buoy for near-shore deployments.
MIT License
45 stars 7 forks source link

dashboard: how often are the data retrieved? #63

Closed jerabaul29 closed 2 years ago

jerabaul29 commented 2 years ago

Just being curious / as usual just brainstorming: how often are the data retrieved from the different sources? Looks like the NOFO-OPV data took a bit of time to update - is there an attempt to retrieve iridium and GSM data each time a connection is established (to make sure it is refreshed), or is it taking place at fixed time, or else? Would it be possible to have a "refresh all data sources" button to force a refresh? :)

gauteh commented 2 years ago

It's updating every 30 minutes for OMB. You have to manually refresh the website.

GSM data is updated as it comes in, but buoys only try to transmit every 20 minutes.

tir. 7. jun. 2022, 19:12 skrev JR @.***>:

Just being curious / as usual just brainstorming: how often are the data retrieved from the different sources? Looks like the NOFO-OPV data took a bit of time to update - is there an attempt to retrieve iridium and GSM data each time a connection is established (to make sure it is refreshed), or is it taking place at fixed time, or else? Would it be possible to have a "refresh all data sources" button to force a refresh? :)

— Reply to this email directly, view it on GitHub https://github.com/gauteh/sfy/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAN367X6DR3PM2B2WISPVLVN57G7ANCNFSM5YDVIZRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gauteh commented 2 years ago

I would like to avoid being able to control the server using the read-token, so I think in the current design it shouldn't be possible to force a refresh from iridium - but there should be a mechanism for the web ui to update data from server without reloading the page.