This commit is contained in:
parent
417f51294d
commit
4f7f5a2c94
|
|
@ -318,6 +318,52 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"topicFilter": "/topic/v1/airportFly/+/control/data",
|
||||
"subscriptionQos": 1,
|
||||
"converter": {
|
||||
"type": "json",
|
||||
"deviceInfo": {
|
||||
"deviceNameExpression": "(?<=airportFly/)[^/]+(?=/control)",
|
||||
"deviceNameExpressionSource": "topic",
|
||||
"deviceProfileExpressionSource": "constant",
|
||||
"deviceProfileExpression": "default"
|
||||
},
|
||||
"attributes": [],
|
||||
"timeseries": [
|
||||
{
|
||||
"key": "lifter_status",
|
||||
"type": "integer",
|
||||
"value": "${data.lifter}"
|
||||
},
|
||||
{
|
||||
"key": "holder_x_status",
|
||||
"type": "integer",
|
||||
"value": "${data.holderX}"
|
||||
},
|
||||
{
|
||||
"key": "holder_y_status",
|
||||
"type": "integer",
|
||||
"value": "${data.holderY}"
|
||||
},
|
||||
{
|
||||
"key": "controller_status",
|
||||
"type": "integer",
|
||||
"value": "${data.controller}"
|
||||
},
|
||||
{
|
||||
"key": "hatch_status",
|
||||
"type": "integer",
|
||||
"value": "${data.hatch}"
|
||||
},
|
||||
{
|
||||
"key": "drone_status",
|
||||
"type": "integer",
|
||||
"value": "${data.drone}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestsMapping": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue