提交 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.51", "addr":"172.31.0.129",
"modules": { "modules":{
"evml": [ "evml":[
{ {
"area": 300, "area":200,
"enabled": 1, "enabled":1,
"iid": 1, "iid":1,
"post": 30, "post":30,
"pre": 3, "pre":4,
"sn": "NMXH73Y2", "sn":"V2I0C7KC",
"thresh": 80, "thresh":30,
"type": "motion" "entropy": 0.3,
"type":"motion"
} }
], ],
"evpuller": [ "evpuller":[
{ {
"addr": "127.0.0.1", "addr":"127.0.0.1",
"iid":1,
"enabled": 1, "enabled": 1,
"iid": 1, "portPub":5556,
"port-pub": 5556, "sn":"V2I0C7KC"
"sn": "NMXH73Y2"
} }
], ],
"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", "password":"iLabService",
"port": 554, "port":554,
"proto": "rtsp", "proto":"rtsp",
"user": "admin" "user":"admin",
"sn": "V2I0C7KC"
} }
], ],
"mqtt-cloud": "<cloud_addr>", "mqttCloud":"<cloud_addr>",
"port-cloud": 5556, "portCloud":5556,
"port-router": 5550, "portRouter":5550,
"proto": "zmq", "proto":"zmq",
"sn": "NMXH73Y2" "sn":"V2I0C7KC"
} }
}, },
"msg": "ok" "lastupdated":1567669674
} }
``` ```
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论