patch_ic24 #69
							
								
								
									
										2
									
								
								CHANGED
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								CHANGED
									
									
									
									
									
								
							@@ -1 +1 @@
 | 
				
			|||||||
    [alpha] - extendetState - irrigation stuff
 | 
					    [alpha] excentedState - fix wc state, add irrigation duration
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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>"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user