change GetCallBridgeAlive Endpoint because of a bug
https://developer.nuki.io/t/support-for-new-smart-lock-3-0-3-0-pro/12842/12?u=leongaultier
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
UPD 2021-11-28_07:42:24 9217 FHEM/73_NUKIBridge.pm
 | 
					UPD 2021-12-05_12:10:05 9217 FHEM/73_NUKIBridge.pm
 | 
				
			||||||
UPD 2021-11-28_07:34:18 7569 FHEM/74_NUKIDevice.pm
 | 
					UPD 2021-12-05_12:10:05 7569 FHEM/74_NUKIDevice.pm
 | 
				
			||||||
UPD 2021-11-28_17:41:45 41131 lib/FHEM/Devices/Nuki/Bridge.pm
 | 
					UPD 2021-12-05_12:14:27 40875 lib/FHEM/Devices/Nuki/Bridge.pm
 | 
				
			||||||
UPD 2021-11-28_07:42:24 15802 lib/FHEM/Devices/Nuki/Device.pm
 | 
					UPD 2021-12-05_12:10:05 15802 lib/FHEM/Devices/Nuki/Device.pm
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -503,15 +503,7 @@ sub GetCheckBridgeAlive {
 | 
				
			|||||||
    if ( !::IsDisabled($name)
 | 
					    if ( !::IsDisabled($name)
 | 
				
			||||||
        && $hash->{helper}->{iowrite} == 0 )
 | 
					        && $hash->{helper}->{iowrite} == 0 )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        if ( $hash->{helper}->{runInfo} == 0 ) {
 | 
					 | 
				
			||||||
            Write( $hash, 'info', undef );
 | 
					 | 
				
			||||||
            $hash->{helper}->{runInfo} = 1;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        else {
 | 
					 | 
				
			||||||
        Write( $hash, 'list', undef );
 | 
					        Write( $hash, 'list', undef );
 | 
				
			||||||
            $hash->{helper}->{runInfo} = 0;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        ::Log3( $name, 4, "NUKIBridge ($name) - run Write" );
 | 
					        ::Log3( $name, 4, "NUKIBridge ($name) - run Write" );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -530,7 +522,6 @@ sub FirstRun {
 | 
				
			|||||||
    Write( $hash, 'list', undef )
 | 
					    Write( $hash, 'list', undef )
 | 
				
			||||||
      if ( !::IsDisabled($name) );
 | 
					      if ( !::IsDisabled($name) );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $hash->{helper}->{runInfo} = 0;
 | 
					 | 
				
			||||||
    ::readingsSingleUpdate( $hash, 'configAuthSuccess', 'unknown', 0 )
 | 
					    ::readingsSingleUpdate( $hash, 'configAuthSuccess', 'unknown', 0 )
 | 
				
			||||||
      if ( ::ReadingsVal( $name, 'configAuthSuccess', 'none' ) eq 'none' );
 | 
					      if ( ::ReadingsVal( $name, 'configAuthSuccess', 'none' ) eq 'none' );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user