Got my NX Witness integrated with Pushover.net for notificiations!

Answered

Comments

5 comments

  • Official comment
    Avatar
    Norman Graafsma

    Hi Dan, 

    Thank you for posting this integration with our community. This what we like to see happening in our community, users sharing their integrations and solutions with other community members to learn from each other and share experiences. 

    I will inform our team, regarding the enhancements you proposed, and will ask them to look into this and explain how and if it can be done and if not, give it in consideration for future releases. 

    For Enhancement 2; you could try to add the following string to your HTTP request; 

    {"cameraRefs":["3A4AD4EA-9269-4B1F-A7AA-2CEC537D0248","3A4AD4EA-9269-4B1F-A7AA-2CEC537D0240"]}

    Not sure if it will work with pushover.net, but with many other applications it does. 

    The cameraRefs are the cameraIDs which can be found in the 'Advanced' tab in the 'Camera Settings menu, or with the server API call ending at:

    /ec2/getCamerasEx or /ec2/getCameras?extraFormatting).

    Comment actions Permalink
  • Avatar
    Dan Haller

    Thanks Norman,

    I already have my URL launching to the right camera - that is not the issue.

    Before I bother you any further - I do plan to update to 4.0 Beta as there have been some improvements in the Do HTTP Request area and I do not want to ask for something that is already there.

    I will put together some thoughtful ideas.  But bottom line, what I could not accomplish:

    1) Start the playback in nxvms.com at the right time (perhaps rewinding 10 seconds) from the time of the Motion Alert.  It is painful in this GUI to adjust the time - it is not a problem with the Desktop GUI or the Android GUI because of the Motion Search.  This may require some new query string options to be added to the nxvms pages and a way from the HTTP Do Post to use (%%alert-time%%-10) or something like this so that the URL can be populated automatically without me writing code.

    2) Every motion alert is for a different camera and it would nice to be able to pass the right data.  NOTE: the GUID from Nx Witness camera data is totally different from the URL format used today. This is not a big bother as I do have the right camera launching - and I only have 4 now :-).

    3) The Pushover.net accepts an image attachment - so, if I could refer an image from the time of the Motion Alert that somehow added in the Do HTTP Post as multi-part mime that would be great.  The only other way to do this is for me to create my own middleware daemon that accepts an HTTP request from Nx Witness then uses the REST API to Nx Witness to gather all the data needed and then send the request to Pushover.net.  Possible yes.  I could certainly do that but it would take some time.

    If Nx Witness develops their own Push notification to another solution that would be fine by me too, in the meantime my integration was very low cost and about 75% to where I want it.

    /dan

    0
    Comment actions Permalink
  • Avatar
    Jimmy Lundborg

    Hi, this do not work in 4.0. Has anyone got pushover working in 4.0? I have only got pushover mailgateway working but its not as good. Have anyone a solution for sending a link to a arc over sia to get the video in to the arc? Sia can only be 48 characters so wavesync link is to long. Can anyone say how to get the link for opening nx client on the machine instead of opening wavesync homepage? Br Jimmy

    0
    Comment actions Permalink
  • Avatar
    Dan Haller

    Hi Jimmy,

    Pushover.net is still working fine for me.  I first implemented it on 3.2 then used two 4.0 beta versions before it went GA and it worked there as well. I did nothing to my configuration and it is still working with the final 4.0 version.

    I can post some additional details to help you, just let me know what you need - the trickiest part was getting the POST data in JSON format set correctly.

    /dan

    0
    Comment actions Permalink
  • Avatar
    Jimmy Lundborg

    Hi Dan,
    I’m using wisenet wave 4.0 ( the same as nx witness.4.0). Can you share the plain text that you have written in your rule? I have done as you have done in the screenshots but i dont even get an error In wave. Thanks for a fast answer. Br Jimmy

    0
    Comment actions Permalink

Please sign in to leave a comment.