Read the statement by Michael Teeuw here.
Does anyone know how to make the iFrame module refresh periodically?
-
@kevsfastz said in Does anyone know how to make the iFrame module refresh periodically?:
@fox
The simple answer is yes it is possible. What is your goal specifically?I have another raspberry who gets temperatures with one-wire-sensors.
This i provide in a simple homepage:<div> <div> <h2>...</h2> <p><b>Temperaturen:</b></p> <p>Luft:............ -3.5°</p> <p>Dach:........... -2.5°</p> <p>Pool: ............3.5°</p> <p><b>Status: </b></p> <p>Pumpe:........... <b>Aus</b></p> <p>Solarheizung:...<b>Aus</b></p> <br /> <p><b>Meta: </b></p> <p>System:...........Linux 4.1.19+ armv6l</p> <p>CPU Temp:....14.260°</p> <p>Sensors...........3 x DS18B20 @ 5V </p> <p>Last Update:......Mon 13-02-2017, 19:40:05 Uhr</p> </div> <p>....</p> </div>
how to show this, or parts of it?
edit:(the html header will not be shown in this forum framework :walking:
-
This depends on the output of your other Pi. If you already have this output displayed in say HTML format ( I assume that’s what you mean when you say simple homepage?) you can easily place this in iFrame via local URL. The best way would be to create its own page so you can control the output, then you can use CSS styles to adjust colors, size, placement etc.
-
@kevsfastz said in Does anyone know how to make the iFrame module refresh periodically?:
This depends on the output of your other Pi. If you already have this output displayed in say HTML format ( I assume that’s what you mean when you say simple homepage?) you can easily place this in iFrame via local URL. The best way would be to create its own page so you can control the output, then you can use CSS styles to adjust colors, size, placement etc.
Thank you for your answer. I tried of course, but I got only a white line on the screen.
-
Can you show a sample of your code? I assume the URL is working fine in a web browser?
-
@kevsfastz
Above is a sample of the code(the weird forum framework removed the headd of the html )
Yes it is working very fine in the web browserDoes this help you?
Thank you in advance !
-
This post is deleted! -
created new thread because this one is solved with the original issue