mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 04:36:02 +00:00
informId patch from justme1968
git-svn-id: https://svn.fhem.de/fhem/trunk@3427 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0f5b2745ec
commit
8d7562d77b
@ -186,6 +186,7 @@ weblink_FwFn($$$$)
|
||||
push @devices, [@device];
|
||||
} else {
|
||||
foreach my $d (sort keys %defs) {
|
||||
next if( IsIgnored($d) );
|
||||
next if( $d !~ m/$device[0]/);
|
||||
push @devices, [$d,$device[1]];
|
||||
}
|
||||
@ -222,8 +223,8 @@ weblink_FwFn($$$$)
|
||||
$m = $mapping->{$name.".".$n} if( defined($mapping) && defined($mapping->{$name.".".$n}) );
|
||||
$m =~ s/\$NAME/$name/g;
|
||||
$ret .= "<td><div class=\"dname\"><a href=\"/fhem?detail=$name\">$m</a></div></td>";;
|
||||
$ret .= "<td><div id=\"$name-$n\">$v</div></td>";
|
||||
$ret .= "<td><div id=\"$name-$n-ts\">$t</div></td>" if( $show_time );
|
||||
$ret .= "<td><div informId=\"$name-$n\">$v</div></td>";
|
||||
$ret .= "<td><div informId=\"$name-$n-ts\">$t</div></td>" if( $show_time );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -546,7 +547,7 @@ weblink_WriteGplot($)
|
||||
<code>define MyPlot weblink fileplot <logdevice>:<gnuplot-file>:<logfile></code><br>
|
||||
<code>define MyPlot weblink dbplot <logdevice>:<gnuplot-file></code><br>
|
||||
<code>define systemCommands weblink cmdList pair:Pair:set+cul2+hmPairForSec+60 restart:Restart:shutdown+restart update:UpdateCheck:update+check</code><br>
|
||||
<code>define wl_SystemStatus weblink readings sysstat *nostate *notime {{ 'load' => 'Systemauslastung in %', 'temperature' => 'Systemtemperatur in &deg;;C'}}</code><br>
|
||||
<code>define wl_SystemStatus weblink readings sysstat *nostate *notime {{ 'load' => 'Systemauslastung', 'temperature' => 'Systemtemperatur in &deg;;C'}}</code><br>
|
||||
<code>define wlHeizung weblink readings t1:temperature t2:temperature t3:temperature *notime {{ 't1.temperature' => 'Vorlauf', 't2.temperature' => 'R&uuml;;cklauf', 't3.temperature' => 'Zirkulation'}}</code>
|
||||
</ul>
|
||||
<br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user