Hallo
Notify bringt mich um..
Ich versuche abhängig vom Solarertrag kleiner gleich -250W eine Poolpumpe einzuschalten.
define Pool_Solar_Ein notify E_ZAEHLER_SOLAR:Power_Sum__W ≤ -250 set AB_AB_POOL on
Warum geht das nicht?
Danke im voraus
Kaspi :)
define Pool_Solar_Ein notify E_ZAEHLER_SOLAR:Power_Sum__W { fhem "set AB_AB_POOL on" if ($EVTPART1 <= -250)}
Gruß
Dan
Zitat von: Kaspi am 29 Juli 2019, 10:16:28
Notify bringt mich um..
Für die nächste Aufgabe -> https://wiki.fhem.de/wiki/Notify ;)
Gruß Otto
Zitat von: DeeSPe am 29 Juli 2019, 10:19:18
define Pool_Solar_Ein notify E_ZAEHLER_SOLAR:Power_Sum__W { fhem "set AB_AB_POOL on" if ($EVTPART1 <= -250)}
Gruß
Dan
Das dürfte so nicht triggern
define Pool_Solar_Ein notify E_ZAEHLER_SOLAR:Power_Sum__W:.* { fhem "set AB_AB_POOL on" if ($EVTPART1 <= -250)}
So sollte es triggern.
Notify arbeitet auf Basis von RegEx was das triggern an geht. Das <= -250 kann man auch als RegEx ausdrücken wenn man denn mag. Ist aber schwierig.
Grüße
Zitat von: CoolTux am 29 Juli 2019, 10:41:43
Das <= -250 kann man auch als RegEx ausdrücken wenn man denn mag. Ist aber schwierig.
Komm - hör auf ;D ;D ;D
Das erste hat nicht funktioniert. Das zweite ja.
Danke an alle.