You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the webcam stops delivering images for a few days, the UI will show no cam image, as on initial load a default range back from the current date is requested.
I see two options to avoid having no image:
Do not request a default range, api.php has a default in case no start- and end- date is requested.
To make it obvious to the user that the received pictures are possibly outdated, a date check should be done and a message similar to the suggestion in 2.
If the answer from api.php is empty, show a message "no current images available, loading (trying to load) last available images"
(and maybe do an api call without time range now, to show the last available pics.)
The text was updated successfully, but these errors were encountered:
As a temporary fix, i changed api.php so it returns the last available images if the requested range is too new.
But this will create a discrepancy in shown date-range vs. the dropdowns for requested range.
If the webcam stops delivering images for a few days, the UI will show no cam image, as on initial load a default range back from the current date is requested.
I see two options to avoid having no image:
To make it obvious to the user that the received pictures are possibly outdated, a date check should be done and a message similar to the suggestion in 2.
(and maybe do an api call without time range now, to show the last available pics.)
The text was updated successfully, but these errors were encountered: