-
I'm struggling to get my stateless events to trigger configured rules despite a line crossing event from Object Analytics working as expected. I have wired in an LED to the output and confirmed it is lit correctly when the line crossing event rule is configured, but it never fires when my application sends its event.
Can anyone point me in the right direction? Modified
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
you should try using a bool entrie called active for the event key value set and toggle this to true or false, may have an timeout to switch back, like active -> true, timeout for 10 sec, active -> false. may your rule configuration when using string may does not trigger the rule at all. |
Beta Was this translation helpful? Give feedback.
-
Update: I've reverted axevent/send_event to the current state in main and changed the ax_event_key_value_set_add_key_value(key_value_set,
"topic0",
"tnsaxis",
"CameraApplicationPlatform",
AX_VALUE_TYPE_STRING,
NULL); I then reconfigured the event to target the |
Beta Was this translation helpful? Give feedback.
I don't know if this is the complete answer, but this is what I've learned so far:
topicX
keys must be intnsaxis
ortns1
namespace any other (or no) namespace and it stops working, even after recreating the rule.Code