Page 1 of 1

Multi instance alert additional values

Posted: Wed Feb 03, 2021 8:17 pm
by ewoenne
Hi,

Is it possible to set the additional values of an existing multi instance alert? alertSet() doesn't result in an error but the additional values are not set.

Re: Multi instance alert additional values

Posted: Thu Feb 04, 2021 9:21 am
by kilianvp
You have to check the _direction and use _came_time_idx or _gone_time_idx as second parameter for alertset() depending on the _direction.

Re: Multi instance alert additional values

Posted: Thu Feb 04, 2021 9:37 am
by leoknipp
Add values can be added to any alert. You have to know exactly the time and the count parameter for the alert where you want additional information.

Best Regards
Leopold Knipp
Senior Support Specialist

Re: Multi instance alert additional values

Posted: Thu Feb 04, 2021 7:04 pm
by ewoenne
Thanks for the replies.
The problem was that I was calling alertSet() with the time only instead of the alert time (type atime). This works fine for single alarms, but not for alarms where the count is > 0