• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[MMM-iFrameReload]: iFrame won't load

Scheduled Pinned Locked Moved Solved Troubleshooting
iframe
10 Posts 7 Posters 7.4k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    binderth
    last edited by May 26, 2017, 10:06 AM

    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!

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by yawns May 26, 2017, 2:21 PM May 26, 2017, 2:21 PM

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

      B 1 Reply Last reply May 26, 2017, 2:54 PM Reply Quote 1
      • B Offline
        binderth @yawns
        last edited by May 26, 2017, 2:54 PM

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

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by May 26, 2017, 3:14 PM

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

          B 1 Reply Last reply May 26, 2017, 3:16 PM Reply Quote 0
          • B Offline
            binderth @yawns
            last edited by May 26, 2017, 3:16 PM

            @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

            1 Reply Last reply Reply Quote 0
            • U Offline
              usafa43tsolo
              last edited by Jul 4, 2017, 12:02 PM

              I’m having the same issue. I tried all the fix actions described, but I still can’t get the frame to display:

              {
              module: ‘MMM-iFrameReload’,
              position: ‘upper_third’, // This can be any of the regions.
              config: {
              // See ‘Configuration options’ for more information.
              url: ‘http://www.google.com’,
              width: ‘100%’, // Optional. Default: 400px
              height: ‘300px’, // Optional. Default: 800px
              refreshInterval: 360 //Optional. Default: 3600 = 1 hour
              }
              },
              Any thoughts?

              1 Reply Last reply Reply Quote 0
              • F Offline
                fox
                last edited by fox Jul 29, 2017, 10:05 AM Jul 29, 2017, 9:44 AM

                No, here is the same problem
                Does anybode has a module which shows a webpage and refreshes auto?

                @binderth said in [MMM-iFrameReload]: iFrame won't load:

                @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

                the Comma would not be the problem or? i also added the

                iframe.src =  this.config.url + '&' + new Date().getTime();
                

                but no refresh

                Issues With MMM-WatchDog known?

                https://forum.magicmirror.builders/post/29827

                Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Shockwave
                  last edited by Aug 25, 2017, 4:38 AM

                  Adding square brackets around the URL got mine to work. (After changing the title to MMM-iFrameReload) I don’t recall if it still threw the error about the helper module loading or not.
                  change
                  url: ‘www.example.com’,
                  to
                  url: [‘www.example.com’],

                  1 Reply Last reply Reply Quote 0
                  • U Offline
                    Ultimatum22 Module Developer
                    last edited by Aug 25, 2017, 5:41 AM

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

                    No helper found for module: iFrameReload.

                    That is no error, the module doesn’t has a node_helper class so this log just tells you it didn’t found one so it won’t load. Not sure about your other problem. It looks like a plain string object in the source code. I’ll try to reproduce it over the weekend, to see if I can get it to work.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chassain 0
                      last edited by Dec 4, 2017, 7:55 PM

                      Hello,

                      Sorry for my english.
                      I’m using MagicMirror with different module. here my configuration :
                      {
                      module: “MMM-pages”,
                      disabled: false,
                      config: {
                      modules:
                      [[ ‘MMM-WunderGround’ ],
                      [ “calendar”, “calendar_monthly” ],
                      [ “MMM-GoogleMapsTraffic” , “MMM-MyCommute” ],
                      [ “MMM-iFrameReload” ]], // 3 webcam live on youtube
                      excludes: [ “clock” , “newsfeed” , “MMM-page-indicator” ],
                      rotationTime: 25000,
                      }
                      },
                      but i have some problems after time because MagicMirror stop to refresh (stop to a page). Maybe cause i have 3 webcam video to see. i changed memory GPU to 16 to allowed more place to video. It’s better but same problems after time.
                      So, i would like,with help, to see one video in page 4 (to reduce memory) and refresh iframe all 10 seconds. The module iFrame was better for my configuration but it doesn’t work.
                      I’m noob and it’s my first investigation with raspberry pi3.
                      Thanks for an idea to adapte my configuration or increase memory.
                      (and sorry for english) ;)

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy