Multi instance alert additional values

Find and share HowTos to various installations / configurations!
Search

Post Reply
4 posts • Page 1 of 1
ewoenne
Posts: 62
Joined: Thu May 12, 2016 10:35 am

Multi instance alert additional values

Post 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.

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: Multi instance alert additional values

Post 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.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Multi instance alert additional values

Post 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

ewoenne
Posts: 62
Joined: Thu May 12, 2016 10:35 am

Re: Multi instance alert additional values

Post 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

Post Reply
4 posts • Page 1 of 1