Page 1 of 1

Refreshing URL Image... refresh rate

PostPosted: Thu Sep 27, 2018 12:48 pm
by boisy
I have a control page that has a Refreshing URL Image. The URL points to my WeatherSnoop 4 web server running on the same computer as Indigo. The URL is:

http://localhost:8001/api/v1/083CE041-0 ... 5E76BE76B8

I have the refresh rate set to 4 seconds. However, Indigo doesn't appear to refresh the image at all. There are log messages being output when the WeatherSnoop 4 server gets a request, so I know for certain that the server isn't being hit.

Does URL refresh rate in control pages work?

Re: Refreshing URL Image... refresh rate

PostPosted: Thu Sep 27, 2018 1:04 pm
by jay (support)
boisy wrote:
Does URL refresh rate in control pages work?


Definitely - it's how I (and many) view camera images. What is that URL pointing to? I don't see it when I click around in the WS4 UI.

[EDIT] - nevermind, I see that it points to the dashboard. I think the issue is that the url doesn't end with a file name that looks like an image. So if you added ".png" to the URL (and made that work in WS) then I expect it would work.

Maybe... ;)

Re: Refreshing URL Image... refresh rate

PostPosted: Thu Sep 27, 2018 5:05 pm
by boisy
Hey Jay,

I modified the relevant code in WS4 to append .png (frankly it should have been there but wasn't). Even with adding that to the URL, the and the refresh rate set to 4 seconds, refresh doesn't seem to happen.

I went even further, pointing to a URL on a web server online that I have control over, using this URL:

http://www.boisypitre.com/weathersnoop-banner.png

It loaded up the image initially of course, but after swapping out the contents of weathersnoop-banner.png on that server, the old image remains.

Is there any other way that you can think that I can verify the operation?

Re: Refreshing URL Image... refresh rate

PostPosted: Thu Sep 27, 2018 5:15 pm
by jay (support)
What client are you using to test the refresh?

Re: Refreshing URL Image... refresh rate

PostPosted: Thu Sep 27, 2018 5:52 pm
by boisy
Good question. The latest Safari on Mojave. And guess what... I just tried Chrome and it works!

Is Safari *that* broken?

Re: Refreshing URL Image... refresh rate

PostPosted: Thu Sep 27, 2018 7:51 pm
by jay (support)
I just tried Safari 12 on High Sierra and on a Mojave install and they both work. Is it working in the Indigo Touch app?

Is your Mojave perhaps an earlier beta?

Safari 12 beta was broken in all sorts of ways, some of which still seem to be around (too many redirects, etc).

Re: Refreshing URL Image... refresh rate

PostPosted: Fri Sep 28, 2018 1:00 pm
by boisy
Apologies Jay. The system I'm testing on is actually High Sierra with Safari 12.0.1.

I'm not going to burn anymore time on it since Chrome works. Thanks!

Re: Refreshing URL Image... refresh rate

PostPosted: Fri Sep 28, 2018 1:19 pm
by jay (support)
boisy wrote:
Apologies Jay. The system I'm testing on is actually High Sierra with Safari 12.0.1.


Hmm. Same configuration that I have on my dev system (which works). Odd.