Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya Protocol 3.4 for TH05 Support #131

Open
mag2352 opened this issue Jun 25, 2024 · 0 comments
Open

Tuya Protocol 3.4 for TH05 Support #131

mag2352 opened this issue Jun 25, 2024 · 0 comments

Comments

@mag2352
Copy link

mag2352 commented Jun 25, 2024

I've been taking a look at the TH05, and other similar tuya temperature sensors. It seems that they use version 3.4 of the protocol, which is why even if you change the UUIDs hardcoded into this integration, the integration still does not work (the device will disconnect after the initial messages are sent). Does anyone know what would need to be done in order to implement version 3.4 of the protocol (it seems like this integration only works with devices that use 3.3, and possibly older protocol versions)?

The following two links has some information about what I believe is version 3.4 of the protocol. It does appear that there are some differences in the 3.4 and 3.3 message structure/encryption, but I'm not sure. If anyone is familiar with LocalTuya or any similar project, is the protocol implementation for this Bluetooth integration similar (WiFi vs Bluetooth aside)?

https://images.tuyacn.com/goat/pdf/1707099794487/%E8%93%9D%E7%89%99%E9%85%8D%E7%BD%91_TuyaOS_TuyaOS.pdf
https://github.com/hjytry/tuya-ble-sdk

@mag2352 mag2352 changed the title Tuya Protocol 3.4 Tuya Protocol 3.4 for TH05 Support Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant