Skip to content

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

@slibutti

Description

@slibutti

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions