2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 12:46:03 +00:00

FRITZBOX: reading box_tr064

git-svn-id: https://svn.fhem.de/fhem/trunk@8857 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tpoitzsch 2015-06-28 19:40:30 +00:00
parent eda2bc76ba
commit e247dc43ce

View File

@ -1163,6 +1163,7 @@ sub FRITZBOX_Readout_Run_Web($)
$queryStr .= "&box_fwVersion=logic:status/nspver"; # FW Version $queryStr .= "&box_fwVersion=logic:status/nspver"; # FW Version
$queryStr .= "&box_powerRate=power:status/rate_sumact"; # Power Rate $queryStr .= "&box_powerRate=power:status/rate_sumact"; # Power Rate
$queryStr .= "&tam=tam:settings/TAM/list(Name,Display,Active,NumNewMessages,NumOldMessages)"; # TAM $queryStr .= "&tam=tam:settings/TAM/list(Name,Display,Active,NumNewMessages,NumOldMessages)"; # TAM
$queryStr .= "&box_tr064=tr064:settings/enabled"; # TR064
$queryStr .= "&box_tr069=tr069:settings/enabled"; # TR069 $queryStr .= "&box_tr069=tr069:settings/enabled"; # TR069
$queryStr .= "&box_fwUpdate=updatecheck:status/update_available_hint"; $queryStr .= "&box_fwUpdate=updatecheck:status/update_available_hint";
$queryStr .= "&userProfil=user:settings/user/list(name,filter_profile_UID,this_month_time,today_time,type)"; # User profiles $queryStr .= "&userProfil=user:settings/user/list(name,filter_profile_UID,this_month_time,today_time,type)"; # User profiles
@ -1277,6 +1278,7 @@ sub FRITZBOX_Readout_Run_Web($)
# Box model and firmware # Box model and firmware
FRITZBOX_Readout_Add_Reading ( $hash, \@roReadings, "box_fwVersion", $result->{box_fwVersion} ); FRITZBOX_Readout_Add_Reading ( $hash, \@roReadings, "box_fwVersion", $result->{box_fwVersion} );
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_fwUpdate", $result->{box_fwUpdate}; FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_fwUpdate", $result->{box_fwUpdate};
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_tr064", $result->{box_tr064}, "onoff";
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_tr069", $result->{box_tr069}, "onoff"; FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_tr069", $result->{box_tr069}, "onoff";
# Alarm clock # Alarm clock
@ -3582,7 +3584,7 @@ sub FRITZBOX_TR064_Cmd($$$)
push @soapParams, SOAP::Data->name( $_ => $params{$_} ); push @soapParams, SOAP::Data->name( $_ => $params{$_} );
} }
FRITZBOX_Log $hash, 4, "Perform TR064 call - ".$logMsg; FRITZBOX_Log $hash, 4, "Perform TR-064 call - ".$logMsg;
my $s = SOAP::Lite my $s = SOAP::Lite
-> uri("urn:dslforum-org:service:".$service) -> uri("urn:dslforum-org:service:".$service)