{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/1584","repository_url":"https://api.github.com/repos/openhab/openhab","labels_url":"https://api.github.com/repos/openhab/openhab/issues/1584/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/1584/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/1584/events","html_url":"https://github.com/openhab/openhab/issues/1584","id":46471437,"number":1584,"title":"Image refresh isn't refreshing","user":{"login":"darkrift","id":544998,"avatar_url":"https://avatars.githubusercontent.com/u/544998?v=3","gravatar_id":"","url":"https://api.github.com/users/darkrift","html_url":"https://github.com/darkrift","followers_url":"https://api.github.com/users/darkrift/followers","following_url":"https://api.github.com/users/darkrift/following{/other_user}","gists_url":"https://api.github.com/users/darkrift/gists{/gist_id}","starred_url":"https://api.github.com/users/darkrift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkrift/subscriptions","organizations_url":"https://api.github.com/users/darkrift/orgs","repos_url":"https://api.github.com/users/darkrift/repos","events_url":"https://api.github.com/users/darkrift/events{/privacy}","received_events_url":"https://api.github.com/users/darkrift/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openhab/openhab/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/openhab/openhab/labels/pr-submitted","name":"pr-submitted","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2014-10-22T04:20:42Z","updated_at":"2016-02-28T17:45:20Z","closed_at":null,"body":"When you have an Image set to a dynamic url (ip camera) with the refresh parameter, the image is not refreshed at the refresh period, but only once.\r\n\r\nHere's a very basic sitemap : \r\n```\r\nsitemap test label=\"Test\"\r\n{\r\n        Frame {\r\n                Image url=\"http://10.8.1.2:8080/snapshot.cgi?user=user&pwd=password\" refresh=2000\r\n        }\r\n}\r\n```\r\n\r\nThe imageRefresh variable is always set to 0, which prevents the execution of the reloadImage function located here : https://github.com/openhab/openhab/blob/master/bundles/ui/org.openhab.ui.webapp/snippets/main.html#L67\r\n\r\nAlso, looking at the code, the imagesToRefreshOnPage variable seems to be ignored.\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/189913265","html_url":"https://github.com/openhab/openhab/issues/1584#issuecomment-189913265","issue_url":"https://api.github.com/repos/openhab/openhab/issues/1584","id":189913265,"user":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T17:45:20Z","updated_at":"2016-02-28T17:45:20Z","body":"@klaus-hildner, there are still deficiencies in image and chart refreshing which I'm working on now.  The JAR you tried is *supposed* to work for the sitemap you offered and only reverts a regression from about a year ago.  I am going to be posting a new JAR to the forum for feedback that ought to allow image and chart refresh from the web UI in all cases.  I will put a link here to that forum topic once it's up.\r\n\r\n> I tried Chrome, Firefox, MS IE. In Chrome's Developer Tools I see a \"404 (ProxyServlet: //clasicui/openhab.app)\" and an \"Invalid asynchronous response received\", Logic.min.js:1. Deleting the page cache did not help.\r\n\r\nChrome and Firefox ought to work, butI don't believe Microsoft Internet Explorer is supported in any case.  The other reports you mentioned in the console were not new with this PR.\r\n\r\n"}}