Frontend: 0.85 - UI Constantly Refreshes while in edit mode

Created on 11 Jan 2019  路  19Comments  路  Source: home-assistant/frontend

This has been happening the last few releases... When you are either in edit mode or raw edit mode the ui will refresh and completely remove any changes you had since you saved it. Your only option is to type quick and save often (every few seconds). This is really annoying.

waiting for reply

Most helpful comment

Seemed to be fixed in .87.
Service worker fix did nothing for me.

All 19 comments

Need more details. What browser are you running, what version of HA are you currently running, etc?

I'm running 0.85 and I'm running the latest version of safari on Mac. It's been doing this since Lovelace came out.

Have you tried other browsers?

not sure what edit mode is, but I am using Lovelace in Yaml mode, and have noticed this also:
https://community.home-assistant.io/t/lovelace-refreshes-refocusses-page-frequently/87446

Mac, safari, ha 084.3

Please try the following:

  • Safari > Preferences > Advanced > Develop > Experimental features > un-check service workers > restart safari

Think I don't have that:

schermafbeelding 2019-01-11 om 17 31 13

image

It's now up in your menu bar (I'm guessing, I don't have a mac and am stealing this workaround from another ticket)

yes, that's the same, in my Dutch setting Develop menu is called Ontwikkel-menu.;-)

under Service-workers my domain was listed, now unchecked. And indeed I believe it has gone .

Not sure what else I am missing now? Was this some kind of debug setting, and should it really e enabled for certain services to work, and which now won't work?

So this might happen whenever a state changes and thus the hass object. If that's the case, we can attempt a repro by opening 2 UIs and in one UI open the editor and make a change, in the other UI toggle a switch

Have the same issue on Safari on MacOS Mojave, Chrome works fine.

Same problem exsist on iOS in safari and the HA iOS App.

right, happens on safari on a mac (Version 12.0.2 (12606.3.4.1.4)) and on all actual iOS safari on iphone7/6, ipad5 - even on a older (not actual) ipad2 and as well on the official newest app.

and NO: turning of 'service workers' in developement properties of the safari doesn't work either.

ha on a raspi3, just updated to version 0.85.1

i fully agree to niemyjski comment: this is REALLY annoying.

The _ServiceWorkers_ option is also available on iOS , it should be here:
Settings --> Safari --> Advanced --> Experimental Features

Are people still having issues after trying the service worker fix?

Seemed to be fixed in .87.
Service worker fix did nothing for me.

For me not fixed with any update. I have resintalled hassio, access with Win, Ubuntu, Chrome, Firefox. it always keeps reloading randomly. Maybe a little less on ubuntu + Firefox, but still.

This happens for me too (0.96.0). It happens in Chrome with the service worker unloaded or not. Nothing specific comes down the websocket to trigger it. It's really frustrating because it basically makes all ingress apps and the developer tools completely useless - as you've got about 15 seconds before they get reset.

The workaround is to copy the ingress iframe uri out and hit that directly, it's the only way I can work with Cloud9 & NodeRed.

I also have this issue on 0.103.5

When I'm configuring a new automation and filling the fields, a new websocket is opened after a few seconds of editing:

wss:///api/websocket

and all the fields resets!

Never mind, I fixed it by adding "timeout tunnel 1h" in my HAPROXY backend section.

Just an FYI; create new issue tickets rather than commenting on closed ones. You can always reference the closed one in the new

Was this page helpful?
0 / 5 - 0 ratings