FHEM Forum

FHEM => Automatisierung => DOIF => Thema gestartet von: satprofi am 23 Mai 2015, 15:35:06

Titel: gelöst: Frage zu DOIF u. Gegenteil abfragen
Beitrag von: satprofi am 23 Mai 2015, 15:35:06
Hallo.
Wie stelle ich es an das Device nur schaltet wenn "kein Regen"


(([Ueberschuss] > 500 and [09:00-12:00] and [Batterielader_aus] eq "off") and [Forecast:condition] eq "!showers")  (set Poolpumpe on)
DOELSE (set Poolpumpe off)


Irgendwie will es so nicht.

gruss

so klappts jetzt

(([Ueberschuss] > 500 and [09:00-12:00] and [Batterielader_aus] eq "off") and [Forecast:condition] != "showers")  (set Poolpumpe on)
DOELSE (set Poolpumpe off)
Titel: Antw:gelöst: Frage zu DOIF u. Gegenteil abfragen
Beitrag von: frank am 23 Mai 2015, 21:24:42
gibt das keine fehlermeldung zb im log? nach meinem verständnis sollte "!=" für numerische vergleiche sein und "ne" (not equal) für strings.
Titel: Antw:gelöst: Frage zu DOIF u. Gegenteil abfragen
Beitrag von: satprofi am 23 Mai 2015, 23:01:21
bis jetzt nicht. deiner meinung nach sollte es nicht klappen wenn es nicht regnet?
jetzt habe ich "most cloudly im reading und keine fehlermeldung.