Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Device type (profile) is not applied #1547

Open
devaskim opened this issue Sep 29, 2024 · 1 comment
Open

[BUG] Device type (profile) is not applied #1547

devaskim opened this issue Sep 29, 2024 · 1 comment
Assignees
Labels

Comments

@devaskim
Copy link
Contributor

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]
@khoahoangqenergy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants