For many months, I have had a problem where any framed pages (such as Node-RED, Z-Wave JS, VS Code) will refresh if the browser tab loses focus, and then I return to it. This usually happens within a few minutes. For example, if I’m working on a Node-RED flow, then flip to another browser tab for a few minutes to read some documentation, when I come back to the Home Assistant tab with Node-RED, it will immediately refresh (causing me to lose any unpublished work). This seems to happen with any framed page in Home Assistant.
In addition to making me lose Node-RED work, I think this is also preventing me from doing firmware updates on my Z-Wave devices via Z-Wave JS 2 MQTT, seemingly because the page can’t stay alive long enough without refreshing to complete the firmware update.
I have been searching a lot on this topic, and I’ve found several other people saying they have the same problem related to something called “HAProxy”. I am not – as far as I know – using HAProxy. I am using a DuckDNS domain name through port forwarding on my router.
I cannot find anything in the Home Assistant log explaining this behavior.
Would really appreciate some advice on where to look, because it’s getting really maddening.