add condition in Fn EventProcessingGeneral
to differentiate ASC device and other sensor device in NOTIFYDEV
This commit is contained in:
parent
3f8397a6a2
commit
5df984048d
@ -1,8 +1,8 @@
|
|||||||
UPD 2020-07-04_11:01:19 96885 FHEM/73_AutoShuttersControl.pm
|
UPD 2020-07-04_11:24:56 96885 FHEM/73_AutoShuttersControl.pm
|
||||||
UPD 2020-07-04_11:13:41 188533 lib/FHEM/Automation/ShuttersControl.pm
|
UPD 2020-07-06_09:31:49 188612 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-04_11:01:19 2493 lib/FHEM/Automation/ShuttersControl/Roommate.pm
|
UPD 2020-07-04_11:24:56 2493 lib/FHEM/Automation/ShuttersControl/Roommate.pm
|
||||||
UPD 2020-07-04_11:01:19 30157 lib/FHEM/Automation/ShuttersControl/Shutters.pm
|
UPD 2020-07-04_11:24:56 30157 lib/FHEM/Automation/ShuttersControl/Shutters.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
|
||||||
UPD 2020-06-22_09:41:40 11454 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
|
UPD 2020-06-22_09:41:40 11454 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
|
||||||
UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm
|
UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm
|
||||||
|
@ -519,12 +519,7 @@ sub EventProcessingGeneral {
|
|||||||
while ( my ( $device, $deviceAttr ) =
|
while ( my ( $device, $deviceAttr ) =
|
||||||
each %{ $hash->{monitoredDevs}{$devname} } )
|
each %{ $hash->{monitoredDevs}{$devname} } )
|
||||||
{
|
{
|
||||||
EventProcessingWindowRec( $hash, $device, $events )
|
if ( $devname eq $name ) {
|
||||||
if ( $deviceAttr eq 'ASC_WindowRec' )
|
|
||||||
; # ist es ein Fensterdevice wird die Funktion gestartet
|
|
||||||
EventProcessingRoommate( $hash, $device, $events )
|
|
||||||
if ( $deviceAttr eq 'ASC_Roommate_Device' )
|
|
||||||
; # ist es ein Bewohner Device wird diese Funktion gestartet
|
|
||||||
EventProcessingResidents( $hash, $device, $events )
|
EventProcessingResidents( $hash, $device, $events )
|
||||||
if ( $deviceAttr eq 'ASC_residentsDev' );
|
if ( $deviceAttr eq 'ASC_residentsDev' );
|
||||||
EventProcessingRain( $hash, $device, $events )
|
EventProcessingRain( $hash, $device, $events )
|
||||||
@ -533,6 +528,15 @@ sub EventProcessingGeneral {
|
|||||||
if ( $deviceAttr eq 'ASC_windSensor' );
|
if ( $deviceAttr eq 'ASC_windSensor' );
|
||||||
EventProcessingTwilightDevice( $hash, $device, $events )
|
EventProcessingTwilightDevice( $hash, $device, $events )
|
||||||
if ( $deviceAttr eq 'ASC_twilightDevice' );
|
if ( $deviceAttr eq 'ASC_twilightDevice' );
|
||||||
|
}
|
||||||
|
|
||||||
|
EventProcessingWindowRec( $hash, $device, $events )
|
||||||
|
if ( $deviceAttr eq 'ASC_WindowRec' )
|
||||||
|
; # ist es ein Fensterdevice wird die Funktion gestartet
|
||||||
|
EventProcessingRoommate( $hash, $device, $events )
|
||||||
|
if ( $deviceAttr eq 'ASC_Roommate_Device' )
|
||||||
|
; # ist es ein Bewohner Device wird diese Funktion gestartet
|
||||||
|
|
||||||
EventProcessingExternalTriggerDevice( $hash, $device, $events )
|
EventProcessingExternalTriggerDevice( $hash, $device, $events )
|
||||||
if ( $deviceAttr eq 'ASC_ExternalTrigger' );
|
if ( $deviceAttr eq 'ASC_ExternalTrigger' );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user