mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
AutomowerConnect(Device): add widget selectnumbers to Park and Start setter
git-svn-id: https://svn.fhem.de/fhem/trunk@27154 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dc5f0dcc06
commit
ee33a06556
@ -2,6 +2,7 @@
|
|||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
- feature: 74_AutomowerConnect: reduce readings, new getter for error codes
|
- feature: 74_AutomowerConnect: reduce readings, new getter for error codes
|
||||||
and internal data, show mower path without registered image
|
and internal data, show mower path without registered image
|
||||||
|
add widget selectnumbers to Park and Start setter
|
||||||
- feature: 75_AutomowerConnectDevice: same as AutomowerConnect
|
- feature: 75_AutomowerConnectDevice: same as AutomowerConnect
|
||||||
- feature: 72_FB_CALLMONITOR: tellows.de integriert
|
- feature: 72_FB_CALLMONITOR: tellows.de integriert
|
||||||
kleinere Korrekturen
|
kleinere Korrekturen
|
||||||
|
@ -339,9 +339,6 @@ sub APIAuthResponse {
|
|||||||
readingsBulkUpdateIfChanged($hash,'.token_type',$hash->{helper}{auth}{token_type},0 );
|
readingsBulkUpdateIfChanged($hash,'.token_type',$hash->{helper}{auth}{token_type},0 );
|
||||||
readingsBulkUpdateIfChanged($hash,'.provider',$hash->{helper}{auth}{provider} );
|
readingsBulkUpdateIfChanged($hash,'.provider',$hash->{helper}{auth}{provider} );
|
||||||
|
|
||||||
my $tok = substr($hash->{helper}{auth}{access_token},0,15).'...'.substr($hash->{helper}{auth}{access_token},-15);
|
|
||||||
readingsBulkUpdateIfChanged($hash,'api_token',$tok );
|
|
||||||
|
|
||||||
my $expire_date = FmtDateTime($hash->{helper}{auth}{expires});
|
my $expire_date = FmtDateTime($hash->{helper}{auth}{expires});
|
||||||
readingsBulkUpdateIfChanged($hash,'api_token_expires',$expire_date );
|
readingsBulkUpdateIfChanged($hash,'api_token_expires',$expire_date );
|
||||||
readingsBulkUpdateIfChanged($hash,'state', 'authenticated');
|
readingsBulkUpdateIfChanged($hash,'state', 'authenticated');
|
||||||
@ -792,7 +789,7 @@ sub Set {
|
|||||||
sendCMD($hash,$setName);
|
sendCMD($hash,$setName);
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
my $ret = " getNewAccessToken:noArg ParkUntilFurtherNotice:noArg ParkUntilNextSchedule:noArg Pause:noArg Start Park ResumeSchedule:noArg getUpdate:noArg client_secret ";
|
my $ret = " getNewAccessToken:noArg ParkUntilFurtherNotice:noArg ParkUntilNextSchedule:noArg Pause:noArg Start:selectnumbers,60,60,600,0,lin Park:selectnumbers,60,60,600,0,lin ResumeSchedule:noArg getUpdate:noArg client_secret ";
|
||||||
$ret .= "chargingStationPositionToAttribute:noArg headlight:ALWAYS_OFF,ALWAYS_ON,EVENING_ONLY,EVENING_AND_NIGHT cuttingHeight:1,2,3,4,5,6,7,8,9 mowerScheduleToAttribute:noArg ";
|
$ret .= "chargingStationPositionToAttribute:noArg headlight:ALWAYS_OFF,ALWAYS_ON,EVENING_ONLY,EVENING_AND_NIGHT cuttingHeight:1,2,3,4,5,6,7,8,9 mowerScheduleToAttribute:noArg ";
|
||||||
$ret .= "sendScheduleFromAttributeToMower:noArg ";
|
$ret .= "sendScheduleFromAttributeToMower:noArg ";
|
||||||
return "Unknown argument $setName, choose one of".$ret;
|
return "Unknown argument $setName, choose one of".$ret;
|
||||||
|
@ -583,7 +583,7 @@ sub Set {
|
|||||||
CMD($hash,$setName);
|
CMD($hash,$setName);
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
my $ret = " ParkUntilFurtherNotice:noArg ParkUntilNextSchedule:noArg Pause:noArg Start Park ResumeSchedule:noArg ";
|
my $ret = " ParkUntilFurtherNotice:noArg ParkUntilNextSchedule:noArg Pause:noArg Start:selectnumbers,60,60,600,0,lin Park:selectnumbers,60,60,600,0,lin ResumeSchedule:noArg ";
|
||||||
$ret .= "chargingStationPositionToAttribute:noArg headlight:ALWAYS_OFF,ALWAYS_ON,EVENING_ONLY,EVENING_AND_NIGHT cuttingHeight:1,2,3,4,5,6,7,8,9 mowerScheduleToAttribute:noArg ";
|
$ret .= "chargingStationPositionToAttribute:noArg headlight:ALWAYS_OFF,ALWAYS_ON,EVENING_ONLY,EVENING_AND_NIGHT cuttingHeight:1,2,3,4,5,6,7,8,9 mowerScheduleToAttribute:noArg ";
|
||||||
$ret .= "sendScheduleFromAttributeToMower:noArg ";
|
$ret .= "sendScheduleFromAttributeToMower:noArg ";
|
||||||
return "Unknown argument $setName, choose one of".$ret;
|
return "Unknown argument $setName, choose one of".$ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user