Replies: 1 comment
-
Just another quick thought, does/can the REST API work via the Landing recipe? I know this works - but this would be cool |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Heyas..
Wondering how many people make use of the Status Suppression... ?
We have set up Slack messages, whereby if a group member's status is not == 0, then we send a slack msg (then set a timer for 60min to ignore further messages).
It's been quite handy so far, for noticing something getting unplugged, or a IP address conflict etc.
Screenshot-
My next addition was going to be adding a hyperlink (REST API Event call) in the slack msg, to easily change the suppression status.
eg
/nodes/AVSwinburneStudio/REST/actions/MemberSwinStudioMRX7DStatusSuppressionToggle/call?arg=True
But then I wanted to post back how long the member would be suppressed for -
eg
/nodes/AVSwinburneStudio/REST/events/MemberSwinStudioMRX7DStatusSuppressionParams
But what I've noticed, is that suppression params event json, doesn't include the StatusSuppressed value, just the datetime that was last used when suppressing. I feel it'd be handy for that JSON to also have the status in it?
Actually thinking out loud - my ideal slack msg would end up being like below, which doesnt really need to know the actual datetime params, it can assume it hasnt been changed and is just 24 hrs (or whatever it's been set to - ours is actually the default 2 weeks at the moment _
'Alert - XYZ Group - Device ABC Missing since 3:30pm 1/4/23 - Click Here to suppress alerts'
Then it'd return
Device ABC Status Suppressed for 24hrs until 3:30pm 2/4/23
Just a thought, and curious if others are using this functionality for anything, other than I know @justparking uses it during commissioning
Beta Was this translation helpful? Give feedback.
All reactions