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.

    Display web widget on mirror through iFrame?

    Scheduled Pinned Locked Moved Troubleshooting
    60 Posts 9 Posters 70.1k Views 9 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.
    • foxF Offline
      fox
      last edited by fox

      I changed it but no effect:

                      {
                              module: "MMM-iFrameReload",
                              position: "top_right",
                              header: "",
                              config: {
                                      url: "http://192.168.188.30/home.html",
                                      width: "100%",
                                      height: "150px"
                              }
                      },
      
      

      top right is the position and it shows only a scroll element
      alt text

      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
      • michael24hM Offline
        michael24h
        last edited by

        @fox said in Display web widget on mirror through iFrame?:

        /192.168.188.30

        Because this address /192.168.188.30 its not live, your pulling doc with .html
        Give a shot on local network printer, as long as printer have web

        foxF 1 Reply Last reply Reply Quote 0
        • michael24hM Offline
          michael24h
          last edited by michael24h

          simply you may try with dropbox doc, picture or anything. as long will open in web browser, will open in MM
          Thanks

          1 Reply Last reply Reply Quote 0
          • foxF Offline
            fox @michael24h
            last edited by fox

            @michael24h said in Display web widget on mirror through iFrame?:

            @fox said in Display web widget on mirror through iFrame?:

            /192.168.188.30

            Because this address /192.168.188.30 its not live, your pulling doc with .html
            Give a shot on local network printer, as long as printer have web

            I dont understand your answer but it think you mean perhaps that Local IPs in the same network (Magic mirror and IP) are not allowed?
            I also checked the DNS name of 192.168.188.30.

            Note:
            There is a second raspi who gets temperatures. It’s in the same homenetwork. I can also take the hostname (poolpi) like:

                            {
                                    module: "MMM-iFrameReload",
                                    position: "top_center",
                                    header: "",
                                    config: {
                                            url: "http://poolpi/home.html",
                                            width: "100%",
                                            height: "100%px"
                                    }
                            },
            

            But no effect. No content is showing

            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
            • michael24hM Offline
              michael24h
              last edited by

              @fox said in Display web widget on mirror through iFrame?:

              http://poolpi/home.html

              on screen shot, i can see empty iframe.
              can you open this address http://xxx.xxx.xxx. from deferent pc or mac. You will need share this doc or picture on local network first

              michael24hM 1 Reply Last reply Reply Quote 0
              • michael24hM Offline
                michael24h @michael24h
                last edited by

                @michael24h

                For instant example
                somthing like : http://192.168.0.12/photo/#!Albums

                1 Reply Last reply Reply Quote 0
                • foxF Offline
                  fox
                  last edited by fox

                  Here is the output of home.html:
                  alt text

                  alt text

                  Issues With MMM-WatchDog known?

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

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

                  michael24hM 1 Reply Last reply Reply Quote 0
                  • michael24hM Offline
                    michael24h @fox
                    last edited by

                    @fox
                    I share on my local net. photo album

                    http://192.168.0.12/photo/#!Albums!0_1489511516394_Screen Shot 2017-03-14 at 17.09.56.png

                    foxF 1 Reply Last reply Reply Quote 0
                    • foxF Offline
                      fox @michael24h
                      last edited by

                      @michael24h said in Display web widget on mirror through iFrame?:

                      @fox
                      I share on my local net. photo album

                      http://192.168.0.12/photo/#!Albums!0_1489511516394_Screen Shot 2017-03-14 at 17.09.56.png

                      Ok i understand. But why is it not working on my screen :(

                      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
                      • michael24hM Offline
                        michael24h
                        last edited by

                        @fox said in Display web widget on mirror through iFrame?:

                        http://poolpi/home.html

                        Because this address http://poolpi/home.html don’t exist.
                        you pooling public domain ->poolpi
                        you basically telling MM to pull public domain which this is address -> http://poolpi/home.html
                        but in local network need be local address
                        ->http://192.168.0.12/photo/#!Albums

                        1 Reply Last reply Reply Quote 0
                        • michael24hM Offline
                          michael24h
                          last edited by

                          if I’m go to my documents and create folder called 5html. and in this folder paste my tample home.html. and then open on thisame pc or mac computer using web browser will work ok.
                          but from another machine won’t open, because I’m not sharing this doc on my local network

                          1 Reply Last reply Reply Quote 1
                          • foxF Offline
                            fox
                            last edited by

                            I changed it to the local ip:
                            alt text

                            also the config

                                            {
                                                    module: "MMM-iFrameReload",
                                                    position: "top_right",
                                                    header: "",
                                                    config: {
                                                            url: "http://192.168.188.30/home.html",
                                                            width: "100%",
                                                            height: "100%px"
                                                    }
                                            },
                            
                            

                            then restarted mm but still nothing :(

                            alt text
                            Despite, thank you very much @michael24h that you help me in such details :)

                            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
                            • michael24hM Offline
                              michael24h
                              last edited by

                              can you open this html doc from anather machine ? in local network
                              if not you not sharing this document called .html in local net

                              foxF 1 Reply Last reply Reply Quote 0
                              • michael24hM Offline
                                michael24h
                                last edited by

                                0_1489512853442_Screen Shot 2017-03-14 at 17.31.08.png
                                next

                                0_1489512867842_Screen Shot 2017-03-14 at 17.31.30.png
                                next
                                0_1489512879649_Screen Shot 2017-03-14 at 17.32.31.png

                                1 Reply Last reply Reply Quote 0
                                • foxF Offline
                                  fox @michael24h
                                  last edited by fox

                                  @michael24h said in Display web widget on mirror through iFrame?:

                                  can you open this html doc from anather machine ? in local network
                                  if not you not sharing this document called .html in local net

                                  Now i have created also a folder “pool” and point to the folder (file is now index.html) and the config points only to the folder. but also no effect.
                                  alt text

                                  Also checked with another computer in same network, the PC shows the page… Only mm, respective the MMM-iFrame module does not show the content

                                  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
                                  • foxF Offline
                                    fox
                                    last edited by

                                    I also copied the html file to the Magic-Mirror-Raspi:
                                    http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html

                                                    {
                                                            module: "MMM-iFrameReload",
                                                            position: "top_right",
                                                            header: "",
                                                            config: {
                                                                    url: "http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html",
                                                                    width: "100%",
                                                                    height: "100%px"
                                                            }
                                                    },
                                    
                                    

                                    Also no effect

                                    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
                                    • michael24hM Offline
                                      michael24h
                                      last edited by

                                      I’m not to sure what is the problem.
                                      I share page html form my mac to local network
                                      page called cookie-policy.html
                                      place in iframe
                                      0_1489513430808_IMG_0420.JPG
                                      Just wanted ask have you tried with another page. youtube or anything ?

                                      1 Reply Last reply Reply Quote 0
                                      • michael24hM Offline
                                        michael24h
                                        last edited by michael24h

                                        @fox said in Display web widget on mirror through iFrame?:

                                        url: “http://192.168.188.25:8080/modules/MMM-iFrameReload/index.html”,

                                        See if this works

                                        http://cdnx.tribalfusion.com/media/6869616/assets/video1.mp4

                                        1 Reply Last reply Reply Quote 0
                                        • foxF Offline
                                          fox
                                          last edited by

                                          @michael24h

                                          I got it… really weird:
                                          This works: https://github.com/desertblade/iFrame

                                          This does not work: https://github.com/TheBogueRat/MMM-iFrameReload

                                          alt text

                                          I checke the posts in this tread and i saw that you are using iFrame instead of iFrameReload :)

                                          Now i must update this but i will likely do this with shedule updater. Thank you michael

                                          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
                                          • michael24hM Offline
                                            michael24h
                                            last edited by

                                            @fox said in Display web widget on mirror through iFrame?:

                                            https://github.com/TheBogueRat/MMM-iFrameReload

                                            Actually I Didn’t know there two different iframe modules.
                                            I’m glad you work out this

                                            foxF 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • 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