Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlay image can now be refreshed with the dashboard #99

Merged
merged 1 commit into from
May 21, 2021
Merged

Overlay image can now be refreshed with the dashboard #99

merged 1 commit into from
May 21, 2021

Conversation

jreyesr
Copy link

@jreyesr jreyesr commented May 19, 2021

This PR closes #97

As requested by @falconhome in #97 (comment), this PR adds a setting that refreshes the overlay image, if enabled, on each dashboard refresh. Currently, the overlay is fetched only once, on page load, and the only way to refresh it is to reload the page with F5 or to open a new tab.

This is not an issue if the image is fixed (for example, a more updated or detailed view of the area), but it can be a problem if the overlay is updated regularly (for example, a heatmap computed from sensor data that is updated as new sensor data streams in). In this case, it is desirable to display the latest/most recent image.

The PR adds a toggle switch that forces a reload of the overlay whenever the Grafana dashboard is refreshed, either manually via the refresh button or automatically on an interval.

@amotl
Copy link

amotl commented May 21, 2021

Thank you very much!

@falconhome
Copy link

Guys!
Thank you all of your work it looks great! Thak you!
Could you help me somebody in the build process, because in my enviroment i cannot do it.
I am sorry for this, and thanks for your help!
rgsd
Tibor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refresh overlay image when the dashboard refreshes manually or automatically
3 participants