FHEM Forum

FHEM => English Corner => Thema gestartet von: AlexG am 23 August 2013, 11:03:32

Titel: Refreshing readings (ZWave)
Beitrag von: AlexG am 23 August 2013, 11:03:32
Hello.

I am a newbie and have a question.

How start command "set lamp1 on" when node "sensor1" changes "reading basicReport" from "00" to "ff".

Thanks.
Titel: Aw: Refreshing readings (ZWave)
Beitrag von: rudolfkoenig am 23 August 2013, 14:29:52
define ntfySensor1 notify sensor1:basicReport.*ff set lamp1 on


Note: since I do not have such a sensor ready at hand, it may be that the regexp has to be changed.
Watch the Event Monitor for the correct spelling, and modify the regexp accordingly.
Titel: Aw: Refreshing readings (ZWave)
Beitrag von: AlexG am 23 August 2013, 20:09:37
Thank you very much. It's working