Closed pickedbrian closed 2 years ago
Hi @pickedbrian, to be honest, I don't really understand the description of the problem. Please, describe the steps to reproduce your problem (including data that you send and receive). Thanks for your interest in ThingsBoard IoT Gateway!
Describe the issue After I received the converted message, the gateway reported an error, and after publishing the message the gateway no longer worked. Is there a possible reason, is it the tingsboard?
Configuration (Attach your configuration file) Notate: Remove Access token from file if you want to attach a tb_gateway.yaml
Connector name (If you need help with some connector/converter): { "broker": { "name": "Default Local Broker", "host": "192.168.10.30", "port": 1883, "clientId": "ThingsBoard_gateway", "maxMessageNumberPerWorker": 10, "maxNumberOfWorkers": 100, "security": { "type": "anonymous" } }, "mapping": [ { "topicFilter": "/sensor/data", "converter": { "type": "json", "deviceNameJsonExpression": "${serialNumber}", "deviceTypeJsonExpression": "${sensorType}", "timeout": 60000, "attributes": [ { "type": "string", "key": "model", "value": "${sensorModel}" }, { "type": "string", "key": "${sensorModel}", "value": "on" } ], "timeseries": [ { "type": "double", "key": "temperature", "value": "${temp}" }, { "type": "double", "key": "humidity", "value": "${hum}" }, { "type": "string", "key": "combine", "value": "${hum}:${temp}" } ] } }, { "topicFilter": "/sensor/+/data", "converter": { "type": "json", "deviceNameTopicExpression": "(?<=sensor\/)(.*?)(?=\/data)", "deviceTypeTopicExpression": "Thermometer", "timeout": 60000, "attributes": [ { "type": "string", "key": "model", "value": "${sensorModel}" } ], "timeseries": [ { "type": "double", "key": "temperature", "value": "${temp}" }, { "type": "double", "key": "humidity", "value": "${hum}" } ] } } ] }
Error traceback (If it was raised):
Versions (please complete the following information):