2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 17:36:01 +00:00

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 c8d79e60fc
commit 381112acd0

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 ] );
}
}