Compare commits
	
		
			185 Commits
		
	
	
		
			v2.4.7
			...
			aea73bb010
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| aea73bb010 | |||
| 
						 | 
					b61c32a850 | ||
| 
						 | 
					8c49aaa079 | ||
| 
						 | 
					1f54fc7601 | ||
| 
						 | 
					3dd4796e14 | ||
| 
						 | 
					7b188e3e41 | ||
| c2863d9998 | |||
| 
						 | 
					76a7eeb4e5 | ||
| 
						 | 
					388ae1635e | ||
| 
						 | 
					d660366aea | ||
| 
						 | 
					8b9ce793cd | ||
| 
						 | 
					71b435d90b | ||
| 
						 | 
					c86cae74e6 | ||
| 
						 | 
					8ce2980356 | ||
| 
						 | 
					0d29721111 | ||
| 
						 | 
					ade45510ac | ||
| 
						 | 
					8a32c9f215 | ||
| 
						 | 
					78b5731bbf | ||
| 
						 | 
					0ee95be7be | ||
| 
						 | 
					bae27c39c1 | ||
| 
						 | 
					47804c996b | ||
| 
						 | 
					6a7083f6ea | ||
| 
						 | 
					ada7e2875c | ||
| 
						 | 
					658f40e979 | ||
| 
						 | 
					1c7097e476 | ||
| 
						 | 
					e363b45862 | ||
| 
						 | 
					11c5e6650d | ||
| 
						 | 
					4b998d19ab | ||
| 
						 | 
					7f6c7bc265 | ||
| 
						 | 
					e108afda5a | ||
| 
						 | 
					a13c42f08c | ||
| 
						 | 
					df33172650 | ||
| 
						 | 
					f3d153726b | ||
| 
						 | 
					33a10d3756 | ||
| 
						 | 
					abcccefeb4 | ||
| 
						 | 
					f61e9d327b | ||
| 42afa2133e | |||
| 
						 | 
					6aba15caca | ||
| 1abf586f71 | |||
| f02da0c428 | |||
| fd4ac49f59 | |||
| 73d7c50db0 | |||
| f5ec4f699a | |||
| 
						 | 
					f2400a3949 | ||
| 
						 | 
					63443d75b4 | ||
| 
						 | 
					5e87026852 | ||
| 
						 | 
					c6ee46489b | ||
| 
						 | 
					97540ef9c4 | ||
| 
						 | 
					0c75c89cf0 | ||
| 
						 | 
					93d0ef26c7 | ||
| 
						 | 
					9b49c75317 | ||
| 
						 | 
					5e10125a09 | ||
| 
						 | 
					9e389681f0 | ||
| 
						 | 
					5b8bd75c55 | ||
| 
						 | 
					f77f49b7f1 | ||
| 
						 | 
					43d9356d8c | ||
| 
						 | 
					41c226536f | ||
| 
						 | 
					ec88be0b06 | ||
| 
						 | 
					8ce72c5ddc | ||
| 
						 | 
					9643a9074f | ||
| 
						 | 
					6f1eebcf48 | ||
| 
						 | 
					c084fabc92 | ||
| 188f5d3838 | |||
| 9d70fa238a | |||
| 740effe531 | |||
| 426fb7c06a | |||
| 
						 | 
					782ad5f0a9 | ||
| 41ef5cd10a | |||
| 
						 | 
					6d684ade92 | ||
| 
						 | 
					bc4b6eecf5 | ||
| 
						 | 
					e8c2bd5183 | ||
| 
						 | 
					967ec86ea1 | ||
| 
						 | 
					0086f52d74 | ||
| 
						 | 
					54b378d094 | ||
| 
						 | 
					200751b72b | ||
| 
						 | 
					7cefd1c7e3 | ||
| 
						 | 
					ee0c7fa4ba | ||
| 
						 | 
					ae3bf5f68a | ||
| 
						 | 
					929bd705d5 | ||
| 
						 | 
					9b1170a978 | ||
| 
						 | 
					2a5872002f | ||
| 
						 | 
					1b7670f8c5 | ||
| 768a5a6d7a | |||
| 
						 | 
					2eefd813df | ||
| 
						 | 
					197dba15f1 | ||
| 
						 | 
					8dd9771033 | ||
| 
						 | 
					a4a75ab016 | ||
| 
						 | 
					2cbe907db4 | ||
| 
						 | 
					af3dee00a2 | ||
| 
						 | 
					c9b1e470cb | ||
| 
						 | 
					458edffa85 | ||
| 
						 | 
					930e42835b | ||
| 
						 | 
					d3020ded2c | ||
| 
						 | 
					97f55e6122 | ||
| 
						 | 
					9f9722ce9c | ||
| 
						 | 
					6ce4b352b4 | ||
| 
						 | 
					b3d39a6e58 | ||
| 
						 | 
					3780befa7a | ||
| 
						 | 
					c68f35c2e3 | ||
| 
						 | 
					830e5426d6 | ||
| 
						 | 
					bbf9919ad3 | ||
| 
						 | 
					ab2e990ffb | ||
| 
						 | 
					df99f04e6e | ||
| 
						 | 
					91ff06ea79 | ||
| 
						 | 
					0c3db5e445 | ||
| 
						 | 
					9ffde3bd2c | ||
| 
						 | 
					3326b134a8 | ||
| 
						 | 
					f8b4df8f4f | ||
| 
						 | 
					5bf618a9d2 | ||
| 
						 | 
					9a85c9c20d | ||
| 
						 | 
					86b679ba97 | ||
| 
						 | 
					a4865cae47 | ||
| 
						 | 
					b6a179a0ea | ||
| 
						 | 
					4666020263 | ||
| 
						 | 
					576569ea2d | ||
| 
						 | 
					ae4e1b9990 | ||
| 
						 | 
					c07f757c4a | ||
| 
						 | 
					6faccfe564 | ||
| 
						 | 
					9505316291 | ||
| 
						 | 
					c76fd125ec | ||
| 
						 | 
					3b28a20b33 | ||
| 
						 | 
					8002d2a1d3 | ||
| 
						 | 
					6b475415cc | ||
| 
						 | 
					40074a3db6 | ||
| 234607cb8d | |||
| 
						 | 
					9ad11bff63 | ||
| 
						 | 
					0849705c62 | ||
| 
						 | 
					6490c2f1be | ||
| 
						 | 
					d863cbeff0 | ||
| 
						 | 
					d04ea31ef0 | ||
| 
						 | 
					33fddad023 | ||
| 
						 | 
					b620f87eb1 | ||
| 
						 | 
					97b4147072 | ||
| 
						 | 
					bd3d354786 | ||
| 
						 | 
					b230baa776 | ||
| 
						 | 
					4e6ca5f8ed | ||
| 
						 | 
					d6e6847955 | ||
| 
						 | 
					c551f4855f | ||
| 
						 | 
					15c791e1bf | ||
| 
						 | 
					af2f803be5 | ||
| 
						 | 
					91fd570896 | ||
| 
						 | 
					0e876c319c | ||
| 
						 | 
					122983580f | ||
| 
						 | 
					948f68515c | ||
| 
						 | 
					528e8d5a08 | ||
| 
						 | 
					b7adf6af6d | ||
| 
						 | 
					a8646efe0d | ||
| 
						 | 
					480946f9be | ||
| 
						 | 
					c3620aa017 | ||
| 
						 | 
					43bf81053b | ||
| 
						 | 
					b4f5cef061 | ||
| 
						 | 
					58333bef34 | ||
| 
						 | 
					0beab4ec1d | ||
| 
						 | 
					4860b7e0ee | ||
| 
						 | 
					bf6734f44b | ||
| 
						 | 
					a1fad78c3b | ||
| 
						 | 
					bfbf2cced4 | ||
| 
						 | 
					78e9906e6b | ||
| 
						 | 
					8d03f20b57 | ||
| 
						 | 
					83b9a4347c | ||
| 
						 | 
					b197fbd082 | ||
| 
						 | 
					29869e9b08 | ||
| 
						 | 
					d61e06e0e9 | ||
| 
						 | 
					6b87b19f0d | ||
| c87d8e9302 | |||
| 8afc912ed5 | |||
| b06c9acda3 | |||
| 
						 | 
					a56dfe6a2d | ||
| 
						 | 
					17b4182abe | ||
| 
						 | 
					9f19ed8817 | ||
| 
						 | 
					cea5741fb8 | ||
| 
						 | 
					5661ef3e59 | ||
| 
						 | 
					40c7318992 | ||
| 
						 | 
					9bdeb2ac19 | ||
| 
						 | 
					e64f8fd0a4 | ||
| 
						 | 
					a193c6f814 | ||
| 
						 | 
					d1b04b6a74 | ||
| 
						 | 
					7113e9974e | ||
| 
						 | 
					7c074adbb9 | ||
| 
						 | 
					462311836f | ||
| 
						 | 
					c553b8ef8f | ||
| 
						 | 
					1d75b5cc77 | ||
| 
						 | 
					f2c840bedc | ||
| 
						 | 
					b6c5f42acc | ||
| 
						 | 
					65cbeba975 | 
@@ -414,7 +414,6 @@ sub Set {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if ( lc $cmd eq 'getdevicesstate' ) {
 | 
					    if ( lc $cmd eq 'getdevicesstate' ) {
 | 
				
			||||||
        getDevices($hash);
 | 
					        getDevices($hash);
 | 
				
			||||||
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    elsif ( lc $cmd eq 'gettoken' ) {
 | 
					    elsif ( lc $cmd eq 'gettoken' ) {
 | 
				
			||||||
        return "please set Attribut gardenaAccountEmail first"
 | 
					        return "please set Attribut gardenaAccountEmail first"
 | 
				
			||||||
@@ -438,6 +437,13 @@ sub Set {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        DeletePassword($hash);
 | 
					        DeletePassword($hash);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    elsif ( lc $cmd eq 'debughelper') {
 | 
				
			||||||
 | 
					      return "usage: $cmd" if ( scalar( @{$aArg} ) != 2 );
 | 
				
			||||||
 | 
					      my $new_helper = $aArg->[0];
 | 
				
			||||||
 | 
					      my $new_helper_value = $aArg->[1];
 | 
				
			||||||
 | 
					      Log3( $name, 5, "[DEBUG] - GardenaSmartBridge ($name) - override helper $new_helper with $new_helper_value");
 | 
				
			||||||
 | 
					      $hash->{helper}{$new_helper} = $new_helper_value;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    else {
 | 
					    else {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        my $list = "getDevicesState:noArg getToken:noArg"
 | 
					        my $list = "getDevicesState:noArg getToken:noArg"
 | 
				
			||||||
@@ -520,7 +526,6 @@ sub ErrorHandling {
 | 
				
			|||||||
                1 );
 | 
					                1 );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if ( $err =~ /timed out/ ) {
 | 
					            if ( $err =~ /timed out/ ) {
 | 
				
			||||||
 | 
					 | 
				
			||||||
                Log3 $dname, 5,
 | 
					                Log3 $dname, 5,
 | 
				
			||||||
"GardenaSmartBridge ($dname) - RequestERROR: connect to gardena cloud is timed out. check network";
 | 
					"GardenaSmartBridge ($dname) - RequestERROR: connect to gardena cloud is timed out. check network";
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
@@ -607,6 +612,7 @@ sub ErrorHandling {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if (
 | 
					    if (
 | 
				
			||||||
        $data =~ /Error/
 | 
					        $data =~ /Error/
 | 
				
			||||||
 | 
					        && $data !~ /lastLonaErrorCode/
 | 
				
			||||||
        || (   defined($decode_json)
 | 
					        || (   defined($decode_json)
 | 
				
			||||||
            && ref($decode_json) eq 'HASH'
 | 
					            && ref($decode_json) eq 'HASH'
 | 
				
			||||||
            && defined( $decode_json->{errors} ) )
 | 
					            && defined( $decode_json->{errors} ) )
 | 
				
			||||||
@@ -731,7 +737,7 @@ sub ErrorHandling {
 | 
				
			|||||||
        my $i = 0;
 | 
					        my $i = 0;
 | 
				
			||||||
        for my $dev_settings ( @{ $devJson->{settings} } ) {
 | 
					        for my $dev_settings ( @{ $devJson->{settings} } ) {
 | 
				
			||||||
            $output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
 | 
					            $output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
 | 
				
			||||||
            $output .= "name: $dev_settings->{name} ";
 | 
					            $output .= "name: $dev_settings->{name} \n";
 | 
				
			||||||
            if (   ref( $dev_settings->{value} ) eq 'ARRAY'
 | 
					            if (   ref( $dev_settings->{value} ) eq 'ARRAY'
 | 
				
			||||||
                || ref( $dev_settings->{value} ) eq 'HASH' )
 | 
					                || ref( $dev_settings->{value} ) eq 'HASH' )
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
@@ -747,16 +753,7 @@ sub ErrorHandling {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        for my $dev_settings ( @{ $devJson->{abilities} } ) {
 | 
					        for my $dev_settings ( @{ $devJson->{abilities} } ) {
 | 
				
			||||||
            $output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
 | 
					            $output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
 | 
				
			||||||
            $output .= "name: $dev_settings->{name} ";
 | 
					            $output .= "name: $dev_settings->{name} \n";
 | 
				
			||||||
 | 
					 | 
				
			||||||
            if (   ref( $dev_settings->{value} ) eq 'ARRAY'
 | 
					 | 
				
			||||||
                || ref( $dev_settings->{value} ) eq 'HASH' )
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                $output .= 'N/A \n';
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
            else {
 | 
					 | 
				
			||||||
                $output .= "value: $dev_settings->{value} \n";
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $hash->{helper}{debug_device_output} = $output;
 | 
					        $hash->{helper}{debug_device_output} = $output;
 | 
				
			||||||
@@ -1577,7 +1574,7 @@ sub DeletePassword {
 | 
				
			|||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "release_status": "stable",
 | 
					  "release_status": "stable",
 | 
				
			||||||
  "license": "GPL_2",
 | 
					  "license": "GPL_2",
 | 
				
			||||||
  "version": "v2.4.7",
 | 
					  "version": "v2.5.2",
 | 
				
			||||||
  "author": [
 | 
					  "author": [
 | 
				
			||||||
    "Marko Oldenburg <fhemdevelopment@cooltux.net>"
 | 
					    "Marko Oldenburg <fhemdevelopment@cooltux.net>"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,2 +1,2 @@
 | 
				
			|||||||
UPD 2022-02-01_18:41:32 49520 FHEM/73_GardenaSmartBridge.pm
 | 
					UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
 | 
				
			||||||
UPD 2022-02-09_13:50:50 57267 FHEM/74_GardenaSmartDevice.pm
 | 
					UPD 2022-09-06_12:31:38 123049 FHEM/74_GardenaSmartDevice.pm
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user