From 4f7f5a2c944b51e1bc3ab1be027afb44cf05a311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BA=91?= Date: Sat, 7 Feb 2026 09:16:02 +0800 Subject: [PATCH] xx --- docker/thingsboard/tuoheng.conf | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/docker/thingsboard/tuoheng.conf b/docker/thingsboard/tuoheng.conf index a5f9cbb..9660b18 100644 --- a/docker/thingsboard/tuoheng.conf +++ b/docker/thingsboard/tuoheng.conf @@ -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": {