FRITZBOX: bugfix AVM wird wieder erkannt

git-svn-id: https://svn.fhem.de/fhem/trunk@8367 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tpoitzsch
2015-04-03 18:05:51 +00:00
parent ccc529485e
commit 707f8abb31

View File

@@ -783,15 +783,16 @@ sub FRITZBOX_Readout_Run($)
for (0..$dectCount-1)
{
my $offset = $_ * 12;
my $intern = $resultArray->[ $offset + 11];
my $intern = $resultArray->[ $offset];
my $user = $resultArray->[ $offset + 11];
if ( $intern )
{
push @readoutReadings, "fhem->$intern->name|" . $resultArray->[ $offset + 1 ];
push @readoutReadings, "fhem->$intern->brand|" . $resultArray->[ $offset + 2 ];
push @readoutReadings, "dect".$intern."_manufacturer|" . $resultArray->[ $offset + 2 ];
push @readoutReadings, "dect".$intern."_fwVersion|" . $resultArray->[ $offset + 9 ];
push @readoutReadings, "dect".$user."_manufacturer|" . $resultArray->[ $offset + 2 ];
push @readoutReadings, "dect".$user."_fwVersion|" . $resultArray->[ $offset + 9 ];
push @readoutReadings, "fhem->$intern->model|" . FRITZBOX_Readout_Format($hash, "model", $resultArray->[ $offset + 10 ] );
push @readoutReadings, "dect".$intern."_model|" . FRITZBOX_Readout_Format($hash, "model", $resultArray->[ $offset + 10 ] );
push @readoutReadings, "dect".$user."_model|" . FRITZBOX_Readout_Format($hash, "model", $resultArray->[ $offset + 10 ] );
}
}