Page 1 of 1
refresh webinterface home network/internet
Posted: Wednesday 08 January 2025 11:21
by PaulAmsterdam
Is it true that the web interface is refreshed via the home network and not via the internet?
To see the correct date in e.g. "power usage" via the internet, I have to refresh the entire page.
This is not necessary if I view the page via the home network. Then it will be refreshed nicely.
I use Firefox but I also see that in other browsers (not).
I use W11.
Re: refresh webinterface home network/internet
Posted: Wednesday 08 January 2025 14:30
by lost
That's not consistent behavior depending on the external network you're connected to: No issue for me on mobile networks or from a laptop connected from another home network outside of mine for instance, if a sensor reports I see state change updated without having to refresh page... Not the same at work: I can connect (using one of the domains registered for my let's encrypt certificate for https that is not blocked, being flagged as dyndns-like) but have to refresh manually to see updates.
I assume websockets used to push widgets updates do not cope nicely with corporate proxies!

Re: refresh webinterface home network/internet
Posted: Thursday 09 January 2025 12:42
by PaulAmsterdam
With my mobile phone an update is given when I am connected via the internet. Use exactly the same address.
Unfortunately not with Firefox on PC.
Re: refresh webinterface home network/internet
Posted: Thursday 09 January 2025 13:23
by lost
This is not an addressing issue that would prevent any page load, not only updates pushed back by some long living connection using web-socket.
Here you can initiate connections & get required pages in return but you don't get later updates initiated in the opposite way: They must be blocked by some proxy or other security layer (on the external network you connect from, or the PC when not using home network).
Also take care to check the "remember me" button at connect, otherwise connections will time-out quickly & also prevent updates after a few mn: This may have been done on mobile device & forgot on PC (+If you have setup domoticz not to need login from your home network this may explain this works from home with same PC+browser).
Only you can test&try to figure out where the issue is (ext. network or PC?). As your mobile network looks to work as expected, you may tether it to wifi-connect your PC on the mobile network for a try: If that's OK, that's the other(s) external network(s) you usually connect from with your PC that cause issue (& you'll probably not be able to change this, you may just cope with this by tunneling the access in keep-alived connection: ssh tunnel, vpn...). If KO, as this exact same external network works using the smartphone, this would be some PC related issue: Most probably some restrictive security layer configuration that kicks-in on non home networks.
Can just say FF is no culprit there: No update issues on my side from external networks that does not filter connections initiated from the outside (like corporate networks).
Re: refresh webinterface home network/internet
Posted: Friday 10 January 2025 15:25
by PaulAmsterdam
Thanks for your comments. So that will be further searching with the suggestions you made.
At least now I can move on.
Thank you.