mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 19:32:42 +00:00
70_DENON_AVR: fixed HTTP 403 (thx justme1968)
git-svn-id: https://svn.fhem.de/fhem/trunk@21632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0601d837fe
commit
b64b1dca97
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 70_DENON_AVR: fixed HTTP 403 (thx justme1968)
|
||||||
- bugfix : 73_AutoShuttersControl: fix shading drive if current position under
|
- bugfix : 73_AutoShuttersControl: fix shading drive if current position under
|
||||||
shading position
|
shading position
|
||||||
- feature: 37_echodevice.pm
|
- feature: 37_echodevice.pm
|
||||||
|
@ -1002,7 +1002,10 @@ sub DENON_AVR_ParseDeviceinfoResponse {
|
|||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
my $return;
|
my $return;
|
||||||
|
|
||||||
if($err ne "") {
|
if($err ne '' || $data =~ m/Error 403/) {
|
||||||
|
if ( $err eq '' ) {
|
||||||
|
$err = 'Error 403: Forbidden';
|
||||||
|
}
|
||||||
Log3 $name, 0, "DENON_AVR ($name) - Error while requesting ".$param->{url}." - $err";
|
Log3 $name, 0, "DENON_AVR ($name) - Error while requesting ".$param->{url}." - $err";
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
readingsBulkUpdate($hash, 'httpState', 'ERROR', 0);
|
readingsBulkUpdate($hash, 'httpState', 'ERROR', 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user