<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[MMM-iFrameReload]: iFrame won&#x27;t refresh]]></title><description><![CDATA[<p dir="auto">After I managed to load the iFrame at all (see <a href="https://forum.magicmirror.builders/topic/2637/mmm-iframereload-iframe-won-t-load">https://forum.magicmirror.builders/topic/2637/mmm-iframereload-iframe-won-t-load</a>), the iFrame (in my case the present snapshot picture of a webcam) is loaded, but not refreshed.<br />
I made a pull request to update the readme of <a href="https://github.com/TheBogueRat/MMM-iFrameReload" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/TheBogueRat/MMM-iFrameReload</a>, see <a href="https://github.com/TheBogueRat/MMM-iFrameReload/pull/5" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/TheBogueRat/MMM-iFrameReload/pull/5</a> , so my config.js looks like this:</p>
<pre><code>		{
		module: 'MMM-iFrameReload',
		position: 'top_left',	// This can be any of the regions.
		config: {
			// See 'Configuration options' for more information.
				url: 'http://192.168.178.xx:xx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&amp;usr=USER&amp;pwd=PASS',
				width: '640px', // Optional. Default: 100%
				height: '360px', //Optional. Default: 100px
				refreshInterval: 10  //Optional. Default: 3600 = 1 hour
			}
		},
</code></pre>
<p dir="auto">with this, the iframe is loaded, but not refreshed after 10 seconds, I do get the following every 10 seconds in the console - so I guess principially it works?:</p>
<pre><code>attempting to update dom for iFrameReload  MMM-iFrameReload.js:52:3
/"this/" module is: [object Object]  MMM-iFrameReload.js:53:3
attempting to update dom for iFrameReload  MMM-iFrameReload.js:52:3
/"this/" module is: [object Object]  MMM-iFrameReload.js:53:3
</code></pre>
<p dir="auto">what I did also is changing the last Attribute:</p>
<pre><code>				refreshInterval: '10'  //Optional. Default: 3600 = 1 hour
</code></pre>
<p dir="auto">removed and added the ’ around the 10 and added a comma at the end of the line. still the same: iframe gets loaded, but not refreshed.</p>
]]></description><link>https://forum.magicmirror.builders/topic/2640/mmm-iframereload-iframe-won-t-refresh</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 23:54:53 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2640.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 May 2017 15:15:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [MMM-iFrameReload]: iFrame won&#x27;t refresh on Sun, 15 Jul 2018 22:21:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binderth" aria-label="Profile: binderth">@<bdi>binderth</bdi></a> Can confirm this works!</p>
]]></description><link>https://forum.magicmirror.builders/post/42274</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42274</guid><dc:creator><![CDATA[daikaiju]]></dc:creator><pubDate>Sun, 15 Jul 2018 22:21:19 GMT</pubDate></item><item><title><![CDATA[Reply to [MMM-iFrameReload]: iFrame won&#x27;t refresh on Fri, 26 May 2017 16:10:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binderth" aria-label="Profile: binderth">@<bdi>binderth</bdi></a><br />
I want to solve! ;)<br />
see on github: <a href="https://github.com/TheBogueRat/MMM-iFrameReload/issues/2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/TheBogueRat/MMM-iFrameReload/issues/2</a></p>
<p dir="auto">I also changed the “MMM-iFrameReload.js”: line 32:</p>
<pre><code>		iframe.src =  this.config.url + '&amp;' + new Date().getTime();
</code></pre>
<p dir="auto">this way, the URL is different everytime - perhaps it is some kind of caching issue.?</p>
]]></description><link>https://forum.magicmirror.builders/post/22050</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22050</guid><dc:creator><![CDATA[binderth]]></dc:creator><pubDate>Fri, 26 May 2017 16:10:29 GMT</pubDate></item></channel></rss>