Skip to content

Tuya ota #1564

@dreschpe

Description

@dreschpe

Hello,
I try to enable OTA with a Tuya TYZS5 module.
I think I have found some bugs in the definition of the Tuya-specific commands.

In cluster.ts mcuVersionRequest is defined as ID 0x11. According to the documentation it has to be 0x0B.
This explains the repeated sending, as the command is never acknowledged.

mcuOtaNotify is 0x12 - has to be 0x0C dezimal - hex error

mcuOtaBlockDataResponse is 0x14 - has to be 0x0D

Also, for the command response :

mcuVersionResponse is 0x11 has to be 0x0B

mcuOtaBlockDataRequest is 0x13 has to be 0x0D

mcuOtaResult is 0x15 has to be 0x0E

Best Regards,
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions