[MMM-iFrameReload]: iFrame won't load



  • I’m using https://github.com/TheBogueRat/MMM-iFrameReload to Display the “live feed” of my FOSCAM FI 9900P, which unfortunately doesn’t have an MJPEG-stream ready for MMM-IPCam (https://github.com/RedNax67/MMM-IPCam).

    my config.js:

    		{
    		module: 'iFrameReload',
    		position: 'top_left',	// This can be any of the regions.
    		config: {
    			// See 'Configuration options' for more information.
    				url: "http://192.168.xx.xx:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=USER&pwd=PASS",
    				width: "640px", // Optional. Default: 100%
    				height: "360px", //Optional. Default: 100px
    				refreshInterval: 10  //Optional. Default: 3600 = 1 hour
    			}
    		},
    

    in the logfile, there’s only this:

    No helper found for module: iFrameReload.
    

    Do I miss something? there’s not even the slightest sign of an iFrame - even if I switched the URL to url: "https://www.google.de",

    Thanks!


  • Moderator

    Please change it to (look at the module name):

    {
    		module: 'MMM-iFrameReload',
    		position: 'top_left',	// This can be any of the regions.
    		config: {
    			// See 'Configuration options' for more information.
    				url: "http://192.168.xx.xx:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=USER&pwd=PASS",
    				width: "640px", // Optional. Default: 100%
    				height: "360px", //Optional. Default: 100px
    				refreshInterval: 10  //Optional. Default: 3600 = 1 hour
    			}
    		},
    

    The readme of the module is wrong :)



  • @yawns said in [MMM-iFrameReload]: iFrame won’t load:

    The readme of the module is wrong

    that’s right!, but even after Setting the “MMM-” in front, it still doesn’t show. still the same entry in the log, but no iframe gets loaded.
    finally, after changing all " to ’ it worked:

    		{
    		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&usr=USER&pwd=PASS',
    				width: '640px', // Optional. Default: 100%
    				height: '360px', //Optional. Default: 100px
    				refreshInterval: '10'  //Optional. Default: 3600 = 1 hour
    			}
    		},
    

    … only after 10 seconds there’s no reload sadly.


  • Moderator

    Try removing the ’ ’ from the refreshInterval. Plain numbers should not be written with ’ ’



  • @yawns
    did that already, even played around with the comma at the end…
    see: https://forum.magicmirror.builders/topic/2640/mmm-iframereload-iframe-won-t-refresh


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.