Skip to content

Firmware Update Notification/Callback #92

Description

@omar-digibox

Hi,
I want to implement the OTA firmware update on my device and I am using the TBDeviceMqttClient. I managed to configure Thingsboard to automatically receive the firmware update binary and Thingsboard goes into state UPDATED. Unfortunately on the device I do not notice when the firmware update was successfully received, so I don't know when the device should start the updating the system. Is there a plan to implement a notification going from the SDK to the client caller via for example a callback once the firmware update is in state UPDATED.

For example I want to register a callback which is called in function __on_firmware_received.
https://github.com/thingsboard/thingsboard-python-client-sdk/blob/master/tb_device_mqtt.py#L802

This would allow me to further process the downloaded firmware.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions