iframe + status icon
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -5544,11 +5544,10 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
|
||||
<a name="weblink"></a>
|
||||
<h3>weblink</h3>
|
||||
<ul>
|
||||
|
||||
<a name="weblinkdefine"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define <name> weblink [link|fileplot|image]
|
||||
<code>define <name> weblink [link|fileplot|image|iframe]
|
||||
<argument></code>
|
||||
<br><br>
|
||||
This is a placeholder used with webpgm2 to be able to integrate links
|
||||
@@ -5558,8 +5557,9 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
|
||||
Examples:
|
||||
<ul>
|
||||
<code>define homepage weblink link http://www.fhem.de</code><br>
|
||||
<code>define webcam_picture weblink image http://w.x.y.z/current.jpg</code><br>
|
||||
<code>define interactive_webcam weblink iframe http://w.x.y.z/webcam.cgi</code><br>
|
||||
<code>define MyPlot weblink fileplot <logdevice>:<gnuplot-file>:<logfile></code><br>
|
||||
<code>define webcam weblink image http://w.x.y.z/current.jpg</code><br>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
@@ -5582,6 +5582,17 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
|
||||
<a name="weblinkattr"></a>
|
||||
<b>Attributes</b>
|
||||
<ul>
|
||||
<a name="htmlattr"></a>
|
||||
<li>htmlattr<br>
|
||||
HTML attributes to be used for link, image and iframe type of links. E.g.:<br>
|
||||
<ul>
|
||||
<code>
|
||||
define yw weblink wl_im1 iframe http://weather.yahooapis.com/forecastrss?w=650272&u=c<br>
|
||||
attr yw weblink htmlattr width="480" height="560"<br>
|
||||
</code>
|
||||
</ul>
|
||||
</li>
|
||||
<br>
|
||||
<li><a href="#fixedrange">fixedrange</a></li>
|
||||
<li><a href="#plotsize">plotsize</a></li>
|
||||
<li><a href="#plotmode">plotmode</a></li>
|
||||
@@ -5597,6 +5608,36 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
|
||||
individual curves, by accessing the corresponding values from the data
|
||||
hash, see the example below:<br>
|
||||
|
||||
<ul>
|
||||
<li>Fixed text for the right and left axis:<br>
|
||||
<ul>
|
||||
<li>Fhem config:<br>
|
||||
attr wl_1 label "Temperature"::"Humidity"</li>
|
||||
<li>.gplot file entry:<br>
|
||||
set ylabel <L1><br>
|
||||
set y2label <L2></li>
|
||||
</ul></li>
|
||||
<li>Title with maximum and current values of the 1st curve (FileLog)
|
||||
<ul>
|
||||
<li>Fhem config:<br>
|
||||
attr wl_1 label "Max $data{max1}, Current $data{currval1}"</li>
|
||||
<li>.gplot file entry:<br>
|
||||
set title <L1><br>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</li>
|
||||
<a name="label"></a>
|
||||
<li>label<br>
|
||||
Double-Colon separated list of values. The values will be used to replace
|
||||
<L#> type of strings in the .gplot file, with # beginning at 1
|
||||
(<L1>, <L2>, etc.). Each value will be evaluated as a perl
|
||||
expression, so you have access e.g. to the Value functions.<br><br>
|
||||
|
||||
If the plotmode is gnuplot-scroll or SVG, you can also use the min, max,
|
||||
avg, cnt, sum, lastv (last value) and lastd (last date) values of the
|
||||
individual curves, by accessing the corresponding values from the data
|
||||
hash, see the example below:<br>
|
||||
|
||||
<ul>
|
||||
<li>Fixed text for the right and left axis:<br>
|
||||
<ul>
|
||||
@@ -5703,6 +5744,10 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
|
||||
then requests from all interfaces (not only localhost / 127.0.0.1) are
|
||||
serviced.<br>
|
||||
To enable listening on IPV6 see the comments <a href="#port">here</a>.
|
||||
<br><br>
|
||||
Feature: http://host:port/fhem/icons/<devicename> will return
|
||||
the icon associated with the current status of <devicename>.
|
||||
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user