Uplink Data Examples for Trigger Reporting

If the report strategy is set to Trigger Report (real-time reporting is enabled), the device reports the uplink data upon data change. This section provides uplink data examples for trigger reporting.

Data Example for Line Crossing People Counting

{
    "device_info": {
        "cpu": {
            "cpu_temperature": 50,
            "cpu_usage": 62
        },
        "device_mac": "24:E1:24:FA:77:49",
        "device_name": "66",
        "device_sn": "6834E23009150005",
        "device_tilt_pitch_roll": {
            "pitch": 161.8,
            "roll": 147.6
        },
        "firmware_version": "V_125.1.0.5-a2",
        "hardware_version": "V1.1",
        "ip_address": "192.168.49.152",
        "ram": {
            "memory_usage": 52.97,
            "total_memory_mb": 480.62,
            "used_memory_mb": 254.56
        },
        "running_time": 496781,
        "storage": {
            "storage_usage": 26.83,
            "total_space_gb": 11.71,
            "used_space_gb": 3.14
        },
        "wlan_mac": "24:E1:24:FA:77:4A"
    },
    "network_info": {
        "network_status": 1,
        "iccid": "89860117838009934120",
        "imei": "860425047368939",
        "cell_id": "340db80",
        "lac": "5299"
    },
    "line_trigger_data": [
        {
            "children": {
                "female_in": 8,
                "female_out": 2,
                "in": 14,
                "male_in": 8,
                "male_out": 2,
                "out": 6
            },
            "group": {
                "in": 0,
                "out": 0
            },
            "staff": {
                "female_in": 1,
                "female_out": 0,
                "in": 2,
                "male_in": 1,
                "male_out": 1,
                "out": 1,
                "in_uwb_tag_battery": [
                    "100",
                    "100"
                ],
                "in_uwb_tag_sn": [
                    "670405C016500001",
                    "670405C017D30004"
                ],
                "out_uwb_tag_battery": [
                    "100"
                ],
                "out_uwb_tag_sn": [
                    "670405C016500001"
                ],
                "female_in_uwb_tag_battery": [
                    "100"
                ],
                "female_in_uwb_tag_sn": [
                    "670405C017D30004"
                ],
                "female_out_uwb_tag_battery": [],
                "female_out_uwb_tag_sn": [],
                "male_in_uwb_tag_battery": [
                    "100"
                ],
                "male_in_uwb_tag_sn": [
                    "670405C016500001"
                ],
                "male_out_uwb_tag_battery": [
                    "100"
                ],
                "male_out_uwb_tag_sn": [
                    "670405C016500001"
                ]
            },
            "total": {
                "female_in": 20,
                "female_out": 22,
                "in": 27,
                "male_in": 20,
                "male_out": 22,
                "out": 27
            },
            "line": 1,
            "line_name": "Line1111111111111111111111111111",
            "line_uuid": "9a0440de-3188-4f6d-b886-bb20c97bd26b"
        },
        {
            "children": {
                "female_in": 8,
                "female_out": 2,
                "in": 14,
                "male_in": 8,
                "male_out": 2,
                "out": 6
            },
            "group": {
                "in": 0,
                "out": 0
            },
            "staff": {
                "female_in": 1,
                "female_out": 0,
                "in": 2,
                "male_in": 1,
                "male_out": 1,
                "out": 1,
                "in_uwb_tag_battery": [
                    "100",
                    "100"
                ],
                "in_uwb_tag_sn": [
                    "670405C016500001",
                    "670405C017D30004"
                ],
                "out_uwb_tag_battery": [
                    "100"
                ],
                "out_uwb_tag_sn": [
                    "670405C016500001"
                ],
                "female_in_uwb_tag_battery": [
                    "100"
                ],
                "female_in_uwb_tag_sn": [
                    "670405C017D30004"
                ],
                "female_out_uwb_tag_battery": [],
                "female_out_uwb_tag_sn": [],
                "male_in_uwb_tag_battery": [
                    "100"
                ],
                "male_in_uwb_tag_sn": [
                    "670405C016500001"
                ],
                "male_out_uwb_tag_battery": [
                    "100"
                ],
                "male_out_uwb_tag_sn": [
                    "670405C016500001"
                ]
            },
            "total": {
                "female_in": 20,
                "female_out": 22,
                "in": 27,
                "male_in": 20,
                "male_out": 22,
                "out": 27
            },
            "line": 3,
            "line_name": "Line3333333333333333333333333333",
            "line_uuid": "82ffe54d-0191-484b-a2fc-495628a8f2a1"
        }
    ],
    "isRetransmission": false,
    "time_info": {
        "dst_status": false,
        "enable_dst": true,
        "time": "2024-05-30T20:11:32+08:00",
        "time_zone": "UTC+8:00 China Standard Time (CT/CST)"
    }
}

Data Example for Region People Counting

{
"device_info": 
{
        "cus_device_id": "123456",
        "cus_site_id": "789123",
        "device_mac": "24:E1:24:FA:0C:6C",  //PoE version only
        "device_name": "People Counter",
        "device_sn": "6384E16179950009",
        "firmware_version": "V_125.1.0.1",
        "hardware_version": "V1.0",
        "ip_address": "192.168.60.183",
        "running_time": 105,
"wlan mac": 24:E1:24:54:23:0A
    },
"network_info": //Cellular version only
{
        "network_status": "1",   //1 is connected, 0 is disconnected
        "iccid": "89860117838009934120",
        "imei": "860425047368939",
        "cell_id": "340db80",
        "lac": "5299"
    },

"region_trigger_data": 
{
        "region_count_data": 
[
            {
            "total": {
                "current_female": 0,
                "current_male": 1,
                "current_total": 2
            },
            "children": {
                "current_female": 0,
                "current_male": 1,
                "current_total": 2
            },
            "staff": {
                "current_female": 0,
                "current_male": 1,
                "current_total": 2
            },
            "region": 1,
            "region_name": "Region1",
            "region_uuid": "bd1e6ce2-e113-4ce4-a9b6-0633f7083cac"
        	}
]
    },
"time_info": 
{
        "dst_status": false,
        "enable_dst": true,
        "time": "2024-05-30T20:12:20+08:00",
        "time_zone": "UTC+8:00 China Standard Time (CT/CST)"
    }
}

Data Example for Single Dwell Time Detection

{
    "device_info": {
        "cpu": {
            "cpu_temperature": 50,
            "cpu_usage": 62
        },
        "device_mac": "24:E1:24:FA:77:49", //4G不上传此内容
        "device_name": "66",
        "device_sn": "6834E23009150005",
        "device_tilt_pitch_roll": {
            "pitch": 161.8,
            "roll": 147.6
        },
        "firmware_version": "V_125.1.0.5-a2",
        "hardware_version": "V1.1",
        "ip_address": "192.168.49.152",
        "ram": {
            "memory_usage": 52.97,
            "total_memory_mb": 480.62,
            "used_memory_mb": 254.56
        },
        "running_time": 496781,
        "storage": {
            "storage_usage": 26.83,
            "total_space_gb": 11.71,
            "used_space_gb": 3.14
        },
        "wlan_mac": "24:E1:24:FA:77:4A"
    },
    "network_info": {
        "network_status": 1,
        "iccid": "89860117838009934120",
        "imei": "860425047368939",
        "cell_id": "340db80",
        "lac": "5299"
    },
    "region_trigger_data": {
        "dwell_time_data": [{
            "children": false,
            "duration": 96799,
            "dwell_end_time": "2024-05-30T20:12:20+08:00",
            "dwell_start_time": "2024-05-30T20:10:43+08:00",
            "people_id": 5,
            "region": 1,
            "region_name": "Region1",
            "region_uuid": "bd1e6ce2-e113-4ce4-a9b6-0633f7083cac",
            "gender": "male",
            "staff": true,
            "uwb_tag_battery": "100",
            "uwb_tag_sn": "670405C016500001"
        }]
    },
    "isRetransmission": false,
    "time_info": {
        "dst_status": false,
        "enable_dst": true,
        "time": "2024-05-30T20:12:20+08:00",
        "time_zone": "UTC+8:00 China Standard Time (CT/CST)"
    }
}

Data Example for Continuous Dwell Time Detection

{
    "device_info": {
        "cpu": {
            "cpu_temperature": 56,
            "cpu_usage": 54
        },
        "device_name": "People Counter",
        "device_sn": "6834E12340330011",
        "device_tilt_pitch_roll": {
            "pitch": -179.3,
            "roll": -178.8
        },
        "firmware_version": "V_125.1.1.5-r2-a1",
        "hardware_version": "V1.0",
        "ip_address": "0.0.0.0",
        "ram": {
            "memory_usage": 39.34,
            "total_memory_mb": 480.62,
            "used_memory_mb": 189.07
        },
        "running_time": 2626,
        "storage": {
            "storage_usage": 15.12,
            "total_space_gb": 11.71,
            "used_space_gb": 1.77
        },
        "wlan_mac": "1C:C3:16:01:33:46"
    },
    "isRetransmission": false,
    "network_info": {
        "cell_id": "0E0B70B",
        "iccid": "-",
        "imei": "862990062466528",
        "lac": "5F0C",
        "network_status": 0
    },
    "region_trigger_data": {
        "continuous_dwell_time_data": [
            {
                "children": false,
                "duration_ms": 2680,
                "gender": "female",
                "people_id": 48,
                "region": 1,
                "region_name": "Region1",
                "region_uuid": "08e53e1d-c6c2-4a87-aed2-525c276e14f6",
                "staff": false,
                "uwb_tag_battery": "100",
                "uwb_tag_sn": "670405C016500001"
            }
        ]
    },
    "time_info": {
        "dst_status": false,
        "enable_dst": false,
        "time": "2026-04-20T14:31:39+08:00",
        "time_zone": "UTC+8:00 China Standard Time (CT/CST)"
    }
}