Read the statement by Michael Teeuw here.
MMM-iFrame-Ping
-
Thanks @bolish for your support ! :grinning_face_with_smiling_eyes:
So today was a good coding day (hopefully because I don’t know when will be the next one…), not all the functionnalities describe yesterday are working, but I have made some extra too…
So the new MMM-SmartWebDisplay version 1 is done , I will describe here the differences according to our previous discussions and then I will put it on GitHub and create a new post on the forum about it.
Going back to the requests :
- Be able to display several URL : –> DONE
- to be launched randomly - @rudibarani, Gavin-McLeod (GitHub) –> DONE but not randomly, one after the other following the order given on the config file. Why do you want it random ??
- to be able to launch the next one, previous one and play/pause through notification - @bolish –> DONE, 5 possibilities : Next, Previous, Stop (no more update and current URL stopped, black screen instead), Pause (no more update but the current URL remains, and continue to play if it is a video), Play (start again all updates, restart the same video currently running if any)
- Request new URL to display through notification (and without url formatting will be better) - @rudibarani –> DONE, it is possible to request 1 URL or a list of URLs, and it is possible to send also on the same notification the value for autorefresh update and the value for the timer to play the following URL (but not mandatory)
- Be able to declare several instance of the module to display several different video on the same display - @Johans, @Horge, gpapig (github) –> Unfortunately no working… I manage to display several iFrame on the same page together, but only the second one is updated and receive the notification… I don’t know why, but I didn’t spend much time on it…
So @bolish and @rudibarani : you are served ! :winking_face:
If you faced any bug, let me know… - Be able to display several URL : –> DONE
-
@AgP42 = you rock!!!
You made my evening Mate, can’t wait to test it!Thank you very much. Will keep you posted asap.
-
:smiling_face:
Here it is :
https://github.com/AgP42/MMM-SmartWebDisplayEnough 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…
-
thx, have a good “eye / brain” rest enjoy the weekend!
-
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…
-
-
@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
-
@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.
-
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
-
@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 ?
-
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.