提交 28d49cfc authored 作者: blu's avatar blu

bugfix: status handling issue

上级 a7125014
...@@ -16,70 +16,72 @@ query configuration for edge device with specified sn ...@@ -16,70 +16,72 @@ query configuration for edge device with specified sn
- example - example
``` ```
{ {
"code": 0, "data":{
"data": { "V2I0C7KC":{
"NMXH73Y2": { "addr":"127.0.0.1",
"addr": "127.0.0.1", "apiCloud":"http://127.0.0.1:8089",
"api-cloud": "http://127.0.0.1:8089", "ipcs":[
"ipcs": [ {
{ "addr":"172.31.0.129",
"addr": "172.31.0.51", "modules":{
"modules": { "evml":[
"evml": [ {
{ "area":200,
"area": 300, "enabled":1,
"enabled": 1, "iid":1,
"iid": 1, "post":30,
"post": 30, "pre":4,
"pre": 3, "sn":"V2I0C7KC",
"sn": "NMXH73Y2", "thresh":30,
"thresh": 80, "entropy": 0.3,
"type": "motion" "type":"motion"
} }
], ],
"evpuller": [ "evpuller":[
{ {
"addr": "127.0.0.1", "addr":"127.0.0.1",
"enabled": 1, "iid":1,
"iid": 1, "enabled": 1,
"port-pub": 5556, "portPub":5556,
"sn": "NMXH73Y2" "sn":"V2I0C7KC"
} }
], ],
"evpusher": [ "evpusher":[
{ {
"enabled": 1, "enabled":1,
"iid": 1, "iid":2,
"password": "", "password":"",
"sn": "NMXH73Y2", "sn":"V2I0C7KC",
"token": "", "token":"",
"urlDest": "rtsp://40.73.41.176:554/test1", "urlDest":"rtsp://40.73.41.176/V2I0C7KC",
"user": "" "user":""
} }
], ],
"evslicer": [ "evslicer":[
{ {
"enabled": 1, "enabled":1,
"iid": 1, "iid":1,
"path": "slices", "path":"slices",
"sn": "NMXH73Y2" "sn":"V2I0C7KC",
} "videoServerAddr": "http://40.73.41.176:10009/upload/evtvideos/"
] }
}, ]
"password": "FWBWTU", },
"port": 554, "password":"iLabService",
"proto": "rtsp", "port":554,
"user": "admin" "proto":"rtsp",
} "user":"admin",
], "sn": "V2I0C7KC"
"mqtt-cloud": "<cloud_addr>", }
"port-cloud": 5556, ],
"port-router": 5550, "mqttCloud":"<cloud_addr>",
"proto": "zmq", "portCloud":5556,
"sn": "NMXH73Y2" "portRouter":5550,
} "proto":"zmq",
}, "sn":"V2I0C7KC"
"msg": "ok" }
},
"lastupdated":1567669674
} }
``` ```
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论