Multiple (simultaneous) card.attn requests?

Can ‘card.attn’ handle multiple events simultaneously? For instance,
{
“req”: “card.attn”,
“mode”: “arm, location”, “arm,connected”
}
would trigger for a change in location OR cellular connection … the response would determine which event (or both?) caused the interrupt.

regards, Rich …

Hi @richf ,

Yes - card.attn will trigger on the first of the specified events and {"req":"card.attn"} can then be used to determine what event caused the attn.

A minor correction to your example. The command would be:

{“req”: “card.attn”,“mode”: “arm,location,connected”}

Thanks
Sean