[HELP] How to update device firmware through the ThingsBoard Gateway?
Describe the issue
Dear ThingsBoard team,
I am currently using the ThingsBoard Gateway solution, which has an MQTT connector. Following the official example, I assigned a device firmware through the ThingsBoard UI. According to the logs, I only received information such as fw_title, fw_version, fw_tag, fw_size, fw_checksum_algorithm, and fw_checksum, but did not receive the firmware download URL. Moreover, the logs indicate that fw_url is marked as deleted.
I have checked all the available documentation for the ThingsBoard Gateway, but I did not find any examples or instructions about upgrading a device through the Gateway. Could you please advise on the official recommended way to upgrade my device through the Gateway?
Connector name (If you need help with some connector/converter): MQTT Connector
Error traceback (If it was raised):
2025-06-30 16:35:29.857 - |ERROR| - [mqtt_connector.py] - mqtt_connector - on_attributes_update - 837 - Cannot find attributeName by filter in message with data: {'device': 'TEST', 'data': {'deleted': ['fw_checksum_algorithm', 'fw_version', 'fw_ts', 'fw_tag', 'fw_checksum', 'fw_title', 'fw_state', 'fw_size', 'fw_url']}}
2025-06-30 16:35:49.877 - |ERROR| - [mqtt_connector.py] - mqtt_connector - on_attributes_update - 837 - Cannot find attributeName by filter in message with data: {'device': 'TEST', 'data': {'deleted': ['fw_url']}}
2025-06-30 16:35:49.895 - |ERROR| - [mqtt_connector.py] - mqtt_connector - on_attributes_update - 837 - Cannot find attributeName by filter in message with data: {'device': 'TEST', 'data': {'fw_title': 'TEST', 'fw_version': 'V1.2.0', 'fw_tag': TEST V1.2.0', 'fw_size': 30720, 'fw_checksum_algorithm': 'SHA256', 'fw_checksum': 'dcde030164b3ac55719a7d78c014ed85d5b227002fada0566a22e76ccc7cb3ac'}}
Versions (please complete the following information):
- OS: [Ubuntu 20.04]
- Thingsboard IoT Gateway version [3.7.5]
- Python version[e.g. 3.1.2]
Hi @JamesLebron,
Unfortunately, it is not possible, the firmware update for devices, connected through the gateway is not implemented on ThingsBoard side. We can add the firmware/software update to the gateway devices as soon as it will be released in ThingsBoard. You can open the issue (Feature request) on the following repository https://github.com/thingsboard/thingsboard/issues.