Anpassungen am httpnonblicking und httpblocking
This commit is contained in:
		@@ -374,10 +374,8 @@ sub NUKIBridge_Call($$$$$) {
 | 
				
			|||||||
	    hash       => $hash,
 | 
						    hash       => $hash,
 | 
				
			||||||
	    chash      => $chash,
 | 
						    chash      => $chash,
 | 
				
			||||||
	    endpoint   => $path,
 | 
						    endpoint   => $path,
 | 
				
			||||||
	    header     => "agent: FHEM/1.0\r\nUser-Agent: FHEM/1.0\r\nAccept: application/json",
 | 
						    header     => "Accept: application/json",
 | 
				
			||||||
	    method     => "GET",
 | 
						    method     => "GET",
 | 
				
			||||||
	    doTrigger  => 1,
 | 
					 | 
				
			||||||
	    noshutdown => 1,
 | 
					 | 
				
			||||||
	    callback   => \&NUKIBridge_Distribution,
 | 
						    callback   => \&NUKIBridge_Distribution,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
@@ -398,7 +396,9 @@ sub NUKIBridge_Distribution($$$) {
 | 
				
			|||||||
    Log3 $name, 3, "NUKIBridge ($name) - Param Alive: $param->{alive}";
 | 
					    Log3 $name, 3, "NUKIBridge ($name) - Param Alive: $param->{alive}";
 | 
				
			||||||
    Log3 $name, 3, "NUKIBridge ($name) - Param Code: $param->{code}";
 | 
					    Log3 $name, 3, "NUKIBridge ($name) - Param Code: $param->{code}";
 | 
				
			||||||
    Log3 $name, 3, "NUKIBridge ($name) - Error: $err";
 | 
					    Log3 $name, 3, "NUKIBridge ($name) - Error: $err";
 | 
				
			||||||
    Log3 $name, 3, "NUKIBridge ($name) - JSON: $json";
 | 
					    Log3 $name, 3, "NUKIBridge ($name) - PATH: $param->{path}";
 | 
				
			||||||
 | 
					    Log3 $name, 3, "NUKIBridge ($name) - httpheader: $param->{httpheader}";
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
@@ -646,7 +646,6 @@ sub NUKIBridge_CallBlocking($$$) {
 | 
				
			|||||||
      url           => $url,
 | 
					      url           => $url,
 | 
				
			||||||
      timeout       => 3,
 | 
					      timeout       => 3,
 | 
				
			||||||
      method        => "GET",
 | 
					      method        => "GET",
 | 
				
			||||||
      noshutdown    => 1,
 | 
					 | 
				
			||||||
      header        => "Content-Type: application/json",
 | 
					      header        => "Content-Type: application/json",
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user