Skip to content

zigbee组网管理

GET 获取组网状态

GET /clip/v2/resource/zigbee_device_discovery

说明

  • 用于获取当前zigbee的组网状态

返回示例

json
{
    "code": 0,
    "data": {
        "arr": [
            {
                "id": "576A6228-CB9E-48D2-B6B6-447C657CF465",
                "owner": {
                    "rid": "EA7297E0-5959-4585-9740-AA5BD41707D1",
                    "rtype": "device"
                },
                "status": "stopped",
                "type": "zigbee_device_discovery"
            }
        ],
        "len": 1,
        "obj": {}
    },
    "msg": "success"
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» codeintegertruenone状态码none
» msgstringtruenone说明信息none
» dataobjecttruenonenone
»» objobjecttruenonenone
»» arr[object]falsenonenone
»»» idstringtruenone服务的UUID开启组网和停止组网的时候用到
»»» ownerobjecttruenone所属的设备
»»»» ridstringtruenone设备的UUIDnone
»»»» rtypestringtruenone设备类型none
»»» statusstringtruenone当前组网状态开启中 start, 停止 stop
»»» typestringtruenone服务类型