refresh webinterface home network/internet

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
PaulAmsterdam
Posts: 14
Joined: Monday 15 April 2024 9:09
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

refresh webinterface home network/internet

Post 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.
lost
Posts: 643
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: refresh webinterface home network/internet

Post 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! :?:
PaulAmsterdam
Posts: 14
Joined: Monday 15 April 2024 9:09
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: refresh webinterface home network/internet

Post 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.
lost
Posts: 643
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: refresh webinterface home network/internet

Post 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).
PaulAmsterdam
Posts: 14
Joined: Monday 15 April 2024 9:09
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: refresh webinterface home network/internet

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests