patch_ic24 #69

Merged
marko merged 88 commits from patch_ic24 into dev 2022-07-12 17:35:25 +00:00
3 changed files with 9 additions and 6 deletions
Showing only changes of commit bbf9919ad3 - Show all commits

View File

@ -1 +1 @@
scheduling if event != '' [alpha] - extendedState - fix next irrigation and irregation left time

View File

@ -756,10 +756,13 @@ sub WriteReadings {
$decode_json->{abilities}[$abilities]{name} . '-' $decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name} . $propertie->{name}
. '_irrigation_left', . '_irrigation_left',
sprintf("%.f" ,(RigReadingsValue( sprintf("%.f" ,
$hash,
$decode_json->{abilities}[$abilities]{timestamp} Time::Piece::localtime->strptime(
"%Y-%m-%d %H:%M:%S")+($propertie->{value}{duration} + 3 )) - Time::Piece::localtime->new ) RigReadingsValue(
$hash,
$decode_json->{abilities}[$abilities]{timestamp}),
"%Y-%m-%d %H:%M:%S") +($propertie->{value}{duration} + 3 ) - Time::Piece::localtime->new )
) )
if ( defined( $propertie->{value} ) if ( defined( $propertie->{value} )
&& $decode_json->{abilities}[$abilities]{name} eq 'watering' && $decode_json->{abilities}[$abilities]{name} eq 'watering'

View File

@ -1,2 +1,2 @@
UPD 2022-06-21_08:17:57 49520 FHEM/73_GardenaSmartBridge.pm UPD 2022-06-21_08:17:57 49520 FHEM/73_GardenaSmartBridge.pm
UPD 2022-06-23_11:30:43 70219 FHEM/74_GardenaSmartDevice.pm UPD 2022-06-23_11:36:38 70324 FHEM/74_GardenaSmartDevice.pm