Charts in OH3

not sure this is the right place to post this question…

I have partial success to get Grafana charts into OH3 Main UI.
(Yes, I still prefer Grafana over the built in chart function OH3, since the Grafana charts have a much nicer look.)

In OH2 sitemap I used:

Image refresh=60000 url="http://192.168.0.13:3000/render/d-solo/4OdYJNbMk/test?orgId=1&from=now-6h&to=now&panelId=2&width=1000&height=500&tz=Europe%2FVienna" visibility=[test_chart_period=="0"]

I managed to get the chart into Main UI with the Image card/widget.

Now I wonder:

  • How to automatically refresh the image e.g. once a minute? or any other way to refresh the image?
  • How to apply visibility - is there the same or similar function for OH3 Main UI?