diff --git a/FHEM/73_GardenaSmartBridge.pm b/FHEM/73_GardenaSmartBridge.pm index fe21726..5894a88 100644 --- a/FHEM/73_GardenaSmartBridge.pm +++ b/FHEM/73_GardenaSmartBridge.pm @@ -1315,17 +1315,16 @@ sub createHttpValueStrings { } # park until next schedules or override elsif (defined($abilities) && defined($payload) - && $abilities eq 'mower_timer' ) + && $abilities eq 'mower' ) { my $valve_id; - $method = 'PUT'; - + $uri .= '/devices/' . $deviceId . '/abilities/' . $abilities - . '/properties/mower_timer'; + . '/commands/manual_start'; } elsif (defined($abilities) @@ -1561,7 +1560,7 @@ sub DeletePassword { ], "release_status": "stable", "license": "GPL_2", - "version": "v2.6.1", + "version": "v2.6.2", "author": [ "Marko Oldenburg " ], diff --git a/FHEM/74_GardenaSmartDevice.pm b/FHEM/74_GardenaSmartDevice.pm index 7cff625..d80d4f2 100644 --- a/FHEM/74_GardenaSmartDevice.pm +++ b/FHEM/74_GardenaSmartDevice.pm @@ -324,8 +324,8 @@ sub Set { elsif ( lc $cmd eq 'parkuntilnexttimer' ) { $payload = '"name":"park_until_next_timer"'; if ( $mainboard_version > 10.30 ) { - $payload = '"properties":{"name":"mower_timer","value":0}'; - $abilities = 'mower_timer'; + $payload = '"mowerTimer":0,"startingPointDistance":null,"areaId":null'; + $abilities = 'mower'; } } elsif ( lc $cmd eq 'startresumeschedule' ) { @@ -339,13 +339,13 @@ sub Set { } } elsif ( lc $cmd eq 'startoverridetimer' ) { - $payload = '"name":"start_override_timer","parameters":{"duration":' - . $aArg->[0] * 60 . '}'; - if ( $mainboard_version > 10.30 ) { - $payload = '"properties":{"name":"mower_timer","value":' - . $aArg->[0] * 60 . '}'; - $abilities = 'mower_timer'; - } + # $payload = '"name":"start_override_timer","parameters":{"duration":' + # . $aArg->[0] * 60 . '}'; + # if ( $mainboard_version > 10.30 ) { + $payload = '"startingPointDistance":null,"areaId":null, "mowerTimer": ' + . $aArg->[0] * 60; + $abilities = 'mower'; + # } removed code < 10.30 api changes March 2024 } elsif ( lc $cmd eq 'startpoint' ) { @@ -2684,7 +2684,7 @@ sub SetPredefinedStartPoints { ], "release_status": "stable", "license": "GPL_2", - "version": "v2.6.1", + "version": "v2.6.2", "author": [ "Marko Oldenburg " ], diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index a83fba6..f85b761 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ -UPD 2023-11-28_08:37:01 48890 FHEM/73_GardenaSmartBridge.pm -UPD 2023-11-28_08:49:14 126386 FHEM/74_GardenaSmartDevice.pm +UPD 2024-03-18_10:15:10 48866 FHEM/73_GardenaSmartBridge.pm +UPD 2024-03-17_20:57:32 126450 FHEM/74_GardenaSmartDevice.pm