Refreshing URL Image... refresh rate

Posted on
Thu Sep 27, 2018 12:48 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Refreshing URL Image... refresh rate

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?

Posted on
Thu Sep 27, 2018 1:04 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Refreshing URL Image... refresh rate

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... ;)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Sep 27, 2018 5:05 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Refreshing URL Image... refresh rate

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?

Posted on
Thu Sep 27, 2018 5:15 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Refreshing URL Image... refresh rate

What client are you using to test the refresh?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Sep 27, 2018 5:52 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Refreshing URL Image... refresh rate

Good question. The latest Safari on Mojave. And guess what... I just tried Chrome and it works!

Is Safari *that* broken?

Posted on
Thu Sep 27, 2018 7:51 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Refreshing URL Image... refresh rate

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).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Sep 28, 2018 1:00 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Refreshing URL Image... refresh rate

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!

Posted on
Fri Sep 28, 2018 1:19 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Refreshing URL Image... refresh rate

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest