This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

allert manager ack user
#1
Hello

I would like to know if it is possible to write the user who reset the alarm in the LM log.

Thanks

BR
Reply
#2
Not implemented
Reply
#3
For this to work a completely separate app must be developed as this functionality is not available for built-in alerts.
Reply
#4
OK, since in the event of an alarm, an event is triggered when it returns to 0 can I retrieve the logged in user name and write it to the log from a script?
Reply
#5
In recent firmwares there's an event.meta field which contains the sending user name if an event was triggered by the user.
Code:
user = event.meta
log(user)
Reply
#6
Acknowledge an alarm in the alarm manager is not reseting the alarm state that triggered the event, it just mutes the audio and adds a timestamp in the memory to make it listen again to alarms with newer timestamps so you won't have any object action on the server when a user press the acknowledge button..

The only thing the client does in the background is updating a dataset in the storage that is specific for that client IP ..
Reply
#7
(22.01.2021, 08:57)Erwin van der Zwart Wrote: Acknowledge an alarm in the alarm manager is not reseting the alarm state that triggered the event, it just mutes the audio and adds a timestamp in the memory to make it listen again to alarms with newer timestamps so you won't have any object action on the server when a user press the acknowledge button..

The only thing the client does in the background is updating a dataset in the storage that is specific for that client IP ..

If I wanted to be able to log which user has recognized the alarm, what can I do?
I should write a log in the LM
user logged in and alarm silenced and timestamp.
Is there any way to do this?

Thanks
Reply
#8
Not without an modification in the alert manager..
Reply


Forum Jump: