Milesight Sensor Integration

Milesight Sensors Model Document

Kloudspot currently supports various Milesight sensors, which capture data across diverse environments and use cases. Below is a list of the supported sensors along with their models.

Sensors we support:

  1. Asset Tracker -> AT101

  2. AirQualitySensors -> AM319, AM307 and AM308-868M

  3. Bathroom Occupancy -> VS330

  4. Bathroom Odor -> GS301

  5. Sound Level Sensor -> WS302

  6. Smart Button -> WS101

  7. AI Workplace Occupancy -> VS121

  8. Smart Trash Bin -> EM310-UDL

  9. Mini Leak Detector -> WS303

  10. TOF People Counting -> VS133

Payload Structure

  1. AM308 – 868M, AT101, VS133
{
    "applicationID": "1",
    "applicationName": "ATAPP",
    "data": "A2f3AARocw==",
    "devEUI": "24e124136e146343",
    "deviceName": "AT-DEMO-EM300-915M",
    "fCnt": 10265,
    "fPort": 85,
    "rxInfo": [
        {
            "altitude": 0,
            "latitude": 0,
            "loRaSNR": 13.8,
            "longitude": 0,
            "mac": "24e124fffef9ff86",
            "name": "Local Gateway",
            "rssi": -68,
            "time": "2024-10-16T06:59:39.413137Z"
        }
    ],
    "time": "2024-10-16T06:59:39.413137Z",
    "txInfo": {
        "adr": true,
        "codeRate": "4/5",
        "dataRate": {
            "bandwidth": 125,
            "modulation": "LORA",
            "spreadFactor": 7
        },
        "frequency": 923200000
    }
}
  1. AM319, VS330, GS301, WS302, WS101, VS121, EM310-UDL, WS303
{
    "end_device_ids": {
        "device_id": "iaq-sensor-06",
        "application_ids": { "application_id": "digitaltwin-moro-dewa-poc" },
        "dev_eui": "24E124725D328458",
        "join_eui": "24E124C0002A0001",
        "dev_addr": "27FF009B"
    },
    "correlation_ids": [
        "gs:uplink:01JAA193DYZYF49MFKAW7Z1THJ",
        "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01JAA193DZC3N4552952HA247C",
        "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01JAA193MH44RE59R7CMMB4HAJ"
    ],
    "received_at": "2024-10-16T06:47:08.177947508Z",
    "uplink_message": {
        "session_key_id": "AZJl5qQ10106KtlNloYGUQ==",
        "f_port": 85,
        "f_cnt": 863,
        "frm_payload": "AXVSA2fuAARofgd9MAI=",
        "rx_metadata": [
            {
                "gateway_ids": {
                    "gateway_id": "infrax-indoor-gf-office",
                    "eui": "647FDAFFFE014B81"
                },
                "timestamp": 3666444163,
                "rssi": -104,
                "channel_rssi": -104,
                "snr": 5,
                "location": {
                    "latitude": 25.244458434563974,
                    "longitude": 55.28138549822969,
                    "altitude": 10,
                    "source": "SOURCE_REGISTRY"
                },
                "uplink_token": "CiUKIwoXaW5mcmF4LWluZG9vci1nZi1vZmZpY2USCGR/2v/+AUuBEIP/pdQNGgwI68K9uAYQ04a5zAMguK/oyNqp5gE=",
                "received_at": "2024-10-16T06:47:07.935741349Z"
            }
        ],
        "settings": {
            "data_rate": {
                "lora": {
                    "bandwidth": 125000,
                    "spreading_factor": 7,
                    "coding_rate": "4/5"
                }
            },
            "frequency": "868100000",
            "timestamp": 3666444163
        },
        "received_at": "2024-10-16T06:47:07.967707605Z",
        "consumed_airtime": "0.066816s",
        "network_ids": { "net_id": "000013", "tenant_id": "infrax" }
    }
}