2021-11-30 thingsboard 客户端SDK无法OTA的bug
2021-11-30, github上最新的thingsboard_python_client_sdk的代码里面有个bug,导致使用OTA升级时,设备端无法发现新的升级固件。
**
解决方法:
**
在tb_device_mqtt.py中line 326,原始代码为:
if message.topic.startswith("v1/devices/me/attributes/"):
修改为
if message.topic.startswith("v1/devices/me/attributes/") and (FW_VERSION_ATTR.encode() in message.payload):
**
欢迎扫码加入Thingsboard技术交流QQ群。
**