Read the statement by Michael Teeuw here.
Does anyone know how to make the iFrame module refresh periodically?
-
@PeppaPigKilla
Sorry the forum seems to be overloaded. I put this in my code and still no refreshing. I believe the problem is my iFrame does not have a specified name. I am only able to input the scr=“URL”. Not sure where to put iframe name = “name”. When generating an iFrame from google sheets it does not specify a name either. -
I tried it and cant get it to work either. best reaching out to the author,
-
@PeppaPigKilla the code that was added by you is after the return, so the code will never be reached.
I suggest an interval which calls
updateDom
, which will be created after theDOM_OBJECTS_CREATED
broadcast -
Thanks for the suggestion. I wouldn’t know where to start with that though. I tried this module which did not work refresh for me either.
-
@cnelso24 the problem is probably that there isnt a change detected when updating the dom, try to add a timestamp attribute to the iframe.
-
I have found a fix for this module which I posted here:
https://github.com/TheBogueRat/MMM-iFrameReload/issues/2
Kev
-
Thank you!! I will check it out when I get home.
-
Just got a chance to try this. Works like a charm! Thank you!
-
@kevsfastz is it possible to show simple html content and update periodically?
-
@fox
The simple answer is yes it is possible. What is your goal specifically?