thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

[BUG] Device type (profile) is not applied

Open devaskim opened this issue 1 year ago • 1 comments

Describe the bug

This issue is reproduced both if profile (type) is previously created on a server or not. On previous versions on gateway/server new profile is automatically created.

While debugging with PyCharm debugger, I see that device type is properly resolved by JSON converter and data packet is passed to gateway core.

JSON Converter configuration:

    {
      "topicFilter": "ESA/Toilet/Mandosi/Boys/D1",
      "converter": {
        "type": "json",
        "deviceNameTopicExpression": "(?<=ESA/Toilet/)(.*?)/(.*?)/D\\d{1,}",
        "deviceTypeTopicExpression": "Toilets Controller",
        "sendDataOnlyOnChange": false,
        "timeout": 60000,
        "attributes": [],
        "timeseries": "*"
      }
    }

Скриншот 29-09-2024 134943

Connector name (If bug in the some connector): MQTT

Versions (please complete the following information):

  • Deployment: docker compose
  • Thingsboard IoT Gateway version [e.g. 3.5.2]
  • Thingsboard Server: CE 3.7.0
  • Python version[e.g. 3.7]

devaskim avatar Sep 29 '24 08:09 devaskim

We are facing the same issue, device profile is not getting created.

khoahoangqenergy avatar Oct 16 '24 14:10 khoahoangqenergy

@imbeacon @samson0v Any thoughts?

devaskim avatar Nov 22 '24 06:11 devaskim