mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 14:47:00 +00:00
73_AutoShuttersControl: add condition in Fn EventProcessingGeneral to differentiate ASC device and other sensor device in NOTIFYDEV
git-svn-id: https://svn.fhem.de/fhem/trunk@22366 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
be7c2ac55c
commit
5cfc6c8d0e
@ -1,5 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- change: 73_AutoShuttersControl: add condition in Fn EventProcessingGeneral
|
||||
to differentiate ASC device and other sensor device in NOTIFYDEV
|
||||
- change: 49_SSCam: new Zoom icons
|
||||
- bugfix: 72_XiaomiDevice: Vacuum segment names fix
|
||||
- feature: 51_MOBILEALERTS: Added Sensor MA 10238
|
||||
|
@ -1253,7 +1253,7 @@ sub Initialize {
|
||||
],
|
||||
"release_status": "testing",
|
||||
"license": "GPL_2",
|
||||
"version": "v0.10.2",
|
||||
"version": "v0.10.3",
|
||||
"author": [
|
||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||
],
|
||||
|
@ -519,20 +519,24 @@ sub EventProcessingGeneral {
|
||||
while ( my ( $device, $deviceAttr ) =
|
||||
each %{ $hash->{monitoredDevs}{$devname} } )
|
||||
{
|
||||
if ( $devname eq $name ) {
|
||||
EventProcessingResidents( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_residentsDev' );
|
||||
EventProcessingRain( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_rainSensor' );
|
||||
EventProcessingWind( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_windSensor' );
|
||||
EventProcessingTwilightDevice( $hash, $device, $events )
|
||||
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
|
||||
EventProcessingResidents( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_residentsDev' );
|
||||
EventProcessingRain( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_rainSensor' );
|
||||
EventProcessingWind( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_windSensor' );
|
||||
EventProcessingTwilightDevice( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_twilightDevice' );
|
||||
|
||||
EventProcessingExternalTriggerDevice( $hash, $device, $events )
|
||||
if ( $deviceAttr eq 'ASC_ExternalTrigger' );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user