2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

23_LUXTRONIK2.pm jetzt mit Softwarestand der Waermepumpe

git-svn-id: https://svn.fhem.de/fhem/trunk@1512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
oskarfessel 2012-05-01 08:45:51 +00:00
parent e97cbb65a2
commit f7b417d8eb

View File

@ -210,10 +210,10 @@ LUXTRONIK2_GetStatus($)
# Erst die operativen Stati und Parameterenstellungen
if(AttrVal($hash->{NAME}, "firmware", "none") ne "none") {
$attr{$hash->{NAME}}{firmware} = $heatpump_values[81];
if(AttrVal($hash->{NAME}, "firmware", "none") eq "none") {
$attr{$hash->{NAME}}{firmware} = chr($heatpump_values[81]);
for(my $fi=82; $fi<91; $fi++) {
$attr{$hash->{NAME}}{firmware} .= $heatpump_values[$fi];
$attr{$hash->{NAME}}{firmware} .= chr($heatpump_values[$fi]);
}
}