• 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-iFrame-Ping

Scheduled Pinned Locked Moved Utilities
58 Posts 12 Posters 36.6k Views 13 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.
  • A Offline
    AgP42 Project Sponsor Module Developer
    last edited by Feb 9, 2019, 9:07 PM

    :smiling_face:

    Here it is :
    https://github.com/AgP42/MMM-SmartWebDisplay

    Enough screen for today, I will create the post for this new module on the coming days.
    I tried to write the readme file as good as possible, but I will have to work on it again.

    Please test it and let me know if any bug…

    1 Reply Last reply Reply Quote 1
    • B Offline
      bolish
      last edited by Feb 9, 2019, 9:13 PM

      thx, have a good “eye / brain” rest enjoy the weekend!

      1 Reply Last reply Reply Quote 0
      • B Offline
        bolish
        last edited by Feb 9, 2019, 10:22 PM

        Review :

        • Using a list of several URL is working. Seems more “slow / laggy” than with iFrame-Ping and only one URL. Strange but OK.

        • URL rotation is working great. (maybe a bit slow because of reloading needs, but I guess than there is not much you can do for that?)

        • URL NEXT / PREV / PLAY / PAUSE is working like a charm. Which was my initial need, so perfect.

        So all in all, a major and well managed update. Good job @AgP42 .

        One thing :

        Even by using the same size (% or px) parameter as in previous iFrame-Ping, the picture is much more smaller (tiny!!!) in this new module. Strange but nothing critical.

        I’m displying youtube channels and “middle_center” parameter.

        Nevertheless, when I increase the size of it, the centering is not working well. Indeed, the margin remains the same on left side, meaning the frame is off-centered on the right side of the screen.

        Hope this can be fixed easily (I tried to look at it myself, .css, etc… but I’m not skilled enough). Maybe it’s something I’m doing wrong on my side…

        A 1 Reply Last reply Feb 10, 2019, 12:55 PM Reply Quote 0
        • A Offline
          AgP42 Project Sponsor Module Developer @bolish
          last edited by Feb 10, 2019, 12:55 PM

          @bolish, thanks for your very fast review ! I just upload an update that (should) solve the lagging issue (and on the same time this issue solved the problem of several instances !)

          And your display issue was coming from the fact that I send on GitHub my css file with modifs for me, I update it too, so you should be able to get back your previous params

          1 Reply Last reply Reply Quote 0
          • B Offline
            bolish
            last edited by Feb 10, 2019, 1:12 PM

            @AgP42
            Centering frame is OK now.
            Lagging seems to be much better.
            But it seems that new issue is happening. I get constant (uncontrolled) change between status Playing and Stopped which is stopping the video.

            Strange.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bolish
              last edited by bolish Feb 10, 2019, 1:18 PM Feb 10, 2019, 1:16 PM

              I think it’s because of PIR Sensor “USER PRESENCE” notification!!!
              (I don’t wnat any interaction between PIR and video), I only use PIR to turn screen ON / OFF.

              And this issue is not new since your morning correction…It’s new for me because I installed PIR this morning!!!

              Regards

              A 1 Reply Last reply Feb 10, 2019, 1:24 PM Reply Quote 0
              • A Offline
                AgP42 Project Sponsor Module Developer @bolish
                last edited by Feb 10, 2019, 1:24 PM

                @bolish said in MMM-iFrame-Ping:

                I think it’s because of PIR Sensor “USER PRESENCE” notification!!!
                (I don’t wnat any interaction between PIR and video), I only use PIR to turn screen ON / OFF.

                And this issue is not new since your morning correction…It’s new for me because I installed PIR this morning!!!

                Regards

                But why do you want your video to run if your screen is off ?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bolish
                  last edited by Feb 10, 2019, 2:14 PM

                  No you’re right I don’t.

                  I believe I understood the issue :

                  • It seems the PIR sensor I’m using is very sensitive and triggering “USER PRESENCE FALSE” very easily.
                  • I’m able to manage it in MMM-PIR sensor module thanks to the additional delay option which I put to 30 seconds which is preventing the screen to turn ON / OFF every 2 seconds.

                  But this is then triggering the issue I’m referring to above for MMM-SmartWebDisplay.

                  Does that makes sense? It’s the only explanation I found for now.

                  A 1 Reply Last reply Feb 10, 2019, 4:08 PM Reply Quote 0
                  • B Offline
                    bolish
                    last edited by bolish Feb 10, 2019, 2:21 PM Feb 10, 2019, 2:19 PM

                    maybe you should let your module more generic that what you currently did.
                    If someone wants to STOP the video based on any other notification (like USER PRESENCE, false) he will always have the possibility to use MMM-NotificationTrigger to convert user presence to stop.

                    Up to you.

                    If you’re not keen to update that point (which I could understand), I believe I can maybe modify things a little bit myself to manage it.

                    Maybe the modification should be done directly in MMM-PIR Sensor, which should only trigger PRESENCE FALSE once the additional delay is over and not before…

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      AgP42 Project Sponsor Module Developer @bolish
                      last edited by Feb 10, 2019, 4:08 PM

                      @bolish
                      Yes I perfectly understand the issue you are facing, in fact I also did some contribution to the module PIR sensor :smiling_face_with_open_mouth_closed_eyes:

                      Yes the delay on the module apply only about the screen off but the “USER_PRESENCE” is send anyway directly according to the sensor input.

                      Normaly on your sensor you have 2 screws, one to change the sensibility of the sensor and the other one to adjust the time delay more infos here

                      Did you check that ?

                      But you are also right that I could let the choice to the user to use this USER_PRESENCE or not, I will check what I can do for that.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 4 / 6
                      4 / 6
                      • First post
                        32/58
                        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