Read the statement by Michael Teeuw here.
Display web widget on mirror through iFrame?
-
@michael24h said in Display web widget on mirror through iFrame?:
@fox said in Display web widget on mirror through iFrame?:
Actually I Didn’t know there two different iframe modules.
I’m glad you work out thisI think the diffference is, that the Reload-module can update the content.
Thank you :) -
I didn’t help much. but thanks
-
Hi I did think about iframe iFrameReload.
and works very good. no problem so far…
html doc going too
MagicMirror/modules/MMM-iFrameReload{
module: ‘MMM-iFrameReload’,
header:‘Traffic Map’,
position: ‘bottom_left’, // This can be any of the regions.
config: {
url: “http://localhost:8080/modules/MMM-iFrameReload/anyname.html”,
width: “380px”,
height: “400px”,
refreshInterval: 800
} -
this will help you with traffic map for example
https://support.google.com/maps/answer/18539?co=GENIE.Platform%3DDesktop&hl=en -
There are some comments on the github section for TheBogueRat-MMM-iFrameReload that it will not refresh with some url’s. I have a similar problem. Some suggested appending the current time/date to the url but this gives an invalid url. Has anyone got this to work? My config is:
{ module: 'MMM-iFrameReload', position: 'top_center', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://tides.tidegraph.com/api/tidegraph.php?bg=black&scale=.8&station=Old Frenchtown Wharf, Elk River, Maryland", width: "100%", // Optional. Default: 400px height: "450px", // Optional. Default: 800px refreshInterval: 1800 //Optional. Default: 3600 = 1 hour } },
Many thanks.