MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Updated version of MMM-iFrame

    Utilities
    5
    13
    7687
    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.
    • A
      alberttwong last edited by

      It seems that the orginal iFrame developer is MIA so I took his code and all the patches and also made some updates to support loading multiple pages and rotating them on a interval. Get the code at https://github.com/alberttwong/MMM-iFrame

      A 1 Reply Last reply Reply Quote 3
      • A
        alberttwong last edited by

        I currently use this on MM to see my dlink webcams streams. http://forums.dlink.com/index.php?PHPSESSID=ag1ne0jgnnl7uft3s1ssts14p4&topic=59173.0

        A 1 Reply Last reply Reply Quote 1
        • A
          alberttwong @alberttwong last edited by

          @alberttwong said in Updated version of MMM-iFrame:

          http://forums.dlink.com/index.php?PHPSESSID=ag1ne0jgnnl7uft3s1ssts14p4&topic=59173.0

          Specifically Nest Camera and D-Link Camera streams.

          1 Reply Last reply Reply Quote 0
          • A
            Anhalter42 @alberttwong last edited by

            @alberttwong might be useful to be able to update contents on resume (instead of/additional to updating interval based). This is one thing I missed in the original iFrame module.

            A 1 Reply Last reply Reply Quote 0
            • A
              alberttwong @Anhalter42 last edited by

              @Anhalter42 So I’m a bit new with this. How can you get the resume code to invoke in node serveronly mode so that I can see if the method really executed (as of right now, no one has told me how to get console logs except in serveronly mode).

              A 1 Reply Last reply Reply Quote 0
              • A
                Anhalter42 @alberttwong last edited by

                @alberttwong don’t know if I understand correctly… you just do the same as you already do on interval ticks, but in resume(). I guess it would be nice to have an option to trigger it on/off.
                You can start MM2 with npm start dev to see console output. Is that the question?

                A 1 Reply Last reply Reply Quote 0
                • C
                  Chiumanfu last edited by Chiumanfu

                  Hows the long term stability of displaying the DLink video stream? I have a Foscam displaying in iFrame and it crashes MM ramdomly every 24 hours or so.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    alberttwong @Chiumanfu last edited by

                    @Chiumanfu I have it rotate between the 5+ cameras I have. I haven’t tried to have it on a single cam for hours.

                    1 Reply Last reply Reply Quote 0
                    • A
                      alberttwong @Anhalter42 last edited by

                      @Anhalter42 So I tried to put in some log statements at the resume() but it doesn’t seem to show up in console. Not sure what I’m doing wrong. You can see https://github.com/alberttwong/MMM-iFrame/commit/21a2563c01ccd74f20395c06cecba7e13f4e1cde

                      1 Reply Last reply Reply Quote 0
                      • N
                        nagaculun last edited by

                        @alberttwong

                        I am using the iframe module to display trendnet ip cam. It shows, but not the size I wanted. Can it be zoomed ?

                        Thanks

                        C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy