Events Notification

Get events immediately by querying TCP connect to hostname:streamport with an Ventra API account using username and password which is in uppercase and SHA-256.
Then sent string GET /event.cgi?user=${username}&password=${password} HTTP/1.1
before recv while loop

Parameters
Name of Parameter Type Description
username string Required username provide by ventracloud
password string Required SHA-256 of your password which is uppercase
Response

The response is an array of notifications.

  RECEIVED: {}
RECEIVED: {}
RECEIVED: { "deviceid": "BT002344", "eventid": 1827, "cmd": "new", "memo": "FCWL", 
    "time": 1573804228, "lat": 25.048603333333332, "lng": 121.51807833333334 }
RECEIVED: {}
RECEIVED: { "deviceid": "BT002901", "eventid": 1816, "cmd": "cover", 
    "memo": ".\/2019-10-29\/BT002901\/2019-10-29-10-43-48_10-44-04-ch02.mp4", 
    "time": 1572317038, "ch": 2 }
  • Contact Us

    Contact Us


  • SHA-256 Converter

    SHA-256 Converter