Commit 271dd399 authored by 陈伟灿's avatar 陈伟灿

Merge branch 'cwc' into 'master'

【修改内容】修改相关BUG

See merge request chenweican/k-sdk!165
parents 0ee6d385 579ad88d
...@@ -34,11 +34,9 @@ static int kk_findccu_ack(int sockfd,struct sockaddr_in *addr){ ...@@ -34,11 +34,9 @@ static int kk_findccu_ack(int sockfd,struct sockaddr_in *addr){
args = cJSON_CreateObject(); args = cJSON_CreateObject();
if(args){ if(args){
cJSON_AddItemToObject(json, "arg", args); cJSON_AddItemToObject(json, "arg", args);
#ifdef CONFIG_A133_PLATFORM
cJSON_AddStringToObject(args, "zkid", ccuid);
#else
cJSON_AddStringToObject(args, "zkid", &ccuid[4]); cJSON_AddStringToObject(args, "zkid", &ccuid[4]);
#endif
cJSON_AddStringToObject(args, "zk", KK_CCU_NAME); cJSON_AddStringToObject(args, "zk", KK_CCU_NAME);
HAL_Get_IP(s_IP,NULL); HAL_Get_IP(s_IP,NULL);
cJSON_AddStringToObject(args, "ip", s_IP); cJSON_AddStringToObject(args, "ip", s_IP);
...@@ -96,6 +94,8 @@ void *kk_findccu_handle(void *data) ...@@ -96,6 +94,8 @@ void *kk_findccu_handle(void *data)
WARNING_PRINT("read error....\n"); WARNING_PRINT("read error....\n");
}else{ }else{
DEBUG_PRINT("findccu recmsg: %s\n", recvline); DEBUG_PRINT("findccu recmsg: %s\n", recvline);
DEBUG_PRINT("findccu frome ip: %s\n", inet_ntoa(presaddr.sin_addr));
pStart = strstr(recvline, "!"); pStart = strstr(recvline, "!");
pEnd = strstr(recvline, "$"); pEnd = strstr(recvline, "$");
if(pStart != NULL && pEnd != NULL){ if(pStart != NULL && pEnd != NULL){
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "kk_data_handle.h" #include "kk_data_handle.h"
#include "kk_lan_debug.h" #include "kk_lan_debug.h"
#define LISTEN_MAX 5 #define LISTEN_MAX 16
#define BUF_SIZE 1500 #define BUF_SIZE 1500
typedef struct { typedef struct {
......
...@@ -518,7 +518,8 @@ int dm_mgr_check_heartbeat_timeout(time_t timestamp) ...@@ -518,7 +518,8 @@ int dm_mgr_check_heartbeat_timeout(time_t timestamp)
} }
if(s_count >= 60) if(s_count >= 60)
{ {
INFO_PRINT("[%s][%d]search_node->productCode:%s\n",__FUNCTION__,__LINE__,search_node->productCode); // INFO_PRINT("[%s][%d]search_node->productCode:%s\n",__FUNCTION__,__LINE__,search_node->productCode);
INFO_PRINT("[%s][%d]search_node->deviceCode:%s\n",__FUNCTION__,__LINE__,search_node->deviceCode);
INFO_PRINT("[%s][%d]search_node->hb_timeout:%d\n",__FUNCTION__,__LINE__,search_node->hb_timeout); INFO_PRINT("[%s][%d]search_node->hb_timeout:%d\n",__FUNCTION__,__LINE__,search_node->hb_timeout);
INFO_PRINT("[%s][%d]search_node->isOffline:%d\n",__FUNCTION__,__LINE__,search_node->isOffline); INFO_PRINT("[%s][%d]search_node->isOffline:%d\n",__FUNCTION__,__LINE__,search_node->isOffline);
INFO_PRINT("[%s][%d]search_node->timestamp:%ld\n",__FUNCTION__,__LINE__,search_node->timestamp); INFO_PRINT("[%s][%d]search_node->timestamp:%ld\n",__FUNCTION__,__LINE__,search_node->timestamp);
......
...@@ -1190,7 +1190,10 @@ int dm_msg_thing_property_post_by_identify(char *deviceCode,cJSON *params) ...@@ -1190,7 +1190,10 @@ int dm_msg_thing_property_post_by_identify(char *deviceCode,cJSON *params)
for(idx = 0; idx < epNumInt; idx++){ for(idx = 0; idx < epNumInt; idx++){
countPro = propertyInfoBuf[idx].num; countPro = propertyInfoBuf[idx].num;
if(countPro == 0){ if(countPro == 0){
continue; if(epNumInt == 1 && versionItem != NULL && versionFlag == 0){//处理只上报version的问题
}else{
continue;
}
} }
//printf(" ------------------------>countPro:%d\n",countPro); //printf(" ------------------------>countPro:%d\n",countPro);
memset(epIdx,0x0,sizeof(epIdx)); memset(epIdx,0x0,sizeof(epIdx));
...@@ -1338,7 +1341,6 @@ int kk_msg_execute_property_get(dm_mgr_dev_node_t *node) ...@@ -1338,7 +1341,6 @@ int kk_msg_execute_property_get(dm_mgr_dev_node_t *node)
int i = 0,j = 0,serviceNum = 0; int i = 0,j = 0,serviceNum = 0;
char *paramS = NULL; char *paramS = NULL;
char msgId[MSG_MAX_LEN] = {0}; char msgId[MSG_MAX_LEN] = {0};
if(node == NULL){ if(node == NULL){
return INVALID_PARAMETER; return INVALID_PARAMETER;
} }
...@@ -1349,10 +1351,8 @@ int kk_msg_execute_property_get(dm_mgr_dev_node_t *node) ...@@ -1349,10 +1351,8 @@ int kk_msg_execute_property_get(dm_mgr_dev_node_t *node)
} }
memset(req_info, 0, req_info_len); memset(req_info, 0, req_info_len);
snprintf(req_info, req_info_len, DM_MSG_INFO, KK_THING_SERVICE_PROPERTY_GET,node->productCode, node->deviceCode); snprintf(req_info, req_info_len, DM_MSG_INFO, KK_THING_SERVICE_PROPERTY_GET,node->productCode, node->deviceCode);
cJSON *rootParam = cJSON_CreateObject(); cJSON *rootParam = cJSON_CreateObject();
cJSON *array = cJSON_CreateArray(); cJSON *array = cJSON_CreateArray();
serviceNum = node->dev_shadow->service_number; serviceNum = node->dev_shadow->service_number;
for(i = 0; i < serviceNum; i++){ for(i = 0; i < serviceNum; i++){
kk_tsl_service_t *item = node->dev_shadow->services + i; kk_tsl_service_t *item = node->dev_shadow->services + i;
...@@ -1372,6 +1372,9 @@ int kk_msg_execute_property_get(dm_mgr_dev_node_t *node) ...@@ -1372,6 +1372,9 @@ int kk_msg_execute_property_get(dm_mgr_dev_node_t *node)
break; break;
} }
} }
if(paramS == NULL){
paramS = "{}";
}
payload_len = strlen(DM_MSG_REQUEST) + 10 + strlen(DM_MSG_VERSION) + strlen(paramS) + strlen( payload_len = strlen(DM_MSG_REQUEST) + 10 + strlen(DM_MSG_VERSION) + strlen(paramS) + strlen(
method) + 1 + 20+sizeof(msgId); method) + 1 + 20+sizeof(msgId);
......
...@@ -1761,10 +1761,37 @@ static int kk_service_bindScene_handle(cJSON *params,char *deviceCodeStr) ...@@ -1761,10 +1761,37 @@ static int kk_service_bindScene_handle(cJSON *params,char *deviceCodeStr)
sprintf(btnId,"%d",ButtonId->valueint); sprintf(btnId,"%d",ButtonId->valueint);
kk_scene_delete_panel_scene_info(btnId,deviceCodeStr);//如果已经关联,先删除关联 kk_scene_delete_panel_scene_info(btnId,deviceCodeStr);//如果已经关联,先删除关联
//bindType:1,情景;2,动作;3,全屋;4,布防
if(bindType->valueint == 2 || bindType->valueint == 3 ){ if(bindType->valueint == 2 || bindType->valueint == 3 ){
HAL_GetTime_s(sceneId);//use time to create the sceneId HAL_GetTime_s(sceneId);//use time to create the sceneId
kk_scene_parse_scene_action(params,sceneId,0); kk_scene_parse_scene_action(params,sceneId,0);
kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId); if(bindType->valueint == 3 ){
cJSON * action = cJSON_GetObjectItem(params,MSG_SCENE_ACTIONS);
if(action == NULL || action->type != cJSON_Array){
ERROR_PRINT("DATA ERROR!!!");
return FAIL_RETURN;
}
cJSON *client_list = action->child;
while( client_list != NULL ){
char roomIdBuf[16] = {0};
cJSON * roomId = cJSON_GetObjectItem( client_list ,"ccuRoomId") ;
if(roomId != NULL){
if(roomId->type != cJSON_String){
sprintf(roomIdBuf,"%d",roomId->valueint);
}else{
strcpy(roomIdBuf,roomId->valuestring);
}
}
else{
strcpy(roomIdBuf,"-1");
}
cJSON * productType = cJSON_GetObjectItem( client_list ,"productType") ;
kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId,roomIdBuf,productType->valuestring);
client_list = client_list->next ;
}
}else{
kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId,"-1","");
}
} }
else if(bindType->valueint == 1){ else if(bindType->valueint == 1){
cJSON * action = cJSON_GetObjectItem(params,MSG_SCENE_ACTIONS); cJSON * action = cJSON_GetObjectItem(params,MSG_SCENE_ACTIONS);
...@@ -1776,7 +1803,7 @@ static int kk_service_bindScene_handle(cJSON *params,char *deviceCodeStr) ...@@ -1776,7 +1803,7 @@ static int kk_service_bindScene_handle(cJSON *params,char *deviceCodeStr)
while( client_list != NULL ){ while( client_list != NULL ){
int isceneId = cJSON_GetObjectItem( client_list ,"sceneId")->valueint ; int isceneId = cJSON_GetObjectItem( client_list ,"sceneId")->valueint ;
sprintf(sceneId,"%d",isceneId); sprintf(sceneId,"%d",isceneId);
kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId); kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId,"-1","");
client_list = client_list->next ; client_list = client_list->next ;
} }
...@@ -1800,7 +1827,7 @@ static int kk_service_bindScene_handle(cJSON *params,char *deviceCodeStr) ...@@ -1800,7 +1827,7 @@ static int kk_service_bindScene_handle(cJSON *params,char *deviceCodeStr)
res = kk_scene_insert_scene_action(type->valuestring,deviceCode->valuestring,1, res = kk_scene_insert_scene_action(type->valuestring,deviceCode->valuestring,1,
propertyName->valuestring,propertyValue->valuestring,0,sceneId,deviceCode->valuestring); propertyName->valuestring,propertyValue->valuestring,0,sceneId,deviceCode->valuestring);
kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId); kk_scene_insert_panel_scene_info(bindType->valueint,btnId,deviceCodeStr,sceneId,"-1","");
item = item->next; item = item->next;
} }
...@@ -2311,7 +2338,6 @@ int _iotx_linkkit_slave_connect(int devid) ...@@ -2311,7 +2338,6 @@ int _iotx_linkkit_slave_connect(int devid)
/* Subdev Add Topo */ /* Subdev Add Topo */
res = kk_dm_subdev_topo_add(devid); res = kk_dm_subdev_topo_add(devid);
if (res < SUCCESS_RETURN) { if (res < SUCCESS_RETURN) {
_iotx_linkkit_mutex_unlock();
return FAIL_RETURN; return FAIL_RETURN;
} }
...@@ -2569,7 +2595,7 @@ static int _iotx_linkkit_subdev_login(int devid) ...@@ -2569,7 +2595,7 @@ static int _iotx_linkkit_subdev_login(int devid)
*返 回 值: 0:成功;其他:失败 *返 回 值: 0:成功;其他:失败
*其他说明: *其他说明:
*************************************************************/ *************************************************************/
int kk_mid_subdev_add(int devType, char productCode[PRODUCT_CODE_MAXLEN], char deviceCode[DEVICE_CODE_MAXLEN],char mac[DEVICE_MAC_MAXLEN],char fatherDeviceCode[DEVICE_CODE_MAXLEN]){ int kk_mid_subdev_add(int devType, char productCode[PRODUCT_CODE_MAXLEN], char deviceCode[DEVICE_CODE_MAXLEN],char mac[DEVICE_MAC_MAXLEN],char fatherDeviceCode[DEVICE_CODE_MAXLEN],char version[32]){
int res = 0; int res = 0;
int devid = 0; int devid = 0;
int heartbeat = 0; int heartbeat = 0;
...@@ -2583,7 +2609,7 @@ int kk_mid_subdev_add(int devType, char productCode[PRODUCT_CODE_MAXLEN], char d ...@@ -2583,7 +2609,7 @@ int kk_mid_subdev_add(int devType, char productCode[PRODUCT_CODE_MAXLEN], char d
if (TSL_ALREADY_EXIST == res){ if (TSL_ALREADY_EXIST == res){
//todo //todo
}else{ }else{
res = kk_subDev_insert_db(devType,productCode,deviceCode,fatherDeviceCode,mac,"1.1.0",heartbeat); res = kk_subDev_insert_db(devType,productCode,deviceCode,fatherDeviceCode,mac,version,heartbeat);
if (res != SUCCESS_RETURN) { if (res != SUCCESS_RETURN) {
return FAIL_RETURN; return FAIL_RETURN;
} }
......
...@@ -10,7 +10,6 @@ int _iotx_linkkit_slave_connect(int devid); ...@@ -10,7 +10,6 @@ int _iotx_linkkit_slave_connect(int devid);
int _iotx_linkkit_slave_register(int devid); int _iotx_linkkit_slave_register(int devid);
void IOT_Linkkit_Yield(int timeout_ms); void IOT_Linkkit_Yield(int timeout_ms);
int IOT_Linkkit_Close(int devid); int IOT_Linkkit_Close(int devid);
int kk_mid_subdev_add(int devType, char productCode[PRODUCT_CODE_MAXLEN], char deviceCode[DEVICE_CODE_MAXLEN],char mac[DEVICE_MAC_MAXLEN],char fatherDeviceCode[DEVICE_CODE_MAXLEN]); int kk_mid_subdev_add(int devType, char productCode[PRODUCT_CODE_MAXLEN], char deviceCode[DEVICE_CODE_MAXLEN],char mac[DEVICE_MAC_MAXLEN],char fatherDeviceCode[DEVICE_CODE_MAXLEN],char version[32]);
int kk_mid_subdev_batch_add( char productCode[PRODUCT_CODE_MAXLEN], char deviceCode[DEVICE_CODE_MAXLEN],char mac[DEVICE_MAC_MAXLEN],char fatherDeviceCode[DEVICE_CODE_MAXLEN]);
int kk_service_arming_set(char *state); int kk_service_arming_set(char *state);
#endif #endif
...@@ -31,7 +31,8 @@ static int kk_check_multi_ep_num(char *deviceCode); ...@@ -31,7 +31,8 @@ static int kk_check_multi_ep_num(char *deviceCode);
static int kk_get_scenes_actions_info(cJSON *actionArray,int id); static int kk_get_scenes_actions_info(cJSON *actionArray,int id);
static int kk_get_panel_scenes_actions_info(cJSON *actionArray,int id); static int kk_get_panel_scenes_actions_info(cJSON *actionArray,int id);
static int kk_get_panel_scenes_info(cJSON *actionItem,int id);
static int kk_get_panel_scenes_allRoom_info(cJSON *actionItem,int id,char *roomId,char* productType);
typedef struct { typedef struct {
void *mutex; void *mutex;
sqlite3 *pDb; sqlite3 *pDb;
...@@ -586,11 +587,10 @@ static int kk_get_panelConfig_info(cJSON *decvies,char *deviceCode) ...@@ -586,11 +587,10 @@ static int kk_get_panelConfig_info(cJSON *decvies,char *deviceCode)
char *sqlCmd = NULL; char *sqlCmd = NULL;
sqlite3_stmt *stmt; sqlite3_stmt *stmt;
kk_sync_ctx_t *ctx = _kk_sync_get_ctx(); kk_sync_ctx_t *ctx = _kk_sync_get_ctx();
char *sceneId = NULL; char *sceneId = NULL;
char *buttonId = NULL; char *buttonId = NULL;
char *roomId = NULL;
char *productType = NULL;
int bindType = 0; int bindType = 0;
int mFlag = 0; int mFlag = 0;
...@@ -614,8 +614,16 @@ static int kk_get_panelConfig_info(cJSON *decvies,char *deviceCode) ...@@ -614,8 +614,16 @@ static int kk_get_panelConfig_info(cJSON *decvies,char *deviceCode)
sceneId = (char*)sqlite3_column_text(stmt, DB_QUICKPANEL_SCENEID); sceneId = (char*)sqlite3_column_text(stmt, DB_QUICKPANEL_SCENEID);
buttonId = (char*)sqlite3_column_text(stmt, DB_QUICKPANEL_BUTTONID); buttonId = (char*)sqlite3_column_text(stmt, DB_QUICKPANEL_BUTTONID);
bindType = (int)sqlite3_column_int(stmt,DB_QUICKPANEL_BINDTYPE); bindType = (int)sqlite3_column_int(stmt,DB_QUICKPANEL_BINDTYPE);
kk_get_panel_scenes_actions_info(action,atoi(sceneId)); if(bindType == 1){
kk_get_panel_scenes_info(action,atoi(sceneId));
}else if(bindType == 3){
roomId = (char*)sqlite3_column_text(stmt, DB_QUICKPANEL_ROOMID);
productType = (char*)sqlite3_column_text(stmt, DB_QUICKPANEL_PRODUCTTYPE);
kk_get_panel_scenes_allRoom_info(action,atoi(sceneId),roomId,productType);
}else{
kk_get_panel_scenes_actions_info(action,atoi(sceneId));
}
cJSON_AddItemToObject(item, "action", action); cJSON_AddItemToObject(item, "action", action);
cJSON_AddNumberToObject(item, "bindType", bindType); cJSON_AddNumberToObject(item, "bindType", bindType);
...@@ -636,10 +644,32 @@ static int kk_get_panelConfig_info(cJSON *decvies,char *deviceCode) ...@@ -636,10 +644,32 @@ static int kk_get_panelConfig_info(cJSON *decvies,char *deviceCode)
} }
static int _kk_deviceCode_switchto_mac(const char * deviceCode,char *mac)
{
char deviceCode_bak[33] = {0};
int i, j;
int len = strlen(deviceCode);
for(i=0; i < len; i++) /*将串s拷贝至串t*/
deviceCode_bak[i]=deviceCode[i];
deviceCode_bak[i]='\0';
for(i=0,j=0; i < len; i++){
if( i % 2 == 0 && i != 0)
{
mac[j++]=':';
mac[j++]=deviceCode_bak[i];
}
else
{
mac[j++]=deviceCode_bak[i];
}
}
mac[j]='\0'; /*在串s结尾加结束标志*/
return 0;
}
static int kk_get_sub_devices_info(cJSON *gwdevicesItem,char *deviceCode) static int kk_get_sub_devices_info(cJSON *gwdevicesItem,char *deviceCode)
{ {
char *sqlCmd = NULL; char *sqlCmd = NULL;
char macaddr[33] = {0};
//char *zErrMsg = 0; //char *zErrMsg = 0;
sqlite3_stmt *stmt; sqlite3_stmt *stmt;
kk_sync_ctx_t *ctx = _kk_sync_get_ctx(); kk_sync_ctx_t *ctx = _kk_sync_get_ctx();
...@@ -667,7 +697,8 @@ static int kk_get_sub_devices_info(cJSON *gwdevicesItem,char *deviceCode) ...@@ -667,7 +697,8 @@ static int kk_get_sub_devices_info(cJSON *gwdevicesItem,char *deviceCode)
subproductType = (char*)sqlite3_column_text(stmt, DB_SUB_PRODUCTTYPE); subproductType = (char*)sqlite3_column_text(stmt, DB_SUB_PRODUCTTYPE);
cJSON_AddStringToObject(subdevicesItem, KK_SYNC_DEVICECODE_STR, subDeviceCode); cJSON_AddStringToObject(subdevicesItem, KK_SYNC_DEVICECODE_STR, subDeviceCode);
cJSON_AddStringToObject(subdevicesItem, KK_SYNC_VERSION_STR, subVersion); cJSON_AddStringToObject(subdevicesItem, KK_SYNC_VERSION_STR, subVersion);
cJSON_AddStringToObject(subdevicesItem, KK_SYNC_MAC_STR, subDeviceCode); _kk_deviceCode_switchto_mac(subDeviceCode,macaddr);
cJSON_AddStringToObject(subdevicesItem, KK_SYNC_MAC_STR, macaddr);
cJSON_AddNumberToObject(subdevicesItem, KK_SYNC_ONLINE_STR, (strcmp(subIsline,"0")==0)?1:0); cJSON_AddNumberToObject(subdevicesItem, KK_SYNC_ONLINE_STR, (strcmp(subIsline,"0")==0)?1:0);
...@@ -701,6 +732,7 @@ static int kk_get_sub_devices_info(cJSON *gwdevicesItem,char *deviceCode) ...@@ -701,6 +732,7 @@ static int kk_get_sub_devices_info(cJSON *gwdevicesItem,char *deviceCode)
static int kk_get_gw_devices_info(cJSON *gwdevices) static int kk_get_gw_devices_info(cJSON *gwdevices)
{ {
char *sqlCmd = NULL; char *sqlCmd = NULL;
char macaddr[33] = {0};
//char *zErrMsg = 0; //char *zErrMsg = 0;
sqlite3_stmt *stmt; sqlite3_stmt *stmt;
//cJSON *gwdevicesItem = NULL; //cJSON *gwdevicesItem = NULL;
...@@ -728,7 +760,8 @@ static int kk_get_gw_devices_info(cJSON *gwdevices) ...@@ -728,7 +760,8 @@ static int kk_get_gw_devices_info(cJSON *gwdevices)
printf("gw_productCode:%s\n",gw_productCode); printf("gw_productCode:%s\n",gw_productCode);
cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_DEVICECODE_STR, gw_deviceCode); cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_DEVICECODE_STR, gw_deviceCode);
cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_VERSION_STR, gw_version); cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_VERSION_STR, gw_version);
cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_MAC_STR, gw_deviceCode); _kk_deviceCode_switchto_mac(gw_deviceCode,macaddr);
cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_MAC_STR, macaddr);
cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_NANE_STR, "GW"); cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_NANE_STR, "GW");
cJSON_AddNumberToObject(gwdevicesItem, KK_SYNC_ONLINE_STR, (strcmp(gw_isline,"0")==0)?1:0); cJSON_AddNumberToObject(gwdevicesItem, KK_SYNC_ONLINE_STR, (strcmp(gw_isline,"0")==0)?1:0);
cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_PRODUCTCODE_STR, gw_productCode); cJSON_AddStringToObject(gwdevicesItem, KK_SYNC_PRODUCTCODE_STR, gw_productCode);
...@@ -781,8 +814,90 @@ int kk_get_room_name_by_scene_id(int scene_id,char *room_name) ...@@ -781,8 +814,90 @@ int kk_get_room_name_by_scene_id(int scene_id,char *room_name)
return res; return res;
} }
static int kk_get_panel_scenes_info(cJSON *actionItem,int id)
{
char *sqlCmd = NULL;
//char *zErrMsg = 0;
sqlite3_stmt *stmt;
int scenetype = 0;
char *type = NULL;
char sceneIdStr[16] = {0};
int delay = 0,epNum = 0,scene_id=0;
kk_sync_ctx_t *ctx = _kk_sync_get_ctx();
if(actionItem == NULL){
return FAIL_RETURN;
}
const char *selectCmd = "select * from SceneInfo WHERE sceneId = '%d';";
sqlCmd = sqlite3_mprintf(selectCmd,id);
sqlite3_prepare_v2(ctx->pDb, sqlCmd, strlen(sqlCmd), &stmt, NULL);
while(sqlite3_step(stmt) == SQLITE_ROW){
scenetype = sqlite3_column_int(stmt, DB_SCENEINFO_SCENETYPE);
sprintf(sceneIdStr,"%d",id);
cJSON_AddNumberToObject(actionItem, "bindType", 1);
cJSON_AddStringToObject(actionItem, "type", "action/scene");
cJSON_AddStringToObject(actionItem, KK_SYNC_SCENEID_STR, sceneIdStr);
cJSON_AddNumberToObject(actionItem, KK_SYNC_SCENE_SCENETYPE_STR, scenetype);
break;
}
sqlite3_free(sqlCmd);
sqlite3_finalize(stmt);
return SUCCESS_RETURN;
}
static int kk_get_panel_scenes_allRoom_info(cJSON *actionItem,int id,char *roomId,char *productType)
{
char *sqlCmd = NULL;
//char *zErrMsg = 0;
sqlite3_stmt *stmt;
char *deviceCode = NULL;
char *propertyName = NULL;
char *propertyValue = NULL;
char *type = NULL;
int delay = 0,epNum = 0,scene_id=0;
kk_sync_ctx_t *ctx = _kk_sync_get_ctx();
if(actionItem == NULL){
return FAIL_RETURN;
}
sqlCmd = sqlite3_mprintf("select * from SceneActionInfo");
sqlite3_prepare_v2(ctx->pDb, sqlCmd, strlen(sqlCmd), &stmt, NULL);
while(sqlite3_step(stmt) == SQLITE_ROW){
scene_id = sqlite3_column_int(stmt, DB_SCENEACTION_SCENEID);
if(id!=scene_id){
continue ;
}
deviceCode = (char*)sqlite3_column_text(stmt, DB_SCENEACTION_DEVICECODE);
delay = sqlite3_column_int(stmt, DB_SCENEACTION_DELAY);
epNum = sqlite3_column_int(stmt, DB_SCENEACTION_EPNUM);
propertyName = (char*)sqlite3_column_text(stmt, DB_SCENEACTION_PROPERTYNAME);
propertyValue = (char*)sqlite3_column_text(stmt, DB_SCENEACTION_PROPERTYVALUE);
type = (char*)sqlite3_column_text(stmt, DB_SCENEACTION_TYPE);
cJSON_AddStringToObject(actionItem, KK_SYNC_DEVICECODE_STR, deviceCode);
cJSON_AddNumberToObject(actionItem, KK_SYNC_SCENE_DELAY_STR, delay);
cJSON_AddNumberToObject(actionItem, KK_SYNC_SCENE_EPNUM_STR, epNum);
char *propertiesbuf[64] = {0};
int num = 0;
kk_split(propertyName,"_",propertiesbuf,&num);
if(num==2){
cJSON_AddStringToObject(actionItem, KK_SYNC_SCENE_PROPERTYNAME_STR, propertiesbuf[0]);
}else{
cJSON_AddStringToObject(actionItem, KK_SYNC_SCENE_PROPERTYNAME_STR, propertyName);
}
cJSON_AddStringToObject(actionItem, KK_SYNC_SCENE_TYPE_STR, type);
cJSON_AddStringToObject(actionItem, KK_SYNC_SCENE_PROPERTYVALUE_STR, propertyValue);
cJSON_AddStringToObject(actionItem, KK_SYNC_ROOMID_STR, roomId);
cJSON_AddStringToObject(actionItem, KK_SYNC_SCENE_PRODUCTTYPE, productType);
break;
}
sqlite3_free(sqlCmd);
sqlite3_finalize(stmt);
return SUCCESS_RETURN;
}
static int kk_get_panel_scenes_actions_info(cJSON *actionItem,int id) static int kk_get_panel_scenes_actions_info(cJSON *actionItem,int id)
{ {
char *sqlCmd = NULL; char *sqlCmd = NULL;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#define KK_SYNC_SCENE_ENDTIME_STR "endTime" #define KK_SYNC_SCENE_ENDTIME_STR "endTime"
#define KK_SYNC_SCENE_CROSSDAY_STR "crossDay" #define KK_SYNC_SCENE_CROSSDAY_STR "crossDay"
#define KK_SYNC_SCENE_REPEATDAY_STR "repeat_days" #define KK_SYNC_SCENE_REPEATDAY_STR "repeat_days"
#define KK_SYNC_SCENE_PRODUCTTYPE "productType"
int kk_sync_init(void); int kk_sync_init(void);
char *kk_sync_get_info(); char *kk_sync_get_info();
......
...@@ -905,7 +905,8 @@ void kk_platMsg_handle(void* data, char* chalMark){ ...@@ -905,7 +905,8 @@ void kk_platMsg_handle(void* data, char* chalMark){
cJSON *devCode; cJSON *devCode;
cJSON *mac; cJSON *mac;
cJSON *payload; cJSON *payload;
cJSON *version;
char versionBuf[32] = {0};
json=cJSON_Parse(data); json=cJSON_Parse(data);
if (!json) { if (!json) {
WARNING_PRINT("Error before: [%s]\n","cJSON_Parse"); WARNING_PRINT("Error before: [%s]\n","cJSON_Parse");
...@@ -945,19 +946,25 @@ void kk_platMsg_handle(void* data, char* chalMark){ ...@@ -945,19 +946,25 @@ void kk_platMsg_handle(void* data, char* chalMark){
ERROR_PRINT("productCode, deviceCode mac params are error\n"); ERROR_PRINT("productCode, deviceCode mac params are error\n");
goto error; goto error;
} }
version = cJSON_GetObjectItem(jsonPay, "version");
if(version != NULL ){
memcpy(versionBuf,version->valuestring,strlen(version->valuestring));
}else{
memcpy(versionBuf,"1.1.0",strlen("1.1.0"));
}
INFO_PRINT("deviceCode productCode mac: [%s][%s] [%s] \n",devCode->valuestring, proCode->valuestring, mac->valuestring); INFO_PRINT("deviceCode productCode mac: [%s][%s] [%s] \n",devCode->valuestring, proCode->valuestring, mac->valuestring);
//判断网关还是子设备 //判断网关还是子设备
if (strcmp(info_dcode->valuestring, devCode->valuestring) == 0){ if (strcmp(info_dcode->valuestring, devCode->valuestring) == 0){
char ccu_deviceCode[DEVICE_CODE_MAXLEN] = {0}; char ccu_deviceCode[DEVICE_CODE_MAXLEN] = {0};
HAL_Get_ccuid(ccu_deviceCode); HAL_Get_ccuid(ccu_deviceCode);
kk_mid_subdev_add(KK_DM_DEVICE_GATEWAY,proCode->valuestring,devCode->valuestring, mac->valuestring,ccu_deviceCode); kk_mid_subdev_add(KK_DM_DEVICE_GATEWAY,proCode->valuestring,devCode->valuestring, mac->valuestring,ccu_deviceCode,versionBuf);
cJSON * sceneSupportStr = cJSON_GetObjectItem(jsonPay, MSG_SCENE_SUPPORT); cJSON * sceneSupportStr = cJSON_GetObjectItem(jsonPay, MSG_SCENE_SUPPORT);
if(sceneSupportStr != NULL&&!strcmp(sceneSupportStr->valuestring,"1")){ if(sceneSupportStr != NULL&&!strcmp(sceneSupportStr->valuestring,"1")){
kk_subDev_update_sceneSupport(1,devCode->valuestring); kk_subDev_update_sceneSupport(1,devCode->valuestring);
} }
kk_dm_gw_status_update_online(info_dcode->valuestring); kk_dm_gw_status_update_online(info_dcode->valuestring);
}else{ }else{
kk_mid_subdev_add(KK_DM_DEVICE_SUBDEV,proCode->valuestring,devCode->valuestring, mac->valuestring,info_dcode->valuestring); kk_mid_subdev_add(KK_DM_DEVICE_SUBDEV,proCode->valuestring,devCode->valuestring, mac->valuestring,info_dcode->valuestring,versionBuf);
} }
dm_mgr_update_timestamp_by_devicecode(devCode->valuestring,HAL_Uptimes()); dm_mgr_update_timestamp_by_devicecode(devCode->valuestring,HAL_Uptimes());
} }
......
...@@ -167,7 +167,9 @@ int kk_scene_db_init(void) ...@@ -167,7 +167,9 @@ int kk_scene_db_init(void)
buttonId varchar(255), \ buttonId varchar(255), \
bindType INTEGER, \ bindType INTEGER, \
deviceCode varchar(255), \ deviceCode varchar(255), \
sceneId varchar(255) UNIQUE)"; sceneId varchar(255), \
roomId varchar(255), \
productType varchar(255))";
if (sqlite3_exec(ctx->pDb, pPanelScene, NULL, NULL, &pcErr) != SQLITE_OK) if (sqlite3_exec(ctx->pDb, pPanelScene, NULL, NULL, &pcErr) != SQLITE_OK)
{ {
...@@ -259,18 +261,18 @@ int kk_scene_insert_scene_info(const char* roomId,const char* sceneName,int scen ...@@ -259,18 +261,18 @@ int kk_scene_insert_scene_info(const char* roomId,const char* sceneName,int scen
*其他说明: *其他说明:
*************************************************************/ *************************************************************/
int kk_scene_insert_panel_scene_info(int bindType,char *buttonId,char *deviceCode,const char* sceneId) int kk_scene_insert_panel_scene_info(int bindType,char *buttonId,char *deviceCode,const char* sceneId,const char* roomId,const char* productType)
{ {
int res = 0; int res = 0;
kk_scene_ctx_t *ctx = _kk_scene_get_ctx(); kk_scene_ctx_t *ctx = _kk_scene_get_ctx();
char *sqlCmd = NULL; char *sqlCmd = NULL;
char *zErrMsg = 0; char *zErrMsg = 0;
const char *insertCmd = "insert into QuickPanelScene (buttonId,bindType,deviceCode,sceneId) \ const char *insertCmd = "insert into QuickPanelScene (buttonId,bindType,deviceCode,sceneId,roomId,productType) \
values ('%s','%d','%s','%s');"; values ('%s','%d','%s','%s','%s','%s');";
_kk_scene_lock(); _kk_scene_lock();
sqlCmd = sqlite3_mprintf(insertCmd,buttonId,bindType,deviceCode,sceneId); sqlCmd = sqlite3_mprintf(insertCmd,buttonId,bindType,deviceCode,sceneId,roomId,productType);
res = sqlite3_exec(ctx->pDb, sqlCmd, NULL, NULL, &zErrMsg); res = sqlite3_exec(ctx->pDb, sqlCmd, NULL, NULL, &zErrMsg);
if( res != SQLITE_OK ){ if( res != SQLITE_OK ){
ERROR_PRINT("SQL error: %s\n", zErrMsg); ERROR_PRINT("SQL error: %s\n", zErrMsg);
......
...@@ -74,6 +74,8 @@ enum{ ...@@ -74,6 +74,8 @@ enum{
DB_QUICKPANEL_BINDTYPE, DB_QUICKPANEL_BINDTYPE,
DB_QUICKPANEL_DEVICECODE, DB_QUICKPANEL_DEVICECODE,
DB_QUICKPANEL_SCENEID, DB_QUICKPANEL_SCENEID,
DB_QUICKPANEL_ROOMID,
DB_QUICKPANEL_PRODUCTTYPE,
}; };
int kk_scene_delete_scene_timing(const char *sceneId); int kk_scene_delete_scene_timing(const char *sceneId);
int kk_scene_delete_scene_condition(const char *sceneId); int kk_scene_delete_scene_condition(const char *sceneId);
...@@ -94,7 +96,7 @@ int kk_scene_insert_scene_condition(const char* type,int startTime,int endTime,i ...@@ -94,7 +96,7 @@ int kk_scene_insert_scene_condition(const char* type,int startTime,int endTime,i
int kk_scene_insert_scene_info(const char* roomName,const char* name,int sceneType,int enable,const char* sceneId); int kk_scene_insert_scene_info(const char* roomName,const char* name,int sceneType,int enable,const char* sceneId);
int kk_scene_update_scene_enable(int enable,const char *sceneId); int kk_scene_update_scene_enable(int enable,const char *sceneId);
int kk_scene_db_init(void); int kk_scene_db_init(void);
int kk_scene_insert_panel_scene_info(int bindType,char *buttonId,char *deviceCode,const char* sceneId); int kk_scene_insert_panel_scene_info(int bindType,char *buttonId,char *deviceCode,const char* sceneId,const char* roomId,const char* productType);
int kk_scene_delete_quickpanel_info(char *buttonId,char* deviceCode); int kk_scene_delete_quickpanel_info(char *buttonId,char* deviceCode);
int kk_scene_delete_panel_scene_info(char *buttonId,char *deviceCode); int kk_scene_delete_panel_scene_info(char *buttonId,char *deviceCode);
int kk_scene_deleteall_panel_scene_info(char *deviceCode); int kk_scene_deleteall_panel_scene_info(char *deviceCode);
......
...@@ -1187,14 +1187,10 @@ int kk_scene_parse_scene_action(const cJSON* str,const char *sceneId,int isUpdat ...@@ -1187,14 +1187,10 @@ int kk_scene_parse_scene_action(const cJSON* str,const char *sceneId,int isUpdat
kk_subDev_set_action_by_productType(productType->valuestring,roomId->valuestring,sceneId,propertyName->valuestring, kk_subDev_set_action_by_productType(productType->valuestring,roomId->valuestring,sceneId,propertyName->valuestring,
propertyValue->valuestring,type->valuestring,idelay); propertyValue->valuestring,type->valuestring,idelay);
}else{ }else{
printf("1111\r\n");
char *str = cJSON_PrintUnformatted(propertyValue); char *str = cJSON_PrintUnformatted(propertyValue);
printf("222\r\n");
kk_subDev_set_action_by_productType(productType->valuestring,roomId->valuestring,sceneId,propertyName->valuestring, kk_subDev_set_action_by_productType(productType->valuestring,roomId->valuestring,sceneId,propertyName->valuestring,
str,type->valuestring,idelay); str,type->valuestring,idelay);
printf("333\r\n");
free(str); free(str);
printf("4444\r\n");
} }
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#define PRODUCT_CODE_MAXLEN (32 + 1) #define PRODUCT_CODE_MAXLEN (32 + 1)
#define DEVICE_CODE_MAXLEN (32 + 1) #define DEVICE_CODE_MAXLEN (32 + 1)
#define DEVICE_MAC_MAXLEN (16 + 1) #define DEVICE_MAC_MAXLEN (32 + 1)
#define DEVICE_SN_MAXLEN (32 + 1) #define DEVICE_SN_MAXLEN (32 + 1)
#define DEVICE_VERSION_MAXLEN (32 + 1) #define DEVICE_VERSION_MAXLEN (32 + 1)
......
{ {
"version": "1.4", "version": "1.4",
"update": "2021-09-06", "update": "2021-09-06",
"devices": [ "devices": [
{ {
"pid": "00068611", "pid": "00068611",
"name": "XC Wall switch 1G", "name": "XC Wall switch 1G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3001, "b_pid": 3001,
"productType":"switch", "productType":"switch",
"eps": [ "eps": [
{ {
"zid": "0103", "zid": "0103",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00068612", "pid": "00068612",
"name": "XC Wall switch 2G", "name": "XC Wall switch 2G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3002, "b_pid": 3002,
"productType":"switch", "productType":"switch",
"eps": [ "eps": [
{ {
"zid": "0103", "zid": "0103",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00068613", "pid": "00068613",
"name": "XC Wall switch 3G", "name": "XC Wall switch 3G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3003, "b_pid": 3003,
"productType":"switch", "productType":"switch",
"eps": [ "eps": [
{ {
"zid": "0103", "zid": "0103",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00048611", "pid": "00048611",
"name": "XC Scene Panel 4G", "name": "XC Scene Panel 4G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3004, "b_pid": 3004,
"productType": "scene", "productType": "scene",
"eps": [ "eps": [
{ {
"zid": "0004", "zid": "0004",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00038611", "pid": "00038611",
"name": "XC Curtain Panel 1G", "name": "XC Curtain Panel 1G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3005, "b_pid": 3005,
"productType": "curtain", "productType": "curtain",
"eps": [ "eps": [
{ {
"zid": "0203", "zid": "0203",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "server": "0000:0003:0004:0005:0006:0102"
} }
} }
] ]
}, },
{ {
"pid": "00038612", "pid": "00038612",
"name": "XC Curtain Panel 2G", "name": "XC Curtain Panel 2G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3006, "b_pid": 3006,
"productType": "curtain", "productType": "curtain",
"eps": [ "eps": [
{ {
"zid": "0203", "zid": "0203",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "server": "0000:0003:0004:0005:0006:0102"
} }
} }
] ]
}, },
{ {
"pid": "00038613", "pid": "00038613",
"name": "XC Dry Contact Curtain Panel 1G", "name": "XC Dry Contact Curtain Panel 1G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3007, "b_pid": 3007,
"productType": "curtain", "productType": "curtain",
"eps": [ "eps": [
{ {
"zid": "0203", "zid": "0203",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "server": "0000:0003:0004:0005:0006:0102"
} }
} }
] ]
}, },
{ {
"pid": "00038614", "pid": "00038614",
"name": "XC Dry Contact Curtain Panel 2G", "name": "XC Dry Contact Curtain Panel 2G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3008, "b_pid": 3008,
"productType": "curtain", "productType": "curtain",
"eps": [ "eps": [
{ {
"zid": "0203", "zid": "0203",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "server": "0000:0003:0004:0005:0006:0102"
} }
} }
] ]
}, },
{ {
"pid": "00068601", "pid": "00068601",
"name": "BJ Wall switch 1G", "name": "BJ Wall switch 1G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3009, "b_pid": 3009,
"productType":"switch", "productType":"switch",
"eps": [ "eps": [
{ {
"zid": "0103", "zid": "0103",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00068602", "pid": "00068602",
"name": "BJ Wall switch 2G", "name": "BJ Wall switch 2G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3010, "b_pid": 3010,
"productType":"switch", "productType":"switch",
"eps": [ "eps": [
{ {
"zid": "0103", "zid": "0103",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00068603", "pid": "00068603",
"name": "BJ Wall switch 3G", "name": "BJ Wall switch 3G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3011, "b_pid": 3011,
"productType":"switch", "productType":"switch",
"eps": [ "eps": [
{ {
"zid": "0103", "zid": "0103",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00038601", "pid": "00038601",
"name": "BJ Curtain Panel 1G", "name": "BJ Curtain Panel 1G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3012, "b_pid": 3012,
"productType": "curtain", "productType": "curtain",
"eps": [ "eps": [
{ {
"zid": "0203", "zid": "0203",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "server": "0000:0003:0004:0005:0006:0102"
} }
} }
] ]
}, },
{ {
"pid": "00048601", "pid": "00048601",
"name": "BJ Scene Panel 3G", "name": "BJ Scene Panel 3G",
"type": "ZR", "type": "ZR",
"ota": true, "ota": true,
"b_pid": 3013, "b_pid": 3013,
"productType": "scene", "productType": "scene",
"eps": [ "eps": [
{ {
"zid": "0004", "zid": "0004",
"cluster": { "cluster": {
"client": "0003:0019", "client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "00048602", "pid": "00048602",
"name": "BJ Quick Panel 3G", "name": "BJ Quick Panel 3G",
"type": "ZSED", "type": "ZSED",
"ota": false, "ota": false,
"b_pid": 3014, "b_pid": 3014,
"productType": "scene", "productType": "scene",
"eps": [ "eps": [
{ {
"zid": "0004", "zid": "0004",
"cluster": { "cluster": {
"client": "0003", "client": "0003",
"server": "0000:0003:0004:0005:0006" "server": "0000:0003:0004:0005:0006"
} }
} }
] ]
}, },
{ {
"pid": "0402812C", "pid": "0402812C",
"name": "BJ SOS Button", "name": "BJ SOS Button",
"type": "ZSED", "type": "ZSED",
"ota": false, "ota": false,
"b_pid": 3015, "b_pid": 3015,
"productType": "IASsensor", "productType": "IASsensor",
"eps": [ "eps": [
{ {
"zid": "0402", "ep":"1",
"zone_type":"002C", "zid": "0402",
"zone_type":"002C",
"cluster": {
"client": "0003", "cluster": {
"server": "0000:0003:0500" "client": "0003",
} "server": "0000:0003:0500"
} }
] }
}, ]
{ },
"pid": "0402802C", {
"name": "BJ SOS Panel", "pid": "0402802C",
"type": "ZR", "name": "BJ SOS Panel",
"ota": true, "type": "ZR",
"b_pid": 3016, "ota": true,
"productType": "IASsensor", "b_pid": 3016,
"productType": "IASsensor",
"eps": [
{ "eps": [
"zid": "0402", {
"zone_type":"002C", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"002C",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "00038603", },
"name": "BJ Open Window Panel 1G", {
"type": "ZR", "pid": "00038603",
"ota": true, "name": "BJ Open Window Panel 1G",
"b_pid": 3017, "type": "ZR",
"productType": "actuator", "ota": true,
"b_pid": 3017,
"eps": [ "productType": "actuator",
{
"zid": "0203", "eps": [
{
"cluster": { "zid": "0203",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0102"
] }
}, }
{ ]
"pid": "01018601", },
"name": "BJ DimmerLight Panel", {
"type": "ZR", "pid": "01018601",
"ota": true, "name": "BJ DimmerLight Panel",
"b_pid": 3018, "type": "ZR",
"productType": "lightPanel", "ota": true,
"b_pid": 3018,
"eps": [ "productType": "lightPanel",
{
"zid": "0101", "eps": [
{
"cluster": { "zid": "0101",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0008" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0008"
] }
}, }
{ ]
"pid": "00518610", },
"name": "BJ Plug Panel 10A", {
"type": "ZR", "pid": "00518610",
"ota": true, "name": "BJ Plug Panel 10A",
"b_pid": 3019, "type": "ZR",
"productType": "outlet", "ota": true,
"b_pid": 3019,
"eps": [ "productType": "outlet",
{
"zid": "0051", "eps": [
{
"cluster": { "zid": "0051",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0b04:0702" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0b04:0702"
] }
}, }
{ ]
"pid": "00518616", },
"name": "BJ Plug Panel 16A", {
"type": "ZR", "pid": "00518616",
"ota": true, "name": "BJ Plug Panel 16A",
"b_pid": 3020, "type": "ZR",
"productType": "outlet", "ota": true,
"b_pid": 3020,
"eps": [ "productType": "outlet",
{
"zid": "0051", "eps": [
{
"cluster": { "zid": "0051",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0b04:0702" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0b04:0702"
] }
}, }
{ ]
"pid": "00038602", },
"name": "BJ Dry Contact Curtain Panel 1G", {
"type": "ZR", "pid": "00038602",
"ota": true, "name": "BJ Dry Contact Curtain Panel 1G",
"b_pid": 3021, "type": "ZR",
"productType": "curtain", "ota": true,
"b_pid": 3021,
"eps": [ "productType": "curtain",
{
"zid": "0203", "eps": [
{
"cluster": { "zid": "0203",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0102"
] }
}, }
{ ]
"pid": "00068621", },
"name": "XB Wall switch 1G", {
"type": "ZR", "pid": "00068621",
"ota": true, "name": "XB Wall switch 1G",
"b_pid": 3022, "type": "ZR",
"productType":"switch", "ota": true,
"b_pid": 3022,
"eps": [ "productType":"switch",
{
"zid": "0103", "eps": [
{
"cluster": { "zid": "0103",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006"
] }
}, }
{ ]
"pid": "00068622", },
"name": "XB Wall switch 2G", {
"type": "ZR", "pid": "00068622",
"ota": true, "name": "XB Wall switch 2G",
"b_pid": 3023, "type": "ZR",
"productType":"switch", "ota": true,
"b_pid": 3023,
"eps": [ "productType":"switch",
{
"zid": "0103", "eps": [
{
"cluster": { "zid": "0103",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006"
] }
}, }
{ ]
"pid": "00068623", },
"name": "XB Wall switch 3G", {
"type": "ZR", "pid": "00068623",
"ota": true, "name": "XB Wall switch 3G",
"b_pid": 3024, "type": "ZR",
"productType":"switch", "ota": true,
"b_pid": 3024,
"eps": [ "productType":"switch",
{
"zid": "0103", "eps": [
{
"cluster": { "zid": "0103",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006"
] }
}, }
{ ]
"pid": "00048621", },
"name": "XB Scene Panel 4G", {
"type": "ZR", "pid": "00048621",
"ota": true, "name": "XB Scene Panel 4G",
"b_pid": 3025, "type": "ZR",
"productType": "scene", "ota": true,
"b_pid": 3025,
"eps": [ "productType": "scene",
{
"zid": "0004", "eps": [
{
"cluster": { "zid": "0004",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006"
] }
}, }
{ ]
"pid": "00038621", },
"name": "XB Curtain Panel 1G", {
"type": "ZR", "pid": "00038621",
"ota": true, "name": "XB Curtain Panel 1G",
"b_pid": 3026, "type": "ZR",
"productType": "curtain", "ota": true,
"b_pid": 3026,
"eps": [ "productType": "curtain",
{
"zid": "0203", "eps": [
{
"cluster": { "zid": "0203",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0102"
] }
}, }
{ ]
"pid": "00038622", },
"name": "XB Curtain Panel 2G", {
"type": "ZR", "pid": "00038622",
"ota": true, "name": "XB Curtain Panel 2G",
"b_pid": 3027, "type": "ZR",
"productType": "curtain", "ota": true,
"b_pid": 3027,
"eps": [ "productType": "curtain",
{
"zid": "0203", "eps": [
{
"cluster": { "zid": "0203",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0102" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0102"
] }
}, }
{ ]
"pid": "00803028", },
"name": "XB DimmerLight Panel", {
"type": "ZR", "pid": "00803028",
"ota": true, "name": "XB DimmerLight Panel",
"b_pid": 3028, "type": "ZR",
"productType": "lightPanel", "ota": true,
"b_pid": 3028,
"eps": [ "productType": "lightPanel",
{
"zid": "0080", "eps": [
{
"cluster": { "zid": "0080",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0008" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0008"
] }
}, }
{ ]
"pid": "00803029", },
"name": "XB Water Floor Heating Panel", {
"type": "ZR", "pid": "00803029",
"ota": true, "name": "XB Water Floor Heating Panel",
"b_pid": 3029, "type": "ZR",
"productType": "floorHeating", "ota": true,
"b_pid": 3029,
"eps": [ "productType": "floorHeating",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201"
] }
}, }
{ ]
"pid": "00803030", },
"name": "XB Electric Floor Heating Panel", {
"type": "ZR", "pid": "00803030",
"ota": true, "name": "XB Electric Floor Heating Panel",
"b_pid": 3030, "type": "ZR",
"productType": "floorHeating", "ota": true,
"b_pid": 3030,
"eps": [ "productType": "floorHeating",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201"
] }
}, }
{ ]
"pid": "00803031", },
"name": "XB Fan Coil Panel", {
"type": "ZR", "pid": "00803031",
"ota": true, "name": "XB Fan Coil Panel",
"b_pid": 3031, "type": "ZR",
"productType": "fanCoil", "ota": true,
"b_pid": 3031,
"eps": [ "productType": "fanCoil",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201:0202" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201:0202"
] }
}, }
{ ]
"pid": "00803032", },
"name": "XB Fresh Air Panel", {
"type": "ZR", "pid": "00803032",
"ota": true, "name": "XB Fresh Air Panel",
"b_pid": 3032, "type": "ZR",
"productType": "freshAir", "ota": true,
"b_pid": 3032,
"eps": [ "productType": "freshAir",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201:0202" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201:0202"
] }
}, }
{ ]
"pid": "00803033", },
"name": "XB Midea Air Condition Panel Z3KA", {
"type": "ZR", "pid": "00803033",
"ota": true, "name": "XB Midea Air Condition Panel Z3KA",
"b_pid": 3033, "type": "ZR",
"productType": "airConditioning", "ota": true,
"b_pid": 3033,
"eps": [ "productType": "airConditioning",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201:0202" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201:0202"
] }
}, }
{ ]
"pid": "00803034", },
"name": "XB Midea Air Condition Panel Z3ZA", {
"type": "ZR", "pid": "00803034",
"ota": true, "name": "XB Midea Air Condition Panel Z3ZA",
"b_pid": 3034, "type": "ZR",
"productType": "airConditioning", "ota": true,
"b_pid": 3034,
"eps": [ "productType": "airConditioning",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201:0202" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201:0202"
] }
}, }
{ ]
"pid": "00803035", },
"name": "XB Daikin Air Condition Panel Z3KA", {
"type": "ZR", "pid": "00803035",
"ota": true, "name": "XB Daikin Air Condition Panel Z3KA",
"b_pid": 3035, "type": "ZR",
"productType": "airConditioning", "ota": true,
"b_pid": 3035,
"eps": [ "productType": "airConditioning",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201:0202" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201:0202"
] }
}, }
{ ]
"pid": "00803036", },
"name": "XB MHI Air Condition Panel", {
"type": "ZR", "pid": "00803036",
"ota": true, "name": "XB MHI Air Condition Panel",
"b_pid": 3036, "type": "ZR",
"productType": "airConditioning", "ota": true,
"b_pid": 3036,
"eps": [ "productType": "airConditioning",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0201:0202" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0201:0202"
] }
}, }
{ ]
"pid": "00518620", },
"name": "XB Plug Panel 10A", {
"type": "ZR", "pid": "00518620",
"ota": true, "name": "XB Plug Panel 10A",
"b_pid": 3037, "type": "ZR",
"productType": "outlet", "ota": true,
"b_pid": 3037,
"eps": [ "productType": "outlet",
{
"zid": "0051", "eps": [
{
"cluster": { "zid": "0051",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0b04:0702" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0b04:0702"
] }
}, }
{ ]
"pid": "00518626", },
"name": "XB Plug Panel 16A", {
"type": "ZR", "pid": "00518626",
"ota": true, "name": "XB Plug Panel 16A",
"b_pid": 3038, "type": "ZR",
"productType": "outlet", "ota": true,
"b_pid": 3038,
"eps": [ "productType": "outlet",
{
"zid": "0051", "eps": [
{
"cluster": { "zid": "0051",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0b04:0702" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006:0b04:0702"
] }
}, }
{ ]
"pid": "0402002A", },
"name": "iHORN water detector", {
"type": "ZSED", "pid": "0402002A",
"ota": false, "name": "iHORN water detector",
"b_pid": 3039, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3039,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"002A", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"002A",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "0402002B", },
"name": "iHORN gas detector", {
"type": "ZSED", "pid": "0402002B",
"ota": false, "name": "iHORN gas detector",
"b_pid": 3040, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3040,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"002B", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"002B",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "04020028", },
"name": "iHORN smoke detector", {
"type": "ZSED", "pid": "04020028",
"ota": false, "name": "iHORN smoke detector",
"b_pid": 3041, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3041,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"0028", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"0028",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "0402000D", },
"name": "KPL Body Sensor", {
"type": "ZSED", "pid": "0402000D",
"ota": false, "name": "KPL Body Sensor",
"b_pid": 3042, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3042,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"000D", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"000D",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "0402010D", },
"name": "Infrared Curtain Detector", {
"type": "ZSED", "pid": "0402010D",
"ota": false, "name": "Infrared Curtain Detector",
"b_pid": 3043, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3043,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"000D", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"000D",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "04032225", },
"name": "KPL Indoor Siren", {
"type": "ZR", "pid": "04032225",
"ota": true, "name": "KPL Indoor Siren",
"b_pid": 3044, "type": "ZR",
"productType": "siren", "ota": true,
"b_pid": 3044,
"eps": [ "productType": "siren",
{
"ep":"1", "eps": [
"zid": "0403", {
"zone_type":"0225", "ep":"1",
"zid": "0403",
"cluster": { "zone_type":"0225",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "04022015", },
"name": "KPL Door Seneor", {
"type": "ZSED", "pid": "04022015",
"ota": false, "name": "KPL Door Seneor",
"b_pid": 3045, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3045,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"0015", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"0015",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "00510001", },
"name": "KIT Quick Panel", {
"type": "ZSED", "pid": "00510001",
"ota": false, "name": "KIT Quick Panel",
"b_pid": 3046, "type": "ZSED",
"productType": "scene", "ota": false,
"b_pid": 3046,
"eps": [ "productType": "scene",
{
"zid": "0002", "eps": [
{
"cluster": { "zid": "0002",
"client": "0003",
"server": "0000:0003:0006" "cluster": {
} "client": "0003",
} "server": "0000:0003:0006"
] }
}, }
{ ]
"pid": "03020000", },
"name": "KIT Environment Sensor", {
"type": "ZSED", "pid": "03020000",
"ota": false, "name": "KIT Environment Sensor",
"b_pid": 3048, "type": "ZSED",
"productType": "Environmental", "ota": false,
"b_pid": 3048,
"eps": [ "productType": "Environmental",
{
"zid": "0302", "eps": [
{
"cluster": { "zid": "0302",
"client": "0003",
"server": "0000:0003:0402:0405" "cluster": {
} "client": "0003",
} "server": "0000:0003:0402:0405"
] }
}, }
{ ]
"pid": "0402000D", },
"name": "KIT Body Sensor", {
"type": "ZSED", "pid": "0402000D",
"ota": false, "name": "KIT Body Sensor",
"b_pid": 3049, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3049,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"000D", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"000D",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "04020015", },
"name": "KIT Door Seneor", {
"type": "ZSED", "pid": "04020015",
"ota": false, "name": "KIT Door Seneor",
"b_pid": 3050, "type": "ZSED",
"productType": "IASsensor", "ota": false,
"b_pid": 3050,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"0015", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"0015",
"client": "0003",
"server": "0000:0003:0500" "cluster": {
} "client": "0003",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "04021015", },
"name": "BD Door Sensor", {
"type": "ZSED", "pid": "04021015",
"ota": true, "name": "BD Door Sensor",
"b_pid": 3051, "type": "ZSED",
"productType": "IASsensor", "ota": true,
"b_pid": 3051,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"0015", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"0015",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "03021000", },
"name": "BD Environment Sensor", {
"type": "ZSED", "pid": "03021000",
"ota": true, "name": "BD Environment Sensor",
"b_pid": 3052, "type": "ZSED",
"productType": "Environmental", "ota": true,
"b_pid": 3052,
"eps": [ "productType": "Environmental",
{
"zid": "0302", "eps": [
{
"cluster": { "zid": "0302",
"client": "0019",
"server": "0000:0001:0003:0400:0402:0405" "cluster": {
} "client": "0019",
} "server": "0000:0001:0003:0400:0402:0405"
] }
}, }
{ ]
"pid": "0402100D", },
"name": "BD Body Sensor", {
"type": "ZSED", "pid": "0402100D",
"ota": true, "name": "BD Body Sensor",
"b_pid": 3053, "type": "ZSED",
"productType": "IASsensor", "ota": true,
"b_pid": 3053,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"000D", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"000D",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "0402102C", },
"name": "BD SOS Button", {
"type": "ZSED", "pid": "0402102C",
"ota": true, "name": "BD SOS Button",
"b_pid": 3054, "type": "ZSED",
"productType": "IASsensor", "ota": true,
"b_pid": 3054,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"002C", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"002C",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "0402102A", },
"name": "BD Water Sensor", {
"type": "ZSED", "pid": "0402102A",
"ota": true, "name": "BD Water Sensor",
"b_pid": 3055, "type": "ZSED",
"productType": "IASsensor", "ota": true,
"b_pid": 3055,
"eps": [ "productType": "IASsensor",
{
"ep":"1", "eps": [
"zid": "0402", {
"zone_type":"002A", "ep":"1",
"zid": "0402",
"cluster": { "zone_type":"002A",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "00040002", },
"name": "BD Scene Button", {
"type": "ZSED", "pid": "00040002",
"ota": true, "name": "BD Scene Button",
"b_pid": 3056, "type": "ZSED",
"productType": "scene", "ota": true,
"b_pid": 3056,
"eps": [ "productType": "scene",
{
"zid": "0004", "eps": [
{
"cluster": { "zid": "0004",
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0004:0005:0006"
] }
}, }
{ ]
"pid": "04031225", },
"name": "BD Indoor Siren", {
"type": "ZR", "pid": "04031225",
"ota": true, "name": "BD Indoor Siren",
"b_pid": 3057, "type": "ZR",
"productType": "siren", "ota": true,
"b_pid": 3057,
"eps": [ "productType": "siren",
{
"ep":"1", "eps": [
"zid": "0403", {
"zone_type":"0225", "ep":"1",
"zid": "0403",
"cluster": { "zone_type":"0225",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "00803059", },
"name": "Infrared remote control", {
"type": "ZR", "pid": "00803059",
"ota": true, "name": "Infrared remote control",
"b_pid": 3059, "type": "ZR",
"productType": "remoteControl", "ota": true,
"b_pid": 3059,
"eps": [ "productType": "remoteControl",
{
"zid": "0006", "eps": [
{
"cluster": { "zid": "0006",
"client": "0003:0019",
"server": "0000:0003:0500" "cluster": {
} "client": "0003:0019",
} "server": "0000:0003:0500"
] }
}, }
{ ]
"pid": "00803062", },
"name": "Center Air Conditioning Gateway PRO", {
"type": "ZR", "pid": "00803062",
"ota": true, "name": "Center Air Conditioning Gateway PRO",
"b_pid": 3062, "type": "ZR",
"productType": "airConditioningGateway", "ota": true,
"b_pid": 3062,
"eps": [ "productType": "airConditioningGateway",
{
"zid": "0300", "eps": [
{
"cluster": { "zid": "0300",
"client": "0003:0006",
"server": "0000:0003:0004:0005:0006:0008:0201" "cluster": {
} "client": "0003:0006",
} "server": "0000:0003:0004:0005:0006:0008:0201"
] }
}, }
{ ]
"pid": "000A0001", },
"name": "YM Doorlock", {
"type": "ZSED", "pid": "000A0001",
"ota": false, "name": "YM Doorlock",
"b_pid": 3064, "type": "ZSED",
"productType": "Doorlock", "ota": false,
"b_pid": 3064,
"eps": [ "productType": "Doorlock",
{
"zid": "000A", "eps": [
{
"cluster": { "zid": "000A",
"client": "0003:0019",
"server": "0000:0001:0003:0101:0B05" "cluster": {
} "client": "0003:0019",
} "server": "0000:0001:0003:0101:0B05"
] }
}, }
{ ]
"pid": "000A0002", },
"name": "YC Doorlock", {
"type": "ZSED", "pid": "02020000",
"ota": false, "name": "DY Window Covering",
"b_pid": 3066, "type": "ZR",
"productType": "Doorlock", "ota": true,
"b_pid": 3067,
"eps": [ "productType": "curtain",
{
"zid": "000A" "eps": [
} {
] "zid": "0202",
},
{ "cluster": {
"pid": "02020000", "client": "0003:0019",
"name": "DY Window Covering", "server": "0000:0003:0004:0005:0006:0102"
"type": "ZR", }
"ota": true, }
"b_pid": 3067, ]
"productType": "curtain", },
{
"eps": [ "pid": "02020001",
{ "name": "WSD Window Covering",
"zid": "0202", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3068,
"client": "0003:0019", "productType": "curtain",
"server": "0000:0003:0004:0005:0006:0102"
} "eps": [
} {
] "zid": "0202",
},
{ "cluster": {
"pid": "02020001", "client": "0003:0019",
"name": "WSD Window Covering", "server": "0000:0003:0004:0005:0006:0102"
"type": "ZR", }
"ota": true, }
"b_pid": 3068, ]
"productType": "curtain", },
{
"eps": [ "pid": "01000002",
{ "name": "Dual Lamp Control Module",
"zid": "0202", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3069,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0004:0005:0006:0102"
} "eps": [
} {
] "zid": "0100",
},
{ "cluster": {
"pid": "01000002", "client": "0003:0019",
"name": "Dual Lamp Control Module", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3069, ]
"productType":"switch", },
{
"eps": [ "pid": "04028301",
{ "name": "Security Sensor Module",
"zid": "0100", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3070,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type": "8301",
"pid": "04028301",
"name": "Security Sensor Module", "cluster": {
"type": "ZR", "client": "0003:0019",
"ota": true, "server": "0000:0003:0004:0005:0006"
"b_pid": 3070, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "03300001",
"zid": "0402", "name": "Water Valve Controller",
"zone_type": "8301", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3071,
"client": "0003:0019", "productType": "waterValve",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0330",
},
{ "cluster": {
"pid": "03300001", "client": "0003:0019",
"name": "Water Valve Controller", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3071, ]
"productType": "waterValve", },
{
"eps": [ "pid": "03310001",
{ "name": "Gas Valve Controller",
"zid": "0330", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3072,
"client": "0003:0019", "productType": "gasValve",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0331",
},
{ "cluster": {
"pid": "03310001", "client": "0003:0019",
"name": "Gas Valve Controller", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3072, ]
"productType": "gasValve", },
{
"eps": [ "pid": "01020001",
{ "name": "Light Belt Controller",
"zid": "0331", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3073,
"client": "0003:0019", "productType": "lightPanel",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0102",
},
{ "cluster": {
"pid": "01020001", "client": "0003:0019",
"name": "Light Belt Controller", "server": "0000:0003:0004:0005:0006:0008:0300"
"type": "ZR", }
"ota": true, },
"b_pid": 3073, {
"productType": "colorDimmableLight", "zid": "0101",
"eps": [ "cluster": {
{ "client": "",
"zid": "0102", "server": "0004:0005:0006:0008"
}
"cluster": { }
"client": "0003:0019", ]
"server": "0000:0003:0004:0005:0006:0008:0300" },
} {
}, "pid": "03020001",
{ "name": "Environment Sensor",
"zid": "0101", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3076,
"client": "", "productType": "Environmental",
"server": "0004:0005:0006:0008"
} "eps": [
} {
] "zid": "0302",
},
{ "cluster": {
"pid": "03020001", "client": "0003:0019",
"name": "Environment Sensor", "server": "0000:0003:0402:0405:0400"
"type": "ZR", }
"ota": true, }
"b_pid": 3076, ]
"productType": "Environmental", },
{
"eps": [ "pid": "00068624",
{ "name": "XB Wall switch 4G",
"zid": "0302", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3078,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0402:0405:0400"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00068624", "client": "0003:0019",
"name": "XB Wall switch 4G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3078, ]
"productType":"switch", },
{
"eps": [ "pid": "00068614",
{ "name": "XC Wall switch 4G",
"zid": "0103", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3079,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00068614", "client": "0003:0019",
"name": "XC Wall switch 4G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3079, ]
"productType":"switch", },
{
"eps": [ "pid": "3050",
{ "name": "iHORN Gas Sensor",
"zid": "0103", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3080,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"002B",
"pid": "3050",
"name": "iHORN Gas Sensor", "cluster": {
"type": "ZR", "client": "0003:0019",
"ota": true, "server": "0000:0003:0500"
"b_pid": 3080, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "3041",
"zid": "0402", "name": "iHORN Smoke Sensor",
"zone_type":"002B", "type": "ZSED",
"ota": true,
"cluster": { "b_pid": 3081,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0500"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"0028",
"pid": "3041",
"name": "iHORN Smoke Sensor", "cluster": {
"type": "ZSED", "client": "0003:0019",
"ota": true, "server": "0000:0003:0500"
"b_pid": 3081, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "0402102B",
"zid": "0402", "name": "BD Gas Sensor",
"zone_type":"0028", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3082,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0500"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"002B",
"pid": "0402102B",
"name": "BD Gas Sensor", "cluster": {
"type": "ZR", "client": "0003:0019",
"ota": true, "server": "0000:0003:0500"
"b_pid": 3082, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "04021028",
"zid": "0402", "name": "BD Smoke Sensor",
"zone_type":"002B", "type": "ZSED",
"ota": true,
"cluster": { "b_pid": 3083,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0500"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"0028",
"pid": "04021028",
"name": "BD Smoke Sensor", "cluster": {
"type": "ZSED", "client": "0003:0019",
"ota": true, "server": "0000:0003:0500"
"b_pid": 3083, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "03020002",
"zid": "0402", "name": "Environment Detection Panel",
"zone_type":"0028", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3084,
"client": "0003:0019", "productType": "Environmental",
"server": "0000:0003:0500"
} "eps": [
} {
] "zid": "0302",
},
{ "cluster": {
"pid": "03020002", "client": "0003:0019",
"name": "Environment Detection Panel", "server": "0000:0003:0400:0402:0405:040D:042A:042B"
"type": "ZR", }
"ota": true, }
"b_pid": 3084, ]
"productType": "Environmental", },
{
"eps": [ "pid": "00068631",
{ "name": "HD Wall switch 1G",
"zid": "0302", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3085,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0400:0402:0405:040D:042A:042B"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00068631", "client": "0003:0019",
"name": "HD Wall switch 1G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3085, ]
"productType":"switch", },
{
"eps": [ "pid": "00068632",
{ "name": "HD Wall switch 2G",
"zid": "0103", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3086,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00068632", "client": "0003:0019",
"name": "HD Wall switch 2G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3086, ]
"productType":"switch", },
{
"eps": [ "pid": "00068633",
{ "name": "HD Wall switch 3G",
"zid": "0103", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3087,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00068633", "client": "0003:0019",
"name": "HD Wall switch 3G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3087, ]
"productType":"switch", },
{
"eps": [ "pid": "00038631",
{ "name": "HD Curtain Panel 1G",
"zid": "0103", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3088,
"client": "0003:0019", "productType": "curtain",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0203",
},
{ "cluster": {
"pid": "00038631", "client": "0003:0019",
"name": "HD Curtain Panel 1G", "server": "0000:0003:0004:0005:0006:0102"
"type": "ZR", }
"ota": true, }
"b_pid": 3088, ]
"productType": "curtain", },
{
"eps": [ "pid": "00038632",
{ "name": "HD Curtain Panel 2G",
"zid": "0203", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3089,
"client": "0003:0019", "productType": "curtain",
"server": "0000:0003:0004:0005:0006:0102"
} "eps": [
} {
] "zid": "0203",
},
{ "cluster": {
"pid": "00038632", "client": "0003:0019",
"name": "HD Curtain Panel 2G", "server": "0000:0003:0004:0005:0006:0102"
"type": "ZR", }
"ota": true, }
"b_pid": 3089, ]
"productType": "curtain", },
{
"eps": [ "pid": "00048631",
{ "name": "HD Scene Panel 4G",
"zid": "0203", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3090,
"client": "0003:0019", "productType": "scene",
"server": "0000:0003:0004:0005:0006:0102"
} "eps": [
} {
] "zid": "0004",
},
{ "cluster": {
"pid": "00048631", "client": "0003:0019",
"name": "HD Scene Panel 4G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3090, ]
"productType": "scene", },
{
"eps": [ "pid": "01018631",
{ "name": "HD Dimmable Light Panel 1G",
"zid": "0004", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3091,
"client": "0003:0019", "productType": "lightPanel",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0101",
},
{ "cluster": {
"pid": "01018631", "client": "0003:0019",
"name": "HD Dimmable Light Panel 1G", "server": "0000:0003:0004:0005:0006:0008:0B05"
"type": "ZR", }
"ota": true, }
"b_pid": 3091, ]
"productType": "lightPanel", },
{
"eps": [ "pid": "01018632",
{ "name": "HD Dimmable Light Panel 2G",
"zid": "0101", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3092,
"client": "0003:0019", "productType": "lightPanel",
"server": "0000:0003:0004:0005:0006:0008:0B05"
} "eps": [
} {
] "zid": "0101",
},
{ "cluster": {
"pid": "01018632", "client": "0003:0019",
"name": "HD Dimmable Light Panel 2G", "server": "0000:0003:0004:0005:0006:0008:0B05"
"type": "ZR", }
"ota": true, }
"b_pid": 3092, ]
"productType": "lightPanel", },
{
"eps": [ "pid": "01018633",
{ "name": "HD Dimmable Light Panel 3G",
"zid": "0101", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3093,
"client": "0003:0019", "productType": "lightPanel",
"server": "0000:0003:0004:0005:0006:0008:0B05"
} "eps": [
} {
] "zid": "0101",
},
{ "cluster": {
"pid": "01018633", "client": "0003:0019",
"name": "HD Dimmable Light Panel 3G", "server": "0000:0003:0004:0005:0006:0008:0B05"
"type": "ZR", }
"ota": true, }
"b_pid": 3093, ]
"productType": "lightPanel", },
{
"eps": [ "pid": "01010001",
{ "name": "Dimmable Light Module 1G",
"zid": "0101", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3094,
"client": "0003:0019", "productType": "lightPanel",
"server": "0000:0003:0004:0005:0006:0008:0B05"
} "eps": [
} {
] "zid": "0101",
},
{ "cluster": {
"pid": "01010001", "client": "0003:0019",
"name": "Dimmable Light Module 1G", "server": "0000:0003:0004:0005:0006:0008:0B05"
"type": "ZR", }
"ota": true, }
"b_pid": 3094, ]
"productType": "lightPanel", },
{
"eps": [ "pid": "03008611",
{ "name": "HD HVAC Air condition All in one",
"zid": "0101", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3095,
"client": "0003:0019", "productType": "airConditioning",
"server": "0000:0003:0004:0005:0006:0008:0B05"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "03008611", "client": "0003:0006",
"name": "HD HVAC Air condition All in one", "server": "0000:0003:0004:0005:0006:0201:0202"
"type": "ZR", }
"ota": true, }
"b_pid": 3095, ]
"productType": "airConditioning", },
{
"eps": [ "pid": "03008603",
{ "name": "HD HVAC Floor Heating All in one",
"zid": "0300", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3097,
"client": "0003:0006", "productType": "floorHeating",
"server": "0000:0003:0004:0005:0006:0201:0202"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "03008603", "client": "0003:0006",
"name": "HD HVAC Floor Heating All in one", "server": "0000:0003:0004:0005:0006:0201:0202"
"type": "ZR", }
"ota": true, }
"b_pid": 3097, ]
"productType": "floorHeating", },
{
"eps": [ "pid": "03008601",
{ "name": "HD HVAC Fan coil All in one",
"zid": "0300", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3098,
"client": "0003:0006", "productType": "fanCoil",
"server": "0000:0003:0004:0005:0006:0201:0202"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "03008601", "client": "0003:0006",
"name": "HD HVAC Fan coil All in one", "server": "0000:0003:0004:0005:0006:0201:0202"
"type": "ZR", }
"ota": true, }
"b_pid": 3098, ]
"productType": "fanCoil", },
{
"eps": [ "pid": "03008604",
{ "name": "HD HVAC Fresh Air All in one",
"zid": "0300", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3099,
"client": "0003:0006", "productType": "freshAir",
"server": "0000:0003:0004:0005:0006:0201:0202"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "03008604", "client": "0003:0006",
"name": "HD HVAC Fresh Air All in one", "server": "0000:0003:0004:0005:0006:0201:0202"
"type": "ZR", }
"ota": true, }
"b_pid": 3099, ]
"productType": "freshAir", },
{
"eps": [ "pid": "00518630",
{ "name": "HD Plug Panel 10A",
"zid": "0300", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3100,
"client": "0003:0006", "productType": "outlet",
"server": "0000:0003:0004:0005:0006:0201:0202"
} "eps": [
} {
] "zid": "0051",
},
{ "cluster": {
"pid": "00518630", "client": "0003:0019",
"name": "HD Plug Panel 10A", "server": "0000:0003:0004:0005:0006:0b04:0702"
"type": "ZR", }
"ota": true, }
"b_pid": 3100, ]
"productType": "outlet", },
{
"eps": [ "pid": "01018630",
{ "name": "HD SCR Dimmable Light Panel",
"zid": "0051", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3102,
"client": "0003:0019", "productType": "lightPanel",
"server": "0000:0003:0004:0005:0006:0b04:0702"
} "eps": [
} {
] "zid": "0101",
},
{ "cluster": {
"pid": "01018630", "client": "0003:0019",
"name": "HD SCR Dimmable Light Panel", "server": "0000:0003:0004:0005:0006:0008:0B05"
"type": "ZR", }
"ota": true, }
"b_pid": 3102, ]
"productType": "lightPanel", },
{
"eps": [ "pid": "00060002",
{ "name": "Offline Voice Panel",
"zid": "0101", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3104,
"client": "0003:0019", "productType": "voicePanel",
"server": "0000:0003:0004:0005:0006:0008:0B05"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00060002", "client": "0003:0019",
"name": "Offline Voice Panel", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, },
"b_pid": 3104, {
"productType": "voicePanel", "zid": "0004",
"eps": [ "cluster": {
{ "client": "0003:0019",
"zid": "0103", "server": "0000:0003:0004:0005:0006"
}
"cluster": { },
"client": "0003:0019", {
"server": "0000:0003:0004:0005:0006" "zid": "0007",
}
}, "cluster": {
{ "client": "0003:0019",
"zid": "0004", "server": "0000:0003:0008"
}
"cluster": { }
"client": "0003:0019", ]
"server": "0000:0003:0004:0005:0006" },
} {
}, "pid": "04022028",
{ "name": "KPL Smoke Sensor",
"zid": "0007", "type": "ZSED",
"ota": true,
"cluster": { "b_pid": 3105,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0008"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"0028",
"pid": "04022028",
"name": "KPL Smoke Sensor", "cluster": {
"type": "ZSED", "client": "0003:0019",
"ota": true, "server": "0000:0003:0500"
"b_pid": 3105, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "0402202B",
"zid": "0402", "name": "KPL Gas Sensor",
"zone_type":"0028", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3106,
"client": "0003:0019", "productType": "IASsensor",
"server": "0000:0003:0500"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"002B",
"pid": "0402202B",
"name": "KPL Gas Sensor", "cluster": {
"type": "ZR", "client": "0003:0019",
"ota": true, "server": "0000:0003:0500"
"b_pid": 3106, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"ep":"1", "pid": "00020003",
"zid": "0402", "name": "BJ Water cut-off panel",
"zone_type":"002B", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3108,
"client": "0003:0019", "productType": "waterValve",
"server": "0000:0003:0500"
} "eps": [
} {
] "zid": "0002",
},
{ "cluster": {
"pid": "00020003", "client": "0003:0019",
"name": "BJ Water cut-off panel", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3108, ]
"productType": "waterValve", },
{
"eps": [ "pid": "00803109",
{ "name": "Air Switch Gateway",
"zid": "0002", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3109,
"client": "0003:0019", "productType": "airSwitchGateway",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "00803109", "client": "0003:0006",
"name": "Air Switch Gateway", "server": "0000:0003:0004:0005:0006:0201:0202:fcc0"
"type": "ZR", }
"ota": true, }
"b_pid": 3109, ]
"productType": "airSwitchGateway", },
{
"eps": [ "pid": "00048612",
{ "name": "XC Scene Panel 6G",
"zid": "0300", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3110,
"client": "0003:0006", "productType": "scene",
"server": "0000:0003:0004:0005:0006:0201:0202:fcc0"
} "eps": [
} {
] "zid": "0004",
},
{ "cluster": {
"pid": "00048612", "client": "0003:0019",
"name": "XC Scene Panel 6G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3110, ]
"productType": "scene", },
{
"eps": [ "pid": "00068634",
{ "name": "HD Wall switch 4G",
"zid": "0004", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3115,
"client": "0003:0019", "productType":"switch",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0103",
},
{ "cluster": {
"pid": "00068634", "client": "0003:0019",
"name": "HD Wall switch 4G", "server": "0000:0003:0004:0005:0006"
"type": "ZR", }
"ota": true, }
"b_pid": 3115, ]
"productType":"switch", },
{
"eps": [ "pid": "00088626",
{ "name": "XB Fresh Air Panel",
"zid": "0103", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3116,
"client": "0003:0019", "productType": "freshAir",
"server": "0000:0003:0004:0005:0006"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "00088626", "client": "0003:0006",
"name": "XB Fresh Air Panel", "server": "0000:0003:0004:0005:0006:0201:0202"
"type": "ZR", }
"ota": true, }
"b_pid": 3116, ]
"productType": "freshAir", },
{
"eps": [ "pid": "03020003",
{ "name": "TQ Environment Detection",
"zid": "0300", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3119,
"client": "0003:0006", "productType": "Environmental",
"server": "0000:0003:0004:0005:0006:0201:0202"
} "eps": [
} {
] "zid": "0302",
},
{ "cluster": {
"pid": "03020003", "client": "0003:0019",
"name": "TQ Environment Detection", "server": "0000:0003:0400:0402:0405:040D:042A:042B"
"type": "ZR", }
"ota": true, }
"b_pid": 3119, ]
"productType": "Environmental", },
{
"eps": [ "pid": "00803122",
{ "name": "BL Fresh Air Gateway",
"zid": "0302", "type": "ZR",
"ota": true,
"cluster": { "b_pid": 3122,
"client": "0003:0019", "productType": "freshAirGateway",
"server": "0000:0003:0400:0402:0405:040D:042A:042B"
} "eps": [
} {
] "zid": "0300",
},
{ "cluster": {
"pid": "00803122", "client": "0003:0006",
"name": "BL Fresh Air Gateway", "server": "0000:0003:0004:0005:0006:0201:0202:fcc0"
"type": "ZR", }
"ota": true, }
"b_pid": 3122, ]
"productType": "freshAirGateway", },
{
"eps": [ "pid": "04022115",
{ "name": "XB SOS Button",
"zid": "0300", "type": "ZSED",
"ota": false,
"cluster": { "b_pid": 3124,
"client": "0003:0006", "productType": "IASsensor",
"server": "0000:0003:0004:0005:0006:0201:0202:fcc0"
} "eps": [
} {
] "ep":"1",
}, "zid": "0402",
{ "zone_type":"0115",
"pid": "04022115",
"name": "XB SOS Button", "cluster": {
"type": "ZSED", "client": "0003",
"ota": false, "server": "0000:0003:0500"
"b_pid": 3124, }
"productType": "IASsensor", }
]
"eps": [ },
{ {
"zid": "0402", "pid": "0006862A",
"zone_type":"002C", "name": "XB Singal Fire Switch 1G",
"type": "ZED",
"cluster": { "ota": true,
"client": "0003", "b_pid": 3129,
"server": "0000:0003:0500" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "0006862A", "cluster": {
"name": "XB Singal Fire Switch 1G", "client": "0003:0019",
"type": "ZED", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3129, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "0006862B",
"zid": "0103", "name": "XB Singal Fire Switch 2G",
"type": "ZED",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3130,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "0006862B", "cluster": {
"name": "XB Singal Fire Switch 2G", "client": "0003:0019",
"type": "ZED", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3130, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "0006862C",
"zid": "0103", "name": "XB Singal Fire Switch 3G",
"type": "ZED",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3131,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "0006862C", "cluster": {
"name": "XB Singal Fire Switch 3G", "client": "0003:0019",
"type": "ZED", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3131, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "03020004",
"zid": "0103", "name": "TQ Environment Detection Panel",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3132,
"server": "0000:0003:0004:0005:0006" "productType": "Environmental",
}
} "eps": [
] {
}, "zid": "0302",
{
"pid": "03020004", "cluster": {
"name": "TQ Environment Detection Panel", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0400:0402:0405:040D:042A:042B"
"ota": true, }
"b_pid": 3132, }
"productType": "Environmental", ]
},
"eps": [ {
{ "pid": "01021000",
"zid": "0302", "name": "YY Dimmalbe Light 5W",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3137,
"server": "0000:0003:0400:0402:0405:040D:042A:042B" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01021000", "cluster": {
"name": "YY Dimmalbe Light 5W", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3137, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "01000004",
"zid": "0103", "name": "Four Lamp Control Module",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3138,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01000004", "cluster": {
"name": "Four Lamp Control Module", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3138, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068651",
"zid": "0103", "name": "YH Wall switch 1G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3142,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068651", "cluster": {
"name": "YH Wall switch 1G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3142, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068652",
"zid": "0103", "name": "YH Wall switch 2G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3143,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068652", "cluster": {
"name": "YH Wall switch 2G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3143, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068653",
"zid": "0103", "name": "YH Wall switch 3G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3144,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068653", "cluster": {
"name": "YH Wall switch 3G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3144, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068654",
"zid": "0103", "name": "YH Wall switch 4G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3145,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068654", "cluster": {
"name": "YH Wall switch 4G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3145, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00048651",
"zid": "0103", "name": "YH Scene Panel 4G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3146,
"server": "0000:0003:0004:0005:0006" "productType": "scene",
}
} "eps": [
] {
}, "zid": "0004",
{
"pid": "00048651", "cluster": {
"name": "YH Scene Panel 4G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3146, }
"productType": "scene", ]
},
"eps": [ {
{ "pid": "00038651",
"zid": "0004", "name": "YH Curtain Panel 1G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3147,
"server": "0000:0003:0004:0005:0006" "productType": "curtain",
}
} "eps": [
] {
}, "zid": "0203",
{
"pid": "00038651", "cluster": {
"name": "YH Curtain Panel 1G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0102"
"ota": true, }
"b_pid": 3147, }
"productType": "curtain", ]
},
"eps": [ {
{ "pid": "00038652",
"zid": "0203", "name": "YH Curtain Panel 2G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3148,
"server": "0000:0003:0004:0005:0006:0102" "productType": "curtain",
}
} "eps": [
] {
}, "zid": "0203",
{
"pid": "00038652", "cluster": {
"name": "YH Curtain Panel 2G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0102"
"ota": true, }
"b_pid": 3148, }
"productType": "curtain", ]
},
"eps": [ {
{ "pid": "00068661",
"zid": "0203", "name": "GN Wall switch 1G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3149,
"server": "0000:0003:0004:0005:0006:0102" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068661", "cluster": {
"name": "GN Wall switch 1G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3149, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068662",
"zid": "0103", "name": "GN Wall switch 2G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3150,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068662", "cluster": {
"name": "GN Wall switch 2G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3150, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068663",
"zid": "0103", "name": "GN Wall switch 3G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3151,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068663", "cluster": {
"name": "GN Wall switch 3G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3151, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068664",
"zid": "0103", "name": "GN Wall switch 4G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3152,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068664", "cluster": {
"name": "GN Wall switch 4G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3152, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00048661",
"zid": "0103", "name": "GN Scene Panel 4G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3153,
"server": "0000:0003:0004:0005:0006" "productType": "scene",
}
} "eps": [
] {
}, "zid": "0004",
{
"pid": "00048661", "cluster": {
"name": "GN Scene Panel 4G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3153, }
"productType": "scene", ]
},
"eps": [ {
{ "pid": "00038661",
"zid": "0004", "name": "GN Curtain Panel 1G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3154,
"server": "0000:0003:0004:0005:0006" "productType": "curtain",
}
} "eps": [
] {
}, "zid": "0203",
{
"pid": "00038661", "cluster": {
"name": "GN Curtain Panel 1G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0102"
"ota": true, }
"b_pid": 3154, }
"productType": "curtain", ]
},
"eps": [ {
{ "pid": "00038662",
"zid": "0203", "name": "GN Curtain Panel 2G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3155,
"server": "0000:0003:0004:0005:0006:0102" "productType": "curtain",
}
} "eps": [
] {
}, "zid": "0203",
{
"pid": "00038662", "cluster": {
"name": "GN Curtain Panel 2G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0102"
"ota": true, }
"b_pid": 3155, }
"productType": "curtain", ]
},
"eps": [ {
{ "pid": "00068641",
"zid": "0203", "name": "MS Wall switch 1G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3156,
"server": "0000:0003:0004:0005:0006:0102" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068641", "cluster": {
"name": "MS Wall switch 1G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3156, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068642",
"zid": "0103", "name": "MS Wall switch 2G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3157,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068642", "cluster": {
"name": "MS Wall switch 2G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3157, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00068643",
"zid": "0103", "name": "MS Wall switch 3G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3158,
"server": "0000:0003:0004:0005:0006" "productType":"switch",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "00068643", "cluster": {
"name": "MS Wall switch 3G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3158, }
"productType":"switch", ]
},
"eps": [ {
{ "pid": "00048641",
"zid": "0103", "name": "MS Scene Panel 3G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3164,
"server": "0000:0003:0004:0005:0006" "productType": "scene",
}
} "eps": [
] {
}, "zid": "0004",
{
"pid": "00048641", "cluster": {
"name": "MS Scene Panel 3G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3164, }
"productType": "scene", ]
},
"eps": [ {
{ "pid": "00038641",
"zid": "0004", "name": "MS Curtain Panel 1G",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3165,
"server": "0000:0003:0004:0005:0006" "productType": "curtain",
}
} "eps": [
] {
}, "zid": "0203",
{
"pid": "00038641", "cluster": {
"name": "MS Curtain Panel 1G", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0102"
"ota": true, }
"b_pid": 3165, }
"productType": "curtain", ]
},
"eps": [ {
{ "pid": "01010004",
"zid": "0203", "name": "YY Linear Dimmalbe Light Model G4 With Level",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3166,
"server": "0000:0003:0004:0005:0006:0102" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01010004", "cluster": {
"name": "YY Linear Dimmalbe Light Model G4 With Level", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3166, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "010C0002",
"zid": "0103", "name": "YY Linear Dimmalbe Light Model G4 With ColorTemp",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3167,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "010C0002", "cluster": {
"name": "YY Linear Dimmalbe Light Model G4 With ColorTemp", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3167, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "01010014",
"zid": "0103", "name": "YY Live_Neutral_Wire Dimmalbe Light Model G4",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3168,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01010014", "cluster": {
"name": "YY Live_Neutral_Wire Dimmalbe Light Model G4", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008"
"ota": true, }
"b_pid": 3168, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "010C0021",
"zid": "0103", "name": "YY Dimmalbe Light Controler 12W With ColorTemp",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3169,
"server": "0000:0003:0004:0005:0006:0008" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "010C0021", "cluster": {
"name": "YY Dimmalbe Light Controler 12W With ColorTemp", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3169, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "01010021",
"zid": "0103", "name": "YY Dimmalbe Light Controler 12W With Level",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3170,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01010021", "cluster": {
"name": "YY Dimmalbe Light Controler 12W With Level", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008"
"ota": true, }
"b_pid": 3170, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "010C0031",
"zid": "0103", "name": "YY Dimmalbe Light Controler 20W With ColorTemp",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3171,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "010C0031", "cluster": {
"name": "YY Dimmalbe Light Controler 20W With ColorTemp", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3171, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "01010031",
"zid": "0103", "name": "YY Dimmalbe Light Controler 20W With Level",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3172,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01010031", "cluster": {
"name": "YY Dimmalbe Light Controler 20W With Level", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008"
"ota": true, }
"b_pid": 3172, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "010C0041",
"zid": "0103", "name": "YY Dimmalbe Light Controler 8W With ColorTemp",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3173,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "010C0041", "cluster": {
"name": "YY Dimmalbe Light Controler 8W With ColorTemp", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3173, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "01010041",
"zid": "0103", "name": "YY Dimmalbe Light Controler 8W With Level",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3174,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01010041", "cluster": {
"name": "YY Dimmalbe Light Controler 8W With Level", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3174, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "010C0051",
"zid": "0103", "name": "YY Dimmalbe Light Controler 14W With ColorTemp",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3175,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType":"lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "010C0051", "cluster": {
"name": "YY Dimmalbe Light Controler 14W With ColorTemp", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3175, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "01010051",
"zid": "0103", "name": "YY Dimmalbe Light Controler 14W With Level",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3176,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType": "lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "01010051", "cluster": {
"name": "YY Dimmalbe Light Controler 14W With Level", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008"
"ota": true, }
"b_pid": 3176, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "010D0062",
"zid": "0103", "name": "YY RGBCW Light Belt Controller",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3177,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType": "lightPanel",
}
} "eps": [
] {
}, "zid": "0102",
{
"pid": "010D0062", "cluster": {
"name": "YY RGBCW Light Belt Controller", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3177, }
"productType": "colorDimmableLight", ]
},
"eps": [ {
{ "pid": "010D0061",
"zid": "0102", "name": "YY CW Light Belt Controller",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3178,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType": "lightPanel",
}
} "eps": [
] {
}, "zid": "0103",
{
"pid": "010D0061", "cluster": {
"name": "YY CW Light Belt Controller", "client": "0003:0019",
"type": "ZR", "server": "0000:0003:0004:0005:0006:0008:0300"
"ota": true, }
"b_pid": 3178, }
"productType":"lightPanel", ]
},
"eps": [ {
{ "pid": "00041002",
"zid": "0103", "name": "XB KeyBord Panel G3",
"type": "ZSED",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3185,
"server": "0000:0003:0004:0005:0006:0008:0300" "productType": "scene",
}
} "eps": [
] {
}, "zid": "0004",
{
"pid": "00041002", "cluster": {
"name": "XB KeyBord Panel G3", "client": "0003:0019",
"type": "ZSED", "server": "0000:0003:0004:0005:0006"
"ota": true, }
"b_pid": 3185, }
"productType": "scene", ]
},
"eps": [ {
{ "pid": "010C8601",
"zid": "0004", "name": "GN Light Dimmalbe Panel",
"type": "ZR",
"cluster": { "ota": true,
"client": "0003:0019", "b_pid": 3191,
"server": "0000:0003:0004:0005:0006" "productType": "lightPanel",
}
} "eps": [
] {
} "zid": "0103",
]
"cluster": {
"client": "0003:0019",
"server": "0000:0003:0004:0005:0006:0008:0300"
}
}
]
},
{
"pid": "000A0002",
"name": "YC Doorlock",
"type": "ZSED",
"ota": false,
"b_pid": 4508,
"productType": "Doorlock",
"eps": [
{
"zid": "000A",
"cluster": {
"client": "0003:0019",
"server": "0000:0001:0003:0101:0B05"
}
}
]
}
]
} }
\ No newline at end of file
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -31,5 +31,5 @@ OVERRIDE_AR = arm-linux-androideabi-ar ...@@ -31,5 +31,5 @@ OVERRIDE_AR = arm-linux-androideabi-ar
OVERRIDE_LD = arm-linux-androideabi-ld OVERRIDE_LD = arm-linux-androideabi-ld
CROSS_PREFIX = arm-linux-androideabi- CROSS_PREFIX = arm-linux-androideabi-
OVERRIDE_STRIP := strip OVERRIDE_STRIP := arm-linux-androideabi-strip
File mode changed from 100755 to 100644
...@@ -31,4 +31,4 @@ OVERRIDE_AR = mips-openwrt-linux-ar ...@@ -31,4 +31,4 @@ OVERRIDE_AR = mips-openwrt-linux-ar
OVERRIDE_LD = mips-openwrt-linux-ld OVERRIDE_LD = mips-openwrt-linux-ld
CROSS_PREFIX = mips-openwrt-linux- CROSS_PREFIX = mips-openwrt-linux-
OVERRIDE_STRIP := strip OVERRIDE_STRIP := mips-openwrt-linux-strip
...@@ -32,5 +32,5 @@ OVERRIDE_AR = arm-kk-linux-gnueabihf-ar ...@@ -32,5 +32,5 @@ OVERRIDE_AR = arm-kk-linux-gnueabihf-ar
OVERRIDE_LD = arm-kk-linux-gnueabihf-ld OVERRIDE_LD = arm-kk-linux-gnueabihf-ld
CROSS_PREFIX = arm-kk-linux-gnueabihf- CROSS_PREFIX = arm-kk-linux-gnueabihf-
OVERRIDE_STRIP := strip OVERRIDE_STRIP := arm-kk-linux-gnueabihf-strip
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3015.json", "schema": "https://iot-ap.ikonke.com/model/product_3015.json",
"productType": "sensor", "productType": "sensor",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "300",
"productCode": "3015", "productCode": "3015",
"productName": "铂金系列.零火线SOS紧急呼叫面板Z3S(KONKE)" "productName": "铂金系列.零火线SOS紧急呼叫面板Z3S(KONKE)"
}, },
"services": [ "services": [
{ {
"outputData": [], "outputData": [
"inputData": [], {
"identifier": "PositioningDevice", "identifier": "SosState",
"method": "thing.service.PositioningDevice", "name": "紧急按钮告警状态",
"name": "PositioningDevice", "dataType": {
"required": true, "type": "enum",
"callType": "async", "specs": {
"desc": "设备定位" "0": "没有报警",
} "1": "报警"
], }
"properties": [ }
}
], ],
"events": [ "identifier": "get",
{ "inputData": [
"outputData": [], "SosState"
"identifier": "sosAlarm", ],
"method": "thing.event.sosAlarm.post", "method": "thing.service.property.get",
"name": "sosAlarm", "name": "get",
"type": "alarm", "required": true,
"required": true, "callType": "async",
"desc": "紧急按钮告警" "desc": "属性获取"
} },
] {
"outputData": [],
"inputData": [],
"identifier": "PositioningDevice",
"method": "thing.service.PositioningDevice",
"name": "PositioningDevice",
"required": true,
"callType": "async",
"desc": "设备定位"
}
],
"properties": [
{
"identifier": "SosState",
"name": "紧急按钮告警状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "没有报警",
"1": "报警"
}
}
},
{
"identifier": "SensorType",
"name": "安防等级",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "在家安防",
"1": "室外安防",
"2": "24小时警戒",
"3": "无警戒"
}
}
}
],
"events": [
{
"outputData": [],
"identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post",
"name": "sosAlarm",
"type": "alarm",
"required": true,
"desc": "紧急按钮告警"
}
]
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"productType": "sensor", "productType": "sensor",
"version": "1.1", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "1200",
"productCode": "3082", "productCode": "3082",
"productName": "邦德系列.燃气报警器(KONKE)" "productName": "邦德系列.燃气报警器(KONKE)"
}, },
......
{ {
"schema": "https://iot-ap.ikonke.com/model/product_3124.json", "schema": "https://iot-ap.ikonke.com/model/product_3124.json",
"productType": "sensor", "productType": "sensor",
"version": "1.0", "version": "1.1",
"profile": { "profile": {
"heartbeat": "300", "heartbeat": "1200",
"productCode": "3124", "productCode": "3124",
"productName": "肖邦系列.零火线SOS紧急呼叫面板Z3S(KONKE)" "productName": "肖邦系列.零火线SOS紧急呼叫面板Z3S(KONKE)"
}, },
"services": [ "services": [
{ {
"outputData": [], "outputData": [
"inputData": [], {
"identifier": "PositioningDevice", "identifier": "SosState",
"method": "thing.service.PositioningDevice", "name": "紧急按钮告警状态",
"name": "PositioningDevice", "dataType": {
"required": true, "type": "enum",
"callType": "async", "specs": {
"desc": "设备定位" "0": "没有报警",
} "1": "报警"
], }
"properties": [ }
}
], ],
"events": [ "identifier": "get",
{ "inputData": [
"outputData": [], "SosState"
"identifier": "sosAlarm", ],
"method": "thing.event.sosAlarm.post", "method": "thing.service.property.get",
"name": "sosAlarm", "name": "get",
"type": "alarm", "required": true,
"required": true, "callType": "async",
"desc": "紧急按钮告警" "desc": "属性获取"
} },
] {
"outputData": [],
"inputData": [],
"identifier": "PositioningDevice",
"method": "thing.service.PositioningDevice",
"name": "PositioningDevice",
"required": true,
"callType": "async",
"desc": "设备定位"
}
],
"properties": [
{
"identifier": "SosState",
"name": "紧急按钮告警状态",
"accessMode": "r",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "没有报警",
"1": "报警"
}
}
},
{
"identifier": "SensorType",
"name": "安防等级",
"accessMode": "rw",
"required": true,
"dataType": {
"type": "enum",
"specs": {
"0": "在家安防",
"1": "室外安防",
"2": "24小时警戒",
"3": "无警戒"
}
}
}
],
"events": [
{
"outputData": [],
"identifier": "sosAlarm",
"method": "thing.event.sosAlarm.post",
"name": "sosAlarm",
"type": "alarm",
"required": true,
"desc": "紧急按钮告警"
}
]
} }
\ No newline at end of file
File mode changed from 100755 to 100644
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment