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 6 additions and 6 deletions
Showing only changes of commit 458edffa85 - Show all commits

View File

@ -1 +1 @@
[alpha] - extendetState - irrigation stuff [alpha] excentedState - fix wc state, add irrigation duration

View File

@ -753,13 +753,13 @@ sub WriteReadings {
$decode_json->{abilities}[$abilities]{name} . '-' $decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name} . $propertie->{name}
. '_irrigation_left', . '_irrigation_left',
(Time::Piece::localtime->strptime( ( $propertie->{value}{duration} > 0 ) ? (Time::Piece::localtime->strptime(
RigReadingsValue($hash, $propertie->{timestamp}), "%Y-%m-%d %H:%M:%S") RigReadingsValue($hash, $propertie->{timestamp}), "%Y-%m-%d %H:%M:%S")
+ ($propertie->{value}{duration} + 3 ) - Time::Piece::localtime->new) + ($propertie->{value}{duration} + 3 ) - Time::Piece::localtime->new) : 0
) )
if ( defined( $propertie->{value} ) if ( defined( $propertie->{value} )
&& $decode_json->{abilities}[$abilities]{name} eq 'watering' && $decode_json->{abilities}[$abilities]{name} eq 'watering'
&& $propertie->{value}{duration} > 0 ); );
} }
} }
@ -1662,7 +1662,7 @@ sub SetPredefinedStartPoints {
], ],
"release_status": "stable", "release_status": "stable",
"license": "GPL_2", "license": "GPL_2",
"version": "v2.4.4", "version": "v2.5.3",
"author": [ "author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>" "Marko Oldenburg <fhemdevelopment@cooltux.net>"
], ],

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_12:54:46 69289 FHEM/74_GardenaSmartDevice.pm UPD 2022-06-23_13:33:10 69293 FHEM/74_GardenaSmartDevice.pm