add some function
This commit is contained in:
parent
6f0aee2a69
commit
b6866dd44a
@ -485,7 +485,8 @@ sub Write {
|
||||
HttpUtils_NonblockingGet(
|
||||
{
|
||||
url => $hash->{URL} . $uri,
|
||||
timeout => 15,
|
||||
timeout => 45,
|
||||
incrementalTimeout => 1,
|
||||
hash => $hash,
|
||||
device_id => $deviceId,
|
||||
data => $payload,
|
||||
@ -501,8 +502,8 @@ sub Write {
|
||||
"GardenaSmartBridge ($name) - Send with URL: $hash->{URL}$uri, HEADER: secret!, DATA: secret!, METHOD: $method"
|
||||
);
|
||||
|
||||
# Log3($name, 3,
|
||||
# "GardenaSmartBridge ($name) - Send with URL: $hash->{URL}$uri, HEADER: $header, DATA: $payload, METHOD: $method");
|
||||
Log3($name, 3,
|
||||
"GardenaSmartBridge ($name) - Send with URL: $hash->{URL}$uri, HEADER: $header, DATA: $payload, METHOD: $method");
|
||||
|
||||
return;
|
||||
}
|
||||
@ -535,6 +536,8 @@ sub ErrorHandling {
|
||||
readingsBulkUpdate( $dhash, "state", "$err" )
|
||||
if ( ReadingsVal( $dname, "state", 1 ) ne "initialized" );
|
||||
|
||||
Log3 $name, 1, "[DEBUG] - Teufelchen 2: ".$decode_json;
|
||||
|
||||
readingsBulkUpdate( $dhash, "lastRequestState", "request_error",
|
||||
1 );
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
UPD 2021-06-19_10:43:30 47068 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2021-06-21_19:24:30 47160 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2021-06-09_09:52:26 55505 FHEM/74_GardenaSmartDevice.pm
|
||||
|
Loading…
x
Reference in New Issue
Block a user