FHEM Forum

FHEM => English Corner => Thema gestartet von: andyclimb am 26 September 2017, 17:17:56

Titel: Exclude reading from generating event
Beitrag von: andyclimb am 26 September 2017, 17:17:56
I'm using MQTT device to publish messages between MQTT and prowl. 

it auto subscribes to all MQTT messages home/prowl/+ 

so i can send
topic:  home/prowl/printer
msg " error."

the problem is that the transmission-state also generates events.  Now I want to keep the flexibility of having different readings, is there a way I can exclude  transmission-state from generating an event, but do so for all the other readings that might come in?

Many thanks



Titel: Antw:Exclude reading from generating event
Beitrag von: viegener am 26 September 2017, 18:48:34
Yes, if you just want a specific reading to not create an event than setting the generic attribute event-on-update-reading shoudl solve your issue. You can find mroe fine-grained possibilities to steer event generation when looking for the section readingFnAttributes in the commandref