Page 1 of 1

trigger event on dummy device possible?

Posted: 17 Jan 2020, 19:47
by dolittle
Hi,
I'd love to trigger an event on a dummy device change. There's a quad type dummy device defined called "flags" and it has values like "status". Unfortunately the rule engine doesn't trigger an event. So a rule like

Code: Select all

on flags#status do
  something
endon
doesn't execute the "something" part.

Is this a bug or a feature?

Thanks a lot

Re: trigger event on dummy device possible?

Posted: 18 Jan 2020, 00:03
by ThomasB
To trigger a dummy device event you should execute a TaskRun after the TaskValueSet. See this:
viewtopic.php?t=5092

- Thomas

Re: trigger event on dummy device possible?

Posted: 19 Jan 2020, 13:31
by dolittle
Thanks. That did the trick.