How-to Setup IP Camera API Webhook Events

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42553
    Mike Haldas
    Keymaster

    Follow these setup instructions to enable outbound HTTP Post webhook calls when your Viewtron AI security camera detects objects and events. After your enable the HTTP Post server on your camera, you can use this documentation on AI security camera API events to develop your application.

    Please note if your camera is connected a PoE port on a Viewtron NVR, you must put the IP camera on your local network in order to access the IP camera API directly. Instead of connecting the IP camera to your NVR directly via the NVR PoE ports, you must connect it via the LAN by connecting it to a PoE switch external to the NVR.

    Log into your Viewtron IP camera through a web browser.

    IP Camera HTTP Post

    Click on the Network link on the left side menu, then click on the HTTP POST link.

    http post server add

    On the HTTP Post screen, click on the Edit button.

    http post API server settings

    Next, click on the Add button. Then fill in the API server’s IP address, port, and path. You can also check off the type of alarms and data that you want the server to send. IN my testing, I only wanted to send LPR events, so I only checked License Plate Detection in the Smart Alarm Type section. In the Smart Alarm Data, I checked all pictures and options.

    When done, click the Save button.

    The IP camera is now setup to send webhook HTTP Posts to your server. If you are looking for a server to get you started with your development project. Mike developed one and open sourced it on Github. You can download Mike’s IP camera API server here.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.