|  Developer
Updated on May 17, 2022

update_hotzone_list

Connection type:

  • Update hotzones dictionary

NOTE: Empty list will remove all hotzones

NOTE: For every camera there is default hotzone with an empty id that represents the whole camera viewport. The default hotzone is permanent and cannot be removed. Any motion that is not part of the camera named hotzones, will be interpreted as motion in default hotzone.

Edit
Field Type Required Description
hotzones JsonArray + List of camera hotzones
hotzones.camera_id string + Camera ID
hotzones.hotzone_id string + Hotzone ID
hotzones.hotzone_name string + Hotzone name
Edit
Edit
				
					{
  "id": "id",
  "method": "update_hotzone_list",
  "params": {
    "hotzones": [
      {
        "camera_id": "camera1",
        "hotzone_id": "hotzone1",
        "hotzone_name": "hotzoneName1"
      },
      {
        "camera_id": "camera1",
        "hotzone_id": "hotzone2",
        "hotzone_name": "hotzoneName2"
      }
    ]
  }
}				
			
Edit