Ich versuche gerade in einem notify die Filter Funktion zu nutzen....
def my_notify notify TYPE=dummy:FILTER=comment=PoEdummydevice:(on|off) ......
def my_notify notify (TYPE=dummy:FILTER=comment=PoEdummydevice):(on|off) ......
def my_notify notify .*:FILTER=TYPE=dummy:FILTER=comment=PoEdummydevice:(on|off) ......
def my_notify notify (.*:FILTER=TYPE=dummy:FILTER=comment=PoEdummydevice):(on|off) ......
reagiert alles nicht auf die ausgelösten Events. In einem list zeigt der Device-Ausdruck jedoch alle gewünschten devices korrekt an.
Wird eine solche FILTER-Funktion im Notify generell nicht unterstützt?
Zitat von: roedert am 19 Mai 2018, 03:15:50
Wird eine solche FILTER-Funktion im Notify generell nicht unterstützt?
Nein wird sie nicht. An dieser Stelle gehört eine RegEx.