Hauptmenü

Event schaltet 2 DOIFS

Begonnen von choetzu, 29 Januar 2018, 19:58:14

Vorheriges Thema - Nächstes Thema

choetzu

hallo,

ich verstehe es nicht. Ich habe ein Dummy namens Arlo_Dummy. Dort werden Kamera-Motions eingetragen. Somit habe ich pro Kamera eine Readingzeile. Nun will ich, dass je nach Kamera-Motion eine von 2 Lampen geschaltet wird.  Das Problem ist jedoch, dass es immer beide Kameras schaltet. Warum wohl?

hier die DOIFS

Lampe UG (Nodon 3)
([{sunset} - {sunrise}]
and [Arlo_Dummy:EingangUG] eq "motion")
(set Aussen_UG_L_NodOn32 on-for-timer 30) 

DOELSE


Lampe Terasse (Nodon 6)
([{sunset} - {sunrise}]
and [Arlo_Dummy:Terasse] eq "motion")
(set Aktor_NodOn6 on-for-timer 30)

DOELSE


und folgend die Eventzeilen:
2018-01-29 19:34:15 EnOcean Aktor_NodOn3 channel1: on
2018-01-29 19:34:15 EnOcean Aktor_NodOn3 dim1: 100
2018-01-29 19:34:15 DOIF Arlo_Eingang_UG_Licht_DOIF cmd_nr: 1
2018-01-29 19:34:15 DOIF Arlo_Eingang_UG_Licht_DOIF cmd: 1
2018-01-29 19:34:15 DOIF Arlo_Eingang_UG_Licht_DOIF cmd_event: Arlo_Dummy
2018-01-29 19:34:15 DOIF Arlo_Eingang_UG_Licht_DOIF cmd_1
2018-01-29 19:34:15 structure Licht_Structure on
2018-01-29 19:34:15 EnOcean Aktor_NodOn6 channel0: on
2018-01-29 19:34:15 structure Licht_Structure on
2018-01-29 19:34:15 EnOcean Aktor_NodOn6 dim0: 100
2018-01-29 19:34:15 DOIF Arlo_Terasse_Licht_DOIF cmd_nr: 1
2018-01-29 19:34:15 DOIF Arlo_Terasse_Licht_DOIF cmd: 1
2018-01-29 19:34:15 DOIF Arlo_Terasse_Licht_DOIF cmd_event: Arlo_Dummy
2018-01-29 19:34:15 DOIF Arlo_Terasse_Licht_DOIF cmd_1
2018-01-29 19:34:15 dummy Arlo_Dummy Terasse: motion
2018-01-29 19:34:15 structure Licht_Structure on
2018-01-29 19:34:15 readingsProxy Aussen_UG_L_NodOn32 on
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 powerFailure1: disabled
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 powerFailureDetection1: not_detected
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 overCurrentOff1: ready
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 error1: not_supported
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 localControl1: enabled
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 channel1: on
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 on
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 dim: 100
2018-01-29 19:34:16 EnOcean Aktor_NodOn3 dim1: 100
2018-01-29 19:34:16 structure Licht_Structure on
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 powerFailure0: disabled
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 powerFailureDetection0: not_detected
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 overCurrentOff0: ready
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 error0: not_supported
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 localControl0: enabled
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 channel0: on
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 on
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 dim: 100
2018-01-29 19:34:16 EnOcean Aktor_NodOn6 dim0: 100


danke für die Hilfe
Raspi3, EnOcean, Zwave, Homematic

Damian

Problematik siehe hier:

https://forum.fhem.de/index.php/topic,82523.0.html

Noch brauchst du also das checkReadingEvent-Attribut
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

choetzu

Raspi3, EnOcean, Zwave, Homematic