mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
FRITZBOX: LUAQUERY=1 by response code 403 forbidden
git-svn-id: https://svn.fhem.de/fhem/trunk@13697 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8dbc20a5ae
commit
dfac3c0aba
@ -749,7 +749,7 @@ sub FRITZBOX_API_Check_Run($)
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "->LUAQUERY", 1;
|
||||
FRITZBOX_Log $hash, 4, "API luaQuery found (".$response->code.").";
|
||||
}
|
||||
elsif ($response->code eq "500") {
|
||||
elsif ($response->code eq "500" || $response->code eq "403") {
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "->LUAQUERY", 1;
|
||||
FRITZBOX_Log $hash, 4, "API luaQuery found but responded with: ".$response->status_line;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user