mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Added support for InterTechno Module + added tables for unkown/new devices
git-svn-id: https://svn.fhem.de/fhem/trunk@1216 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c6e02f90b8
commit
edfa74e8ed
@ -7,7 +7,7 @@ Description of the pgm5 webfrontend:
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
# Copyright notice
|
# Copyright notice
|
||||||
#
|
#
|
||||||
# (c) 2008-2009
|
# (c) 2008-2012
|
||||||
# Copyright: Dr. Olaf Droegehorn
|
# Copyright: Dr. Olaf Droegehorn
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
#
|
#
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
# Copyright notice
|
# Copyright notice
|
||||||
#
|
#
|
||||||
# (c) 2008-2009
|
# (c) 2008-2012
|
||||||
# Copyright: Dr. Olaf Droegehorn
|
# Copyright: Dr. Olaf Droegehorn
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
#
|
#
|
||||||
@ -572,6 +572,9 @@ showRoom()
|
|||||||
# Print the table headers
|
# Print the table headers
|
||||||
my $t = $type;
|
my $t = $type;
|
||||||
$t = "EM" if($t =~ m/^EM.*$/);
|
$t = "EM" if($t =~ m/^EM.*$/);
|
||||||
|
if (!(($t eq "FS20") || ($t eq "IT") || ($t eq "FHT") || ($t eq "FileLog") || ($t eq "at") || ($t eq "notify") || ($t eq "KS300") || ($t eq "FHZ") || ($t eq "FHEMWEB") || ($t eq "EM") || ($t eq "FHEMRENDERER"))) {
|
||||||
|
$t = "_internal_";
|
||||||
|
}
|
||||||
print " <table class=\"$t\" summary=\"List of $type devices\">\n";
|
print " <table class=\"$t\" summary=\"List of $type devices\">\n";
|
||||||
|
|
||||||
if($type eq "FS20") {
|
if($type eq "FS20") {
|
||||||
@ -579,6 +582,11 @@ showRoom()
|
|||||||
print "<th colspan=\"2\">Set to</th>";
|
print "<th colspan=\"2\">Set to</th>";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
|
if($type eq "IT") {
|
||||||
|
print " <tr><th>IT dev.</th><th>State</th>";
|
||||||
|
print "<th colspan=\"2\">Set to</th>";
|
||||||
|
print "</tr>\n";
|
||||||
|
}
|
||||||
if($type eq "FHT") {
|
if($type eq "FHT") {
|
||||||
print " <tr><th>FHT dev.</th><th>Measured</th>";
|
print " <tr><th>FHT dev.</th><th>Measured</th>";
|
||||||
print "<th>Set to</th>";
|
print "<th>Set to</th>";
|
||||||
@ -607,7 +615,7 @@ showRoom()
|
|||||||
|
|
||||||
my $v = $devs{$d}{state};
|
my $v = $devs{$d}{state};
|
||||||
|
|
||||||
if($type eq "FS20") {
|
if(($type eq "FS20") || ($type eq "IT")) {
|
||||||
|
|
||||||
my $v = $devs{$d}{state};
|
my $v = $devs{$d}{state};
|
||||||
my $iv = $v;
|
my $iv = $v;
|
||||||
@ -651,7 +659,7 @@ showRoom()
|
|||||||
$v = int($v*20)/$v if($v =~ m/^[0-9].$/);
|
$v = int($v*20)/$v if($v =~ m/^[0-9].$/);
|
||||||
print $q->hidden("arg.$d", "desired-temp");
|
print $q->hidden("arg.$d", "desired-temp");
|
||||||
print $q->hidden("dev.$d", $d);
|
print $q->hidden("dev.$d", $d);
|
||||||
print "<td>" .
|
print "<td align=\"center\">" .
|
||||||
$q->popup_menu(-name=>"val.$d", -values=>\@tv, -default=>$v) .
|
$q->popup_menu(-name=>"val.$d", -values=>\@tv, -default=>$v) .
|
||||||
$q->submit(-name=>"cmd.$d", -value=>"set") . "</td>";
|
$q->submit(-name=>"cmd.$d", -value=>"set") . "</td>";
|
||||||
|
|
||||||
|
BIN
fhem/webfrontend/pgm5/icons/IT.off.gif
Normal file
BIN
fhem/webfrontend/pgm5/icons/IT.off.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 609 B |
BIN
fhem/webfrontend/pgm5/icons/IT.on.gif
Normal file
BIN
fhem/webfrontend/pgm5/icons/IT.on.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 377 B |
@ -1,44 +1,50 @@
|
|||||||
body { color: black; background: #FFFFD7; }
|
body { color: black; background: #FFFFD7; }
|
||||||
|
|
||||||
table { -moz-border-radius:8px; }
|
table { -moz-border-radius:8px; }
|
||||||
|
table { border:thin solid; width: 100%; background: #EAEAEA; }
|
||||||
table.room { border:thin solid; width: 100%; background: #D7FFFF; }
|
table tr.odd { background: #F5F5F5; }
|
||||||
table.room tr.sel { background: #A0FFFF; }
|
|
||||||
|
|
||||||
table.at { border:thin solid; width: 100%; background: #FFFFC0; }
|
table.room { border:thin solid; width: 100%; background: #D7FFFF; }
|
||||||
table.at tr.odd { background: #FFFFD7; }
|
table.room tr.sel { background: #A0FFFF; }
|
||||||
|
|
||||||
table.notify { border:thin solid; width: 100%; background: #D7D7A0; }
|
table.at { border:thin solid; width: 100%; background: #FFFFC0; }
|
||||||
table.notify tr.odd { background: #FFFFC0; }
|
table.at tr.odd { background: #FFFFD7; }
|
||||||
|
|
||||||
table.FileLog { border:thin solid; width: 100%; background: #FFC0C0; }
|
table.notify { border:thin solid; width: 100%; background: #D7D7A0; }
|
||||||
table.FileLog tr.odd { background: #FFD7D7; }
|
table.notify tr.odd { background: #FFFFC0; }
|
||||||
|
|
||||||
table._internal_ { border:thin solid; width: 100%; background: #C0C0C0; }
|
table.FileLog { border:thin solid; width: 100%; background: #FFC0C0; }
|
||||||
table._internal_ tr.odd { background: #D7D7D7; }
|
table.FileLog tr.odd { background: #FFD7D7; }
|
||||||
|
|
||||||
table.FS20 { border:thin solid; width: 100%; background: #C0FFFF; }
|
table._internal_ { border:thin solid; width: 100%; background: #EAEAEA; }
|
||||||
table.FS20 tr.odd { background: #D7FFFF; }
|
table._internal_ tr.odd { background: #F5F5F5; }
|
||||||
|
|
||||||
table.FHT { border:thin solid; width: 100%; background: #FFC0C0; }
|
table.FS20 { border:thin solid; width: 100%; background: #C0FFFF; }
|
||||||
table.FHT tr.odd { background: #FFD7D7; }
|
table.FS20 tr.odd { background: #D7FFFF; }
|
||||||
|
|
||||||
table.KS300 { border:thin solid; width: 100%; background: #C0FFC0; }
|
table.IT { border:thin solid; width: 100%; background: #C0FFFF; }
|
||||||
table.KS300 tr.odd { background: #A7FFA7; }
|
table.IT tr.odd { background: #D7FFFF; }
|
||||||
|
|
||||||
table.FHZ { border:thin solid; width: 100%; background: #C0C0C0; }
|
table.FHT { border:thin solid; width: 100%; background: #FFC0C0; }
|
||||||
table.FHZ tr.odd { background: #D7D7D7; }
|
table.FHT tr.odd { background: #FFD7D7; }
|
||||||
|
|
||||||
table.EM { border:thin solid; width: 100%; background: #E0E0E0; }
|
table.KS300 { border:thin solid; width: 100%; background: #C0FFC0; }
|
||||||
table.EM tr.odd { background: #F0F0F0; }
|
table.KS300 tr.odd { background: #A7FFA7; }
|
||||||
|
|
||||||
table.FHEMWEB { border:thin solid; width: 100%; background: #E0E0E0; }
|
table.FHZ { border:thin solid; width: 100%; background: #C0C0C0; }
|
||||||
table.FHEMWEB tr.odd { background: #F0F0F0; }
|
table.FHZ tr.odd { background: #D7D7D7; }
|
||||||
|
|
||||||
table.FHEMRENDERER { border:thin solid; width: 100%; background: #E0E0E0; }
|
table.EM { border:thin solid; width: 100%; background: #E0E0E0; }
|
||||||
table.FHEMRENDERER tr.odd { background: #F0F0F0; }
|
table.EM tr.odd { background: #F0F0F0; }
|
||||||
|
|
||||||
#hdr { position:absolute; top:10px; left:10px; }
|
table.FHEMWEB { border:thin solid; width: 100%; background: #E0E0E0; }
|
||||||
#left { position:absolute; top:50px; left:10px; width:130px; }
|
table.FHEMWEB tr.odd { background: #F0F0F0; }
|
||||||
#right { position:absolute; top:50px; left:160px;
|
|
||||||
right:10px; bottom:10px; overflow:auto; }
|
table.FHEMRENDERER { border:thin solid; width: 100%; background: #E0E0E0; }
|
||||||
|
table.FHEMRENDERER tr.odd { background: #F0F0F0; }
|
||||||
|
|
||||||
|
#hdr { position:absolute; top:10px; left:10px; }
|
||||||
|
#left { position:absolute; top:50px; left:10px; width:130px; }
|
||||||
|
#right { position:absolute; top:50px; left:160px;
|
||||||
|
right:10px; bottom:10px; overflow:auto; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user