Dashboards out of date

Bug Report
Step 1: If I have a dashboard open on my iphone, then go back to home or turn off my iphone for a while.
Step 2: Open Safari again (or open the Hubitat app again. It seems to do it in both.)

Bug: The displayed dashboard is out-of-date and doesn't update until I manually refresh.

Is this a cloud dashboard or local dashboard?

Also, what hub version are you running?

And is this when on your home network or remote?

Same as I reported several days ago. I have some tiles update ok but some do not until a browser refresh. From the various responses to my post, many people have the same issue. Mine is on Androidโ€‹ S8 Edge running Chrome. All version details provided already.

2 Likes

I get the same on Android using Chrome. Local dashboard.

Ultimately, it's a browser, if it kills javascript in the background only a refresh of the page will fix it.

We continue to explore potential causes, but if javascript is dead, we can't force a refresh, only you can.

Both cloud and local. Both safari and Hubitat app.
Latest hub version as of yesterday.
Both home network and remote.

iPhone SE
iOS 12.2
App v1.0.3 build 42
US

This seems to indicate that javascript timers won't be able to continue past a phone sleep: Javascript stops as I lock iphone, can it still run? - Stack Overflow

So you might not be able to fix this for users who pin a dashboard to the home screen.

However, in the case of the Hubitat app, you should be able to detect a resume from sleep and force the refresh of the webview yourselves. (iPhone app developer here.)

1 Like

Yes this is something we are looking into.

1 Like