add feature
isNotDay and all condition for shading is true. shutter drive in the morning from ClosedPos to Shading Pos
This commit is contained in:
		| @@ -1,9 +1,9 @@ | |||||||
| UPD 2020-09-04_08:31:12 97596 FHEM/73_AutoShuttersControl.pm | UPD 2020-09-04_08:35:38 97596 FHEM/73_AutoShuttersControl.pm | ||||||
| UPD 2020-09-04_08:30:42 74066 lib/FHEM/Automation/ShuttersControl.pm | UPD 2020-09-04_08:35:38 74066 lib/FHEM/Automation/ShuttersControl.pm | ||||||
| UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm | UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm | ||||||
| UPD 2020-07-26_17:36:29 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm | UPD 2020-07-26_17:36:29 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm | ||||||
| UPD 2020-08-12_11:00:05 31376 lib/FHEM/Automation/ShuttersControl/Shutters.pm | UPD 2020-08-12_11:00:05 31376 lib/FHEM/Automation/ShuttersControl/Shutters.pm | ||||||
| UPD 2020-08-20_11:35:52 24225 lib/FHEM/Automation/ShuttersControl/Shading.pm | UPD 2020-09-04_14:25:50 24589 lib/FHEM/Automation/ShuttersControl/Shading.pm | ||||||
| UPD 2020-08-06_14:32:42 109110 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm | UPD 2020-08-06_14:32:42 109110 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm | ||||||
| UPD 2020-08-18_08:40:35 45518 lib/FHEM/Automation/ShuttersControl/Helper.pm | UPD 2020-08-18_08:40:35 45518 lib/FHEM/Automation/ShuttersControl/Helper.pm | ||||||
| UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm | UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm | ||||||
|   | |||||||
| @@ -294,7 +294,9 @@ sub ShadingProcessing { | |||||||
|             ->getShadingMinOutsideTemperature - 4 |             ->getShadingMinOutsideTemperature - 4 | ||||||
|             || $azimuth < $azimuthLeft |             || $azimuth < $azimuthLeft | ||||||
|             || $azimuth > $azimuthRight |             || $azimuth > $azimuthRight | ||||||
|             || !$FHEM::Automation::ShuttersControl::shutters->getIsDay |             || (   !$FHEM::Automation::ShuttersControl::shutters->getIsDay | ||||||
|  |                 && $FHEM::Automation::ShuttersControl::shutters->getSunriseUnixTime | ||||||
|  |                   - ( int( gettimeofday() ) ) > 7200 ) | ||||||
|         ) |         ) | ||||||
|         && $FHEM::Automation::ShuttersControl::shutters->getShadingStatus ne |         && $FHEM::Automation::ShuttersControl::shutters->getShadingStatus ne | ||||||
|         'out' |         'out' | ||||||
| @@ -533,6 +535,11 @@ sub ShadingProcessingDriveCommand { | |||||||
|             && $marker |             && $marker | ||||||
|             ) |             ) | ||||||
|           ) |           ) | ||||||
|  |         && ( $getStatus != $FHEM::Automation::ShuttersControl::shutters->getSleepPos | ||||||
|  |           || ( $getStatus == $FHEM::Automation::ShuttersControl::shutters->getSleepPos | ||||||
|  |             && $marker | ||||||
|  |             ) | ||||||
|  |           ) | ||||||
|         && ( |         && ( | ||||||
|             FHEM::Automation::ShuttersControl::CheckIfShuttersWindowRecOpen( |             FHEM::Automation::ShuttersControl::CheckIfShuttersWindowRecOpen( | ||||||
|                 $shuttersDev) != 2 |                 $shuttersDev) != 2 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user