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?:
/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 webI 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
-
@fox said in Display web widget on mirror through iFrame?:
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 -
For instant example
somthing like : http://192.168.0.12/photo/#!Albums -
Here is the output of home.html:
-
@fox
I share on my local net. photo album -
@michael24h said in Display web widget on mirror through iFrame?:
@fox
I share on my local net. photo albumOk i understand. But why is it not working on my screen :(
-
@fox said in Display web widget on mirror through iFrame?:
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 -
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 -
I changed it to the local ip:
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 :(
Despite, thank you very much @michael24h that you help me in such details :) -
can you open this html doc from anather machine ? in local network
if not you not sharing this document called .html in local net