-
Notifications
You must be signed in to change notification settings - Fork 77
Description
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.