As addition, if you use a template grid instead of listview, you can set an auto refresh and your page will refresh itself in a given time interval.
Gareth
It looks like your weather tiles are sourced by microflow. If so, microflow sourced dataviews/listviews/datagrids only retrieve when the page is loaded. To get the data to refresh, you can use the following approach:
Hope that helps,
Mike
In addition to the above answers, your application and, although relevant, not a solution to your problem. May I suggest the following.
I see that each block uses the same datasource microflow. If you connect the JsonObject to a parent entity, I.e. ‘JsonObjectViewhelper’ with a 1-1 association, assuming its the same object each time, you can reduce the number of microflows triggered from 3 down to a single one. Create a dataview that uses the GetData microflow and output the viewhelper object. In this datasource microflow you create the viewhelper object, as well as do the GET request, followed by associating the jsonobject to the viewhelper. Now, instead of a microflow for each block, simply use the dataview and retrieve the object over association, instead.
Additionally, if you refresh the viewhelper object, by any of the above solutions, the data that’s associated is automatically refreshed as well. If you put the refresh button inside the dataview of the viewhelper object, you can simply use a microflow that has a single activity; the change object (viewhelper) with no attributes changed, but only the ‘refresh object’ ticket. This way the parent object will refresh, causing all data to be refreshed as well.
Combine this microflow withheld MicroflowTimer widget for automatic refreshes :)
Good luck!
Hi Gareth,
Two things you could do:
Either of those solutions will work, but #2 might be your best bet. The button within the contents of a List View allows you to isolate that specific object.
Hi. I know that this is a post a year ago, but may I know how did you make the box for Temperature, Humidity and Dust respectively please? What widget did you use?