fix: 初始化数据

V0.5.x
jay 2023-06-14 14:20:31 +08:00
parent da6548e9d8
commit 747baf5adf
10 changed files with 108 additions and 108 deletions

View File

@ -1,6 +1,6 @@
[ [
{ {
"id": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "id": "1",
"code": "DingTalk", "code": "DingTalk",
"title": "钉钉", "title": "钉钉",
"icon": "http://www.baidu.com", "icon": "http://www.baidu.com",

View File

@ -2,7 +2,7 @@
{ {
"id": "g3", "id": "g3",
"name": "组3", "name": "组3",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"remark": "2223333", "remark": "2223333",
"deviceQty": 7, "deviceQty": 7,
"createAt": 0 "createAt": 0
@ -10,7 +10,7 @@
{ {
"id": "g2", "id": "g2",
"name": "组2", "name": "组2",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"remark": "222", "remark": "222",
"deviceQty": 12, "deviceQty": 12,
"createAt": 0 "createAt": 0
@ -18,7 +18,7 @@
{ {
"id": "g1", "id": "g1",
"name": "分组1", "name": "分组1",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"remark": "1111", "remark": "1111",
"deviceQty": 10, "deviceQty": 10,
"createAt": 0 "createAt": 0

View File

@ -5,7 +5,7 @@
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"deviceName": "MENCI0001008", "deviceName": "MENCI0001008",
"secret": "rMAweEJrE7cxbQWa", "secret": "rMAweEJrE7cxbQWa",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -31,7 +31,7 @@
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"deviceName": "MENCI0001007", "deviceName": "MENCI0001007",
"secret": "eN4PjDhH4yx4mrmi", "secret": "eN4PjDhH4yx4mrmi",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -57,7 +57,7 @@
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"deviceName": "MENCI0001006", "deviceName": "MENCI0001006",
"secret": "ePSkE7bzGMsR6rTs", "secret": "ePSkE7bzGMsR6rTs",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -83,7 +83,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001007", "deviceName": "LINGHT001007",
"secret": "mkQiSDk4rF3EWKFM", "secret": "mkQiSDk4rF3EWKFM",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -112,7 +112,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001006", "deviceName": "LINGHT001006",
"secret": "p72KAZyTA42zi8cJ", "secret": "p72KAZyTA42zi8cJ",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -137,7 +137,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001005", "deviceName": "LINGHT001005",
"secret": "xnKZZyPKj2rH6ee3", "secret": "xnKZZyPKj2rH6ee3",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -166,7 +166,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001004", "deviceName": "LINGHT001004",
"secret": "PDkTxHPfw2H4WZjQ", "secret": "PDkTxHPfw2H4WZjQ",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -191,7 +191,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001016", "deviceName": "PULG0A001016",
"secret": "3KdPNBKZEyDGaNYK", "secret": "3KdPNBKZEyDGaNYK",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -216,7 +216,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001015", "deviceName": "PULG0A001015",
"secret": "TBwbHJdJBQCpGdHi", "secret": "TBwbHJdJBQCpGdHi",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -241,7 +241,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001014", "deviceName": "PULG0A001014",
"secret": "86pTYbQxxX3wd2FR", "secret": "86pTYbQxxX3wd2FR",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -266,7 +266,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001013", "deviceName": "PULG0A001013",
"secret": "FtxYcTM5p6B5GyPk", "secret": "FtxYcTM5p6B5GyPk",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -291,7 +291,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001012", "deviceName": "PULG0A001012",
"secret": "5yHFHseBHDbCK3eZ", "secret": "5yHFHseBHDbCK3eZ",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -316,7 +316,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001011", "deviceName": "PULG0A001011",
"secret": "pGC4z4TrbjZhii2m", "secret": "pGC4z4TrbjZhii2m",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -341,7 +341,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001010", "deviceName": "PULG0A001010",
"secret": "HMxT2rQ55bzeRNJx", "secret": "HMxT2rQ55bzeRNJx",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -366,7 +366,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001009", "deviceName": "PULG0A001009",
"secret": "Z6yMp6D6mHKMjFi7", "secret": "Z6yMp6D6mHKMjFi7",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -391,7 +391,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001008", "deviceName": "PULG0A001008",
"secret": "Ek3ZjwPayCymDxhN", "secret": "Ek3ZjwPayCymDxhN",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -416,7 +416,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001007", "deviceName": "PULG0A001007",
"secret": "NnnHaibdHJXMxNbC", "secret": "NnnHaibdHJXMxNbC",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -441,7 +441,7 @@
"productKey": "Eit3kmGJtxSHfCKT", "productKey": "Eit3kmGJtxSHfCKT",
"deviceName": "2475b491e72541f7ad60ee9025d8430e", "deviceName": "2475b491e72541f7ad60ee9025d8430e",
"secret": "bWkiEmY6wKM8WQP5", "secret": "bWkiEmY6wKM8WQP5",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false "online": false
@ -459,7 +459,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001006", "deviceName": "PULG0A001006",
"secret": "FFSdNXDRJbnE8fm2", "secret": "FFSdNXDRJbnE8fm2",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [ "subUid": [
"04c6722f-9a6d-40f3-ac9b-cd791b4c8933" "04c6722f-9a6d-40f3-ac9b-cd791b4c8933"
], ],
@ -497,7 +497,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001005", "deviceName": "PULG0A001005",
"secret": "CN8ZGpcAheAbsDn2", "secret": "CN8ZGpcAheAbsDn2",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -516,7 +516,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001004", "deviceName": "PULG0A001004",
"secret": "S4SDRKscRXAn43bc", "secret": "S4SDRKscRXAn43bc",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -541,7 +541,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001003", "deviceName": "PULG0A001003",
"secret": "7N4S6eYzMCjA7YfK", "secret": "7N4S6eYzMCjA7YfK",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -560,7 +560,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001002", "deviceName": "PULG0A001002",
"secret": "Jm7ecfyXawiend8K", "secret": "Jm7ecfyXawiend8K",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -585,7 +585,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "PULG0A001001", "deviceName": "PULG0A001001",
"secret": "rtsZbST3tiJHccbe", "secret": "rtsZbST3tiJHccbe",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -610,7 +610,7 @@
"productKey": "eDhXKwEzwFybM5R7", "productKey": "eDhXKwEzwFybM5R7",
"deviceName": "SWITCH03001005", "deviceName": "SWITCH03001005",
"secret": "PXHwHXH4a8YJzZ3S", "secret": "PXHwHXH4a8YJzZ3S",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -637,7 +637,7 @@
"productKey": "eDhXKwEzwFybM5R7", "productKey": "eDhXKwEzwFybM5R7",
"deviceName": "SWITCH03001004", "deviceName": "SWITCH03001004",
"secret": "BQj5SZetsC3eGtfM", "secret": "BQj5SZetsC3eGtfM",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -664,7 +664,7 @@
"productKey": "eDhXKwEzwFybM5R7", "productKey": "eDhXKwEzwFybM5R7",
"deviceName": "SWITCH03001003", "deviceName": "SWITCH03001003",
"secret": "mbs4PsY4atEtzcA3", "secret": "mbs4PsY4atEtzcA3",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -691,7 +691,7 @@
"productKey": "eDhXKwEzwFybM5R7", "productKey": "eDhXKwEzwFybM5R7",
"deviceName": "SWITCH03001002", "deviceName": "SWITCH03001002",
"secret": "4nrNrjnFMSQZB562", "secret": "4nrNrjnFMSQZB562",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -718,7 +718,7 @@
"productKey": "eDhXKwEzwFybM5R7", "productKey": "eDhXKwEzwFybM5R7",
"deviceName": "SWITCH03001001", "deviceName": "SWITCH03001001",
"secret": "Js66kBbXRjXmcpMB", "secret": "Js66kBbXRjXmcpMB",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -739,7 +739,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01008", "deviceName": "WENSHIDU01008",
"secret": "pGxKYrNJC7rDhsr8", "secret": "pGxKYrNJC7rDhsr8",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -758,7 +758,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01007", "deviceName": "WENSHIDU01007",
"secret": "ZxDQeQ8jhMrfx8eE", "secret": "ZxDQeQ8jhMrfx8eE",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -777,7 +777,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01006", "deviceName": "WENSHIDU01006",
"secret": "fEbdXEayedpBx6wk", "secret": "fEbdXEayedpBx6wk",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -796,7 +796,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01005", "deviceName": "WENSHIDU01005",
"secret": "Crm28CTD6iw7hYw5", "secret": "Crm28CTD6iw7hYw5",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -815,7 +815,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01004", "deviceName": "WENSHIDU01004",
"secret": "FkCQGREXYCmjzxaZ", "secret": "FkCQGREXYCmjzxaZ",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -834,7 +834,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001003", "deviceName": "LINGHT001003",
"secret": "JwKxnDWGrRcP8xAJ", "secret": "JwKxnDWGrRcP8xAJ",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -853,7 +853,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001002", "deviceName": "LINGHT001002",
"secret": "xrX2mrkQwf3YYaWc", "secret": "xrX2mrkQwf3YYaWc",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -872,7 +872,7 @@
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"deviceName": "LINGHT001001", "deviceName": "LINGHT001001",
"secret": "diRBkEREDt47MzWF", "secret": "diRBkEREDt47MzWF",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -891,7 +891,7 @@
"productKey": "hdX3PCMcFrCYpesJ", "productKey": "hdX3PCMcFrCYpesJ",
"deviceName": "FAN0001003", "deviceName": "FAN0001003",
"secret": "fR3R3i8BYDKWAiDj", "secret": "fR3R3i8BYDKWAiDj",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false "online": false
@ -906,7 +906,7 @@
"productKey": "hdX3PCMcFrCYpesJ", "productKey": "hdX3PCMcFrCYpesJ",
"deviceName": "FAN0001002", "deviceName": "FAN0001002",
"secret": "t3NYS5p7ExYaWKx4", "secret": "t3NYS5p7ExYaWKx4",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false "online": false
@ -921,7 +921,7 @@
"productKey": "hdX3PCMcFrCYpesJ", "productKey": "hdX3PCMcFrCYpesJ",
"deviceName": "FAN0001001", "deviceName": "FAN0001001",
"secret": "KSpeRjXRP8H7tcAn", "secret": "KSpeRjXRP8H7tcAn",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false "online": false
@ -936,7 +936,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01003", "deviceName": "WENSHIDU01003",
"secret": "DSBbhJW7cGXRWeZA", "secret": "DSBbhJW7cGXRWeZA",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -955,7 +955,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01002", "deviceName": "WENSHIDU01002",
"secret": "5bm8pNYcdj7YPMXn", "secret": "5bm8pNYcdj7YPMXn",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -974,7 +974,7 @@
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"deviceName": "WENSHIDU01001", "deviceName": "WENSHIDU01001",
"secret": "neSfPnhsjCsQiCQx", "secret": "neSfPnhsjCsQiCQx",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -993,7 +993,7 @@
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"deviceName": "MENCI0001003", "deviceName": "MENCI0001003",
"secret": "2D2k8mmHbi2AMh8G", "secret": "2D2k8mmHbi2AMh8G",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1013,7 +1013,7 @@
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"deviceName": "MENCI0001002", "deviceName": "MENCI0001002",
"secret": "AQHQJTQ2iXkncb3C", "secret": "AQHQJTQ2iXkncb3C",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1033,7 +1033,7 @@
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"deviceName": "MENCI0001001", "deviceName": "MENCI0001001",
"secret": "PwYEKSARBJjD4y6B", "secret": "PwYEKSARBJjD4y6B",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1053,7 +1053,7 @@
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"deviceName": "TEST0012301", "deviceName": "TEST0012301",
"secret": "C8YxCycFFeQDPKX4", "secret": "C8YxCycFFeQDPKX4",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1074,7 +1074,7 @@
"deviceName": "ABE12500001", "deviceName": "ABE12500001",
"model": "M1", "model": "M1",
"parentId": "16514626212240aabbccee01000000143", "parentId": "16514626212240aabbccee01000000143",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1097,7 +1097,7 @@
"productKey": "hbtgIA0SuVw9lxjB", "productKey": "hbtgIA0SuVw9lxjB",
"deviceName": "AA:BB:CC:DD:10", "deviceName": "AA:BB:CC:DD:10",
"model": "GW01", "model": "GW01",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false, "online": false,
@ -1115,7 +1115,7 @@
"deviceName": "ABE12400001", "deviceName": "ABE12400001",
"model": "S1", "model": "S1",
"parentId": "16514626212240aabbccee01000000143", "parentId": "16514626212240aabbccee01000000143",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1176,7 +1176,7 @@
"deviceId": "16514626212240aabbccee01000000143", "deviceId": "16514626212240aabbccee01000000143",
"productKey": "N523nWsCiG3CAn6X", "productKey": "N523nWsCiG3CAn6X",
"deviceName": "AA:BB:CC:EE:01", "deviceName": "AA:BB:CC:EE:01",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1196,7 +1196,7 @@
"deviceName": "F4CCE4FEFFBD1BEC", "deviceName": "F4CCE4FEFFBD1BEC",
"model": "device", "model": "device",
"parentId": "165017126122400cefafcfee61000012b", "parentId": "165017126122400cefafcfee61000012b",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1541,7 +1541,7 @@
"deviceName": "ABD12300002", "deviceName": "ABD12300002",
"model": "F01", "model": "F01",
"parentId": "16465226744430aabbccdd22000000143", "parentId": "16465226744430aabbccdd22000000143",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false, "online": false,
@ -1563,7 +1563,7 @@
"deviceName": "ABD12300001", "deviceName": "ABD12300001",
"model": "F01", "model": "F01",
"parentId": "16465226744430aabbccdd22000000143", "parentId": "16465226744430aabbccdd22000000143",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false, "online": false,
@ -1583,7 +1583,7 @@
"deviceName": "ABC12300003", "deviceName": "ABC12300003",
"model": "S01", "model": "S01",
"parentId": "16465226744430aabbccdd22000000143", "parentId": "16465226744430aabbccdd22000000143",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1604,7 +1604,7 @@
"deviceName": "ABC12300002", "deviceName": "ABC12300002",
"model": "S01", "model": "S01",
"parentId": "16465226744430aabbccdd22000000143", "parentId": "16465226744430aabbccdd22000000143",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": true, "online": true,
@ -1623,7 +1623,7 @@
"deviceId": "16465226744430aabbccdd22000000143", "deviceId": "16465226744430aabbccdd22000000143",
"productKey": "hbtgIA0SuVw9lxjB", "productKey": "hbtgIA0SuVw9lxjB",
"deviceName": "AA:BB:CC:DD:22", "deviceName": "AA:BB:CC:DD:22",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false, "online": false,
@ -1639,7 +1639,7 @@
"deviceId": "168187356997901234567891230000120", "deviceId": "168187356997901234567891230000120",
"productKey": "BRD3x4fkKxkaxXFt", "productKey": "BRD3x4fkKxkaxXFt",
"deviceName": "123456789123", "deviceName": "123456789123",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"subUid": [], "subUid": [],
"state": { "state": {
"online": false, "online": false,
@ -1655,7 +1655,7 @@
"deviceId": "168191541600402017121609130000126", "deviceId": "168191541600402017121609130000126",
"productKey": "PwMfpXmp4ZWkGahn", "productKey": "PwMfpXmp4ZWkGahn",
"deviceName": "201712160913", "deviceName": "201712160913",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"parentId": "168187356997901234567891230000120", "parentId": "168187356997901234567891230000120",
"subUid": [], "subUid": [],
"state": { "state": {

View File

@ -4,7 +4,7 @@
"name": "调光灯", "name": "调光灯",
"category": "light", "category": "light",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1650174777304 "createAt": 1650174777304
}, },
{ {
@ -13,7 +13,7 @@
"name": "智能风扇", "name": "智能风扇",
"category": "fan", "category": "fan",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1646571291131 "createAt": 1646571291131
}, },
{ {
@ -21,7 +21,7 @@
"name": "GW01网关", "name": "GW01网关",
"category": "gateway", "category": "gateway",
"nodeType": 0, "nodeType": 0,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/hbtgIA0SuVw9lxjB/cover.jpg?Expires=1967598154&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=2gh2jad14mVHGvWThwOd%2FykiB5g%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/hbtgIA0SuVw9lxjB/cover.jpg?Expires=1967598154&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=2gh2jad14mVHGvWThwOd%2FykiB5g%3D",
"transparent": false, "transparent": false,
"createAt": 1652238155938 "createAt": 1652238155938
@ -31,7 +31,7 @@
"name": "三路开关", "name": "三路开关",
"category": "switch", "category": "switch",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/eDhXKwEzwFybM5R7/cover.jpeg?Expires=1967598172&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ZrFgANkomVEDQRV5JdmONL0S2sY%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/eDhXKwEzwFybM5R7/cover.jpeg?Expires=1967598172&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ZrFgANkomVEDQRV5JdmONL0S2sY%3D",
"transparent": false, "transparent": false,
"createAt": 1652238173536 "createAt": 1652238173536
@ -41,7 +41,7 @@
"name": "插座", "name": "插座",
"category": "SmartPlug", "category": "SmartPlug",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/cGCrkK7Ex4FESAwe/cover.jpeg?Expires=1967598137&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=vOjqav0pRZqQFgx8xBo99WhgWXk%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/cGCrkK7Ex4FESAwe/cover.jpeg?Expires=1967598137&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=vOjqav0pRZqQFgx8xBo99WhgWXk%3D",
"transparent": false, "transparent": false,
"createAt": 1652238138626 "createAt": 1652238138626
@ -51,7 +51,7 @@
"name": "一路开关", "name": "一路开关",
"category": "switch", "category": "switch",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/Rf4QSjbm65X45753/cover.jpeg?Expires=1967598145&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ksQhmEm5Rn7C7FFqY09o9l%2BZ%2BIQ%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/Rf4QSjbm65X45753/cover.jpeg?Expires=1967598145&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ksQhmEm5Rn7C7FFqY09o9l%2BZ%2BIQ%3D",
"transparent": false, "transparent": false,
"createAt": 1652238147123 "createAt": 1652238147123
@ -61,7 +61,7 @@
"name": "门磁", "name": "门磁",
"category": "door", "category": "door",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "null", "img": "null",
"createAt": 1650190400357 "createAt": 1650190400357
}, },
@ -70,7 +70,7 @@
"name": "ZGW01", "name": "ZGW01",
"category": "gateway", "category": "gateway",
"nodeType": 0, "nodeType": 0,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/N523nWsCiG3CAn6X/cover.jpg?Expires=1967597641&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=%2BaGcHBT%2FHA3s%2BrZ687U50b4YE0A%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/N523nWsCiG3CAn6X/cover.jpg?Expires=1967597641&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=%2BaGcHBT%2FHA3s%2BrZ687U50b4YE0A%3D",
"transparent": false, "transparent": false,
"createAt": 1652237643216 "createAt": 1652237643216
@ -80,7 +80,7 @@
"name": "燃气表", "name": "燃气表",
"category": "meter", "category": "meter",
"nodeType": 2, "nodeType": 2,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"transparent": false, "transparent": false,
"createAt": 1654237604221 "createAt": 1654237604221
}, },
@ -89,7 +89,7 @@
"name": "通断器", "name": "通断器",
"category": "switch", "category": "switch",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/DSGxxKk6E8mmDk6C/cover.jpeg?Expires=1967598201&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=k2PqHc%2BI14DfCwD8kQIflwoBAog%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/DSGxxKk6E8mmDk6C/cover.jpeg?Expires=1967598201&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=k2PqHc%2BI14DfCwD8kQIflwoBAog%3D",
"transparent": false, "transparent": false,
"createAt": 1652238202310 "createAt": 1652238202310
@ -99,7 +99,7 @@
"name": "四路场景面板", "name": "四路场景面板",
"category": "switch", "category": "switch",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1650187781637 "createAt": 1650187781637
}, },
{ {
@ -107,7 +107,7 @@
"name": "smart pulg", "name": "smart pulg",
"category": "SmartPlug", "category": "SmartPlug",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/AWcJnf7ymGSkaz5M/cover.jpeg?Expires=1967598035&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=tXzWH5%2B4JNcnuTFrJbvGwsbx97c%3D", "img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/AWcJnf7ymGSkaz5M/cover.jpeg?Expires=1967598035&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=tXzWH5%2B4JNcnuTFrJbvGwsbx97c%3D",
"transparent": true, "transparent": true,
"createAt": 1652279098100 "createAt": 1652279098100
@ -117,7 +117,7 @@
"name": "温湿度传感器", "name": "温湿度传感器",
"category": "sensor", "category": "sensor",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1649653149339 "createAt": 1649653149339
}, },
{ {
@ -125,7 +125,7 @@
"name": "新风", "name": "新风",
"category": "FreshAir", "category": "FreshAir",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1649653149339 "createAt": 1649653149339
}, },
{ {
@ -133,7 +133,7 @@
"name": "智能电表采集器", "name": "智能电表采集器",
"category": "gateway", "category": "gateway",
"nodeType": 0, "nodeType": 0,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1649653149339 "createAt": 1649653149339
}, },
{ {
@ -141,7 +141,7 @@
"name": "智能电表", "name": "智能电表",
"category": "SmartMeter", "category": "SmartMeter",
"nodeType": 1, "nodeType": 1,
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1649653149339 "createAt": 1649653149339
} }
] ]

View File

@ -1,7 +1,7 @@
[ [
{ {
"id": "eabb131d-8fd1-43a8-88d9-a198abfd3d42", "id": "eabb131d-8fd1-43a8-88d9-a198abfd3d42",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "MQTT标准协议组件", "name": "MQTT标准协议组件",
"type": "device", "type": "device",
"protocol": "mqtt", "protocol": "mqtt",
@ -14,7 +14,7 @@
}, },
{ {
"id": "6c095554-35e7-4e9d-a8d2-bb919e9479f4", "id": "6c095554-35e7-4e9d-a8d2-bb919e9479f4",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "EMQX标准协议组件", "name": "EMQX标准协议组件",
"type": "device", "type": "device",
"protocol": "mqtt", "protocol": "mqtt",
@ -27,7 +27,7 @@
}, },
{ {
"id": "3ababc5e-15e9-45a7-8f38-2a6afd45c780", "id": "3ababc5e-15e9-45a7-8f38-2a6afd45c780",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "小度音箱接入组件", "name": "小度音箱接入组件",
"type": "biz", "type": "biz",
"protocol": "http", "protocol": "http",
@ -40,7 +40,7 @@
}, },
{ {
"id": "2c089bb8-0412-449e-94f1-212d35a50219", "id": "2c089bb8-0412-449e-94f1-212d35a50219",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "WEBSOCKET服务端", "name": "WEBSOCKET服务端",
"type": "device", "type": "device",
"protocol": "websocket", "protocol": "websocket",
@ -54,7 +54,7 @@
, ,
{ {
"id": "305a8b86-4566-4f2a-a57f-f84ca47471a1", "id": "305a8b86-4566-4f2a-a57f-f84ca47471a1",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "DLT645电表通讯组件", "name": "DLT645电表通讯组件",
"type": "device", "type": "device",
"protocol": "tcp", "protocol": "tcp",

View File

@ -1,28 +1,28 @@
[ [
{ {
"id": "62995ba4dbf51a5ec41d5f7b", "id": "62995ba4dbf51a5ec41d5f7b",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "自定义表计协议", "name": "自定义表计协议",
"desc": "用于燃气表的协议", "desc": "用于燃气表的协议",
"createAt": 1654217636597 "createAt": 1654217636597
}, },
{ {
"id": "628ceb14addfdb2a3b4b5727", "id": "628ceb14addfdb2a3b4b5727",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "奇特HTTP标准协议", "name": "奇特HTTP标准协议",
"desc": "奇特HTTP标准协议转换器", "desc": "奇特HTTP标准协议转换器",
"createAt": 1653402388275 "createAt": 1653402388275
}, },
{ {
"id": "6260396d67aced2696184053", "id": "6260396d67aced2696184053",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "奇特MQTT标准协议", "name": "奇特MQTT标准协议",
"desc": "奇特MQTT标准协议转换器", "desc": "奇特MQTT标准协议转换器",
"createAt": 1650473325173 "createAt": 1650473325173
}, },
{ {
"id": "d7e84930-5460-4638-aa3f-e0c2015628f4", "id": "d7e84930-5460-4638-aa3f-e0c2015628f4",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "WS标准协议", "name": "WS标准协议",
"desc": "WS标准协议转换器", "desc": "WS标准协议转换器",
"createAt": 1650473325173 "createAt": 1650473325173

View File

@ -29,7 +29,7 @@
"config": "{\"id\":\"de533da1-18cb-48ef-b913-22bdd96dcac9\",\"type\":\"http\",\"services\":[{\"url\":\"http://localhost:8087/aligenie/push\",\"script\":\"this.translate=function(msg){\\n var data={};\\n for(var p in msg.data){\\n\\tdata[p]=msg.data[p];\\n }\\n \\nreturn {\\n\\t//指定相对路径\\n path:\\\"/\\\",\\n method:\\\"post\\\",\\n header:{\\n //指定请求头\\n contentType:\\\"application/json; charset=utf-8\\\"\\n },\\n body:JSON.stringify({\\n deviceId:msg.deviceId,\\n type:msg.type,\\n identifier:msg.identifier,\\n data:data\\n })\\n }\\n}\"}]}" "config": "{\"id\":\"de533da1-18cb-48ef-b913-22bdd96dcac9\",\"type\":\"http\",\"services\":[{\"url\":\"http://localhost:8087/aligenie/push\",\"script\":\"this.translate=function(msg){\\n var data={};\\n for(var p in msg.data){\\n\\tdata[p]=msg.data[p];\\n }\\n \\nreturn {\\n\\t//指定相对路径\\n path:\\\"/\\\",\\n method:\\\"post\\\",\\n header:{\\n //指定请求头\\n contentType:\\\"application/json; charset=utf-8\\\"\\n },\\n body:JSON.stringify({\\n deviceId:msg.deviceId,\\n type:msg.type,\\n identifier:msg.identifier,\\n data:data\\n })\\n }\\n}\"}]}"
} }
], ],
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"state": "stopped", "state": "stopped",
"desc": "ss", "desc": "ss",
"createAt": 1649218592640 "createAt": 1649218592640
@ -60,7 +60,7 @@
"config": "{\"id\":\"35781aae-360f-4931-9d72-69f27e326e68\",\"type\":\"http\",\"services\":[{\"url\":\"https://xiaodu.baidu.com/saiya/smarthome/changereport\",\"script\":\"this.translate=function(msg,device){\\n var pk=msg.productKey;\\n var attributeName=\\\"\\\";\\n //插座/开关\\n if(pk==\\\"cGCrkK7Ex4FESAwe\\\" || pk==\\\"Rf4QSjbm65X45753\\\"){\\n\\tattributeName=\\\"turnOnState\\\";\\n }\\n //取openUid\\n var tag=device.tag;\\n if(!tag || !tag.duerosOpenUid){\\n\\treturn null;\\n }\\n var openUid=tag.duerosOpenUid.value;\\n \\n return {\\n \\\"path\\\":\\\"\\\",\\n \\\"method\\\":\\\"post\\\",\\n \\\"header\\\":{\\n //指定请求头\\n \\\"contentType\\\":\\\"application/json; charset=utf-8\\\"\\n },\\n \\\"body\\\":JSON.stringify({\\n\\t \\\"header\\\": {\\n\\t\\t \\\"namespace\\\": \\\"DuerOS.ConnectedHome.Control\\\",\\n\\t\\t \\\"name\\\": \\\"ChangeReportRequest\\\",\\n\\t\\t \\\"messageId\\\": new Date().getTime()+\\\"\\\",\\n\\t\\t \\\"payloadVersion\\\": \\\"1\\\"\\n\\t },\\n\\t \\\"payload\\\": {\\n\\t\\t \\\"botId\\\": \\\"eb20e515-f505-8d31-abef-46da3345f114\\\",\\n\\t\\t \\\"openUid\\\": openUid,\\n\\t\\t \\\"appliance\\\": {\\n\\t\\t\\t \\\"applianceId\\\": msg.deviceId,\\n\\t\\t\\t \\\"attributeName\\\": attributeName\\n\\t\\t }\\n\\t }\\n \\t})\\n }\\n}\"}]}" "config": "{\"id\":\"35781aae-360f-4931-9d72-69f27e326e68\",\"type\":\"http\",\"services\":[{\"url\":\"https://xiaodu.baidu.com/saiya/smarthome/changereport\",\"script\":\"this.translate=function(msg,device){\\n var pk=msg.productKey;\\n var attributeName=\\\"\\\";\\n //插座/开关\\n if(pk==\\\"cGCrkK7Ex4FESAwe\\\" || pk==\\\"Rf4QSjbm65X45753\\\"){\\n\\tattributeName=\\\"turnOnState\\\";\\n }\\n //取openUid\\n var tag=device.tag;\\n if(!tag || !tag.duerosOpenUid){\\n\\treturn null;\\n }\\n var openUid=tag.duerosOpenUid.value;\\n \\n return {\\n \\\"path\\\":\\\"\\\",\\n \\\"method\\\":\\\"post\\\",\\n \\\"header\\\":{\\n //指定请求头\\n \\\"contentType\\\":\\\"application/json; charset=utf-8\\\"\\n },\\n \\\"body\\\":JSON.stringify({\\n\\t \\\"header\\\": {\\n\\t\\t \\\"namespace\\\": \\\"DuerOS.ConnectedHome.Control\\\",\\n\\t\\t \\\"name\\\": \\\"ChangeReportRequest\\\",\\n\\t\\t \\\"messageId\\\": new Date().getTime()+\\\"\\\",\\n\\t\\t \\\"payloadVersion\\\": \\\"1\\\"\\n\\t },\\n\\t \\\"payload\\\": {\\n\\t\\t \\\"botId\\\": \\\"eb20e515-f505-8d31-abef-46da3345f114\\\",\\n\\t\\t \\\"openUid\\\": openUid,\\n\\t\\t \\\"appliance\\\": {\\n\\t\\t\\t \\\"applianceId\\\": msg.deviceId,\\n\\t\\t\\t \\\"attributeName\\\": attributeName\\n\\t\\t }\\n\\t }\\n \\t})\\n }\\n}\"}]}"
} }
], ],
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"state": "running", "state": "running",
"desc": "开关插座开关状态推送", "desc": "开关插座开关状态推送",
"createAt": 1652515471242 "createAt": 1652515471242
@ -87,7 +87,7 @@
"config": "{\"id\":\"fde024b5-5105-4639-8602-d04300613af9\",\"type\":\"device\",\"services\":[{\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"powerSwitch\",\"value\":\"1\"}]},{\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"windSpeed\",\"value\":\"20\"}]}]}" "config": "{\"id\":\"fde024b5-5105-4639-8602-d04300613af9\",\"type\":\"device\",\"services\":[{\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"powerSwitch\",\"value\":\"1\"}]},{\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"windSpeed\",\"value\":\"20\"}]}]}"
} }
], ],
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"state": "stopped", "state": "stopped",
"desc": "test", "desc": "test",
"createAt": 1649167998895 "createAt": 1649167998895

View File

@ -12,9 +12,9 @@
} }
], ],
"state": "stopped", "state": "stopped",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"createAt": 1645928016031, "createAt": 1645928016031,
"reason": "stop by fa1c5eaa-de6e-48b6-805e-8f091c7bb831" "reason": "stop by 1"
}, },
{ {
"id": "667bbfa1-a7ed-4ce8-9ce0-cfa8cac90e6c", "id": "667bbfa1-a7ed-4ce8-9ce0-cfa8cac90e6c",

View File

@ -2,7 +2,7 @@
{ {
"id": "629e1d7fa176d816952f1e81", "id": "629e1d7fa176d816952f1e81",
"uid": "13480802157", "uid": "13480802157",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F78574F4778613764564338594E666770595A376177", "secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F78574F4778613764564338594E666770595A376177",
"nickName": "song2", "nickName": "song2",
"type": 1, "type": 1,
@ -18,7 +18,7 @@
{ {
"id": "6286886077b91b031115e6a6", "id": "6286886077b91b031115e6a6",
"uid": "guest1", "uid": "guest1",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "演示账户", "nickName": "演示账户",
"secret": "48774861346645676F51324A4D6E6639306E6474437741634C4333746C4575666C316F76503455542B5836763065315A2F676244695056557356704D49513569", "secret": "48774861346645676F51324A4D6E6639306E6474437741634C4333746C4575666C316F76503455542B5836763065315A2F676244695056557356704D49513569",
"type": 0, "type": 0,
@ -31,9 +31,9 @@
"createAt": 1647592821770 "createAt": 1647592821770
}, },
{ {
"id": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "id": "1",
"uid": "iotkit", "uid": "iotkit",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "管理员", "nickName": "管理员",
"secret": "6E49354D37437030564370666E48486150524B3134743258735059354D75324F6532594478654C47767535614C6C6E767139625170774E576477785A34513369", "secret": "6E49354D37437030564370666E48486150524B3134743258735059354D75324F6532594478654C47767535614C6C6E767139625170774E576477785A34513369",
"type": 0, "type": 0,
@ -50,7 +50,7 @@
{ {
"id": "a1051e81-f4fc-4182-a750-1a53a27f4c71", "id": "a1051e81-f4fc-4182-a750-1a53a27f4c71",
"uid": "du2", "uid": "du2",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "小度接入2", "nickName": "小度接入2",
"type": 1, "type": 1,
"roles": [ "roles": [
@ -64,7 +64,7 @@
{ {
"id": "5c0bea53-a318-42ed-a7c5-6e05e6db4ef2", "id": "5c0bea53-a318-42ed-a7c5-6e05e6db4ef2",
"uid": "tm3", "uid": "tm3",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "天猫精灵test3", "nickName": "天猫精灵test3",
"type": 1, "type": 1,
"roles": [ "roles": [
@ -78,7 +78,7 @@
{ {
"id": "2bb3e6f1-17ba-4bf5-9d5e-85fdffd8b85d", "id": "2bb3e6f1-17ba-4bf5-9d5e-85fdffd8b85d",
"uid": "du1", "uid": "du1",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "小度接入1", "nickName": "小度接入1",
"secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A", "secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A",
"type": 1, "type": 1,
@ -94,7 +94,7 @@
{ {
"id": "0ca377e2-66ff-49f3-90c3-108a86bc90eb", "id": "0ca377e2-66ff-49f3-90c3-108a86bc90eb",
"uid": "tm1", "uid": "tm1",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "天猫精灵1", "nickName": "天猫精灵1",
"type": 1, "type": 1,
"roles": [ "roles": [
@ -108,7 +108,7 @@
{ {
"id": "04c6722f-9a6d-40f3-ac9b-cd791b4c8933", "id": "04c6722f-9a6d-40f3-ac9b-cd791b4c8933",
"uid": "18126045687", "uid": "18126045687",
"ownerId": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "ownerId": "1",
"nickName": "song", "nickName": "song",
"secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A", "secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A",
"type": 1, "type": 1,

View File

@ -1,7 +1,7 @@
[ [
{ {
"id":"6293953092084e2df303ba3e", "id":"6293953092084e2df303ba3e",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "三路开关", "name": "三路开关",
"productKey": "eDhXKwEzwFybM5R7", "productKey": "eDhXKwEzwFybM5R7",
"devices": [ "devices": [
@ -20,7 +20,7 @@
}, },
{ {
"id":"629391ae92084e2df303ba3d", "id":"629391ae92084e2df303ba3d",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "温湿度传感器", "name": "温湿度传感器",
"productKey": "6kYp6jszrDns2yh4", "productKey": "6kYp6jszrDns2yh4",
"devices": [ "devices": [
@ -44,7 +44,7 @@
}, },
{ {
"id": "629390f492084e2df303ba3c", "id": "629390f492084e2df303ba3c",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "调光灯", "name": "调光灯",
"productKey": "xpsYHExTKPFaQMS7", "productKey": "xpsYHExTKPFaQMS7",
"devices": [ "devices": [
@ -65,7 +65,7 @@
}, },
{ {
"id": "62925cb72002b44c15caeb1c", "id": "62925cb72002b44c15caeb1c",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "虚拟门磁1", "name": "虚拟门磁1",
"productKey": "PN3EDmkBZDD8whDd", "productKey": "PN3EDmkBZDD8whDd",
"devices": [ "devices": [
@ -86,7 +86,7 @@
}, },
{ {
"id": "628fd800fba69e633a972e12", "id": "628fd800fba69e633a972e12",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "开关1", "name": "开关1",
"productKey": "Rf4QSjbm65X45753", "productKey": "Rf4QSjbm65X45753",
"devices": [ "devices": [
@ -102,7 +102,7 @@
}, },
{ {
"id": "628fa6bc1b735b73cb260042", "id": "628fa6bc1b735b73cb260042",
"uid": "fa1c5eaa-de6e-48b6-805e-8f091c7bb831", "uid": "1",
"name": "虚拟插座12", "name": "虚拟插座12",
"productKey": "cGCrkK7Ex4FESAwe", "productKey": "cGCrkK7Ex4FESAwe",
"devices": [ "devices": [