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

[HELP] 'Attribute updates config not found' in MQTT connector #271

Closed
slibutti opened this issue Apr 1, 2020 · 1 comment
Closed

[HELP] 'Attribute updates config not found' in MQTT connector #271

slibutti opened this issue Apr 1, 2020 · 1 comment
Assignees

Comments

@slibutti
Copy link
Contributor

slibutti commented Apr 1, 2020

Hi, I'm trying to setup the MQTT connector to receive attributes updates.
The gateway is up and running: I am able to post telemetry and receive RPCs;
however, when updating attributes, notifications arrive to the gateway but are
nor processed by the MQTT connector.

Relevant part of mqtt.json
"attributeUpdates": [ { "deviceNameFilter": "GALA_ASSET_.*", "attributeFilter": "something", "topicExpression": "gala/${deviceName}/${attributeKey}", "valueExpression": "{\"${attributeKey}\":\"${attributeValue}\"}" } ],

Relevant part of service.log
Note: from this, it seems that the update reaches the gateway

''2020-04-01 12:43:12' - DEBUG - tb_gateway_service - 488 - Attribute request received with content: "{'device': 'GALA_ASSET_1_NODE_2', 'data': {'something': 'some_value_1'}}"''

Relevant part of connector.log
''2020-04-01 12:43:12' - ERROR - mqtt_connector - 309 - Attribute updates config not found.'

System info

  • OS: Ubuntu 18.04
  • Thingsboard IoT Gateway version 2.2.4
  • Python 3.6.9
imbeacon added a commit that referenced this issue Apr 1, 2020
@imbeacon
Copy link
Member

imbeacon commented Apr 1, 2020

Hi @slibutti

Thank you for your interest inThingsBoard IoT gateway.
It was a bug, i fixed it and if you install the version from master branch, you will get it.
How to install the gateway from sources - you can read here. Or you can wait for next release, I will publish new pre-release in several days.

@slibutti slibutti closed this as completed Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants