Hauptmenü

Hilfestellung bei DOIF

Begonnen von Gasmast3r, 20 Mai 2018, 00:08:26

Vorheriges Thema - Nächstes Thema

Gasmast3r

Halo Leute brauche noch mal euren Rat/Hilfe.
habe hier 2 x Sonoff und Lightify in meine beiden Flur Geschosse, 1 Sonoff der per Koppelrelais nur als Aktor betrieben wird, 1 Sonoff der per Koppelrelais ein Satz Halogenspots schaltet und Lightify leuchten.

Das alles soll aufeinander reagieren habe es derzeit per DOIF so gelöst.

([ESPEasy_Sonoff3_PUMP] eq "on") (set LIGHTIFYGroup2 pct 100 : ct 154,set ESPEasy_Sonoff12_PUMP on)
DOELSEIF ([ESPEasy_Sonoff3_PUMP] eq "off") (set LIGHTIFYGroup2 off,set ESPEasy_Sonoff12_PUMP off)
DOELSEIF ([ESPEasy_Sonoff12_PUMP] eq "off") (set LIGHTIFYGroup2 off,set ESPEasy_Sonoff3_PUMP off)
DOELSEIF ([ESPEasy_Sonoff12_PUMP] eq "on") (set LIGHTIFYGroup2 on,set ESPEasy_Sonoff3_PUMP on)
DOELSEIF ([LIGHTIFYGroup2] eq "off") (set ESPEasy_Sonoff3_PUMP off,set ESPEasy_Sonoff12_PUMP off)
DOELSEIF ([LIGHTIFYGroup2] eq "on") (set ESPEasy_Sonoff3_PUMP on,set ESPEasy_Sonoff12_PUMP on)
DOELSE


es kommt mal vor das die leuchten mehrmals an und ausgehen da das System wohl mal Träge reagiert bis dann alles aus ist.

hat eventuell jemand ne bessere Lösung parat ???

Es soll auch alles re