-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
Support new Tuya BLE? #1063
Comments
##Advertising packages: UUID 0xFD50 - TUYA BLE PROTOCOL VERSION 4
adv - always transmitted. ##Adv contains: before bond - device pid, after bond - encrypted device_id with login_key and device_id ##Packet bytes, except for standard identifiers, are formed as follows: [7] pid_len+7 Clarification https://github.com/tuya/tuya-ble-sdk/blob/main/sdk/src/tuya_ble_main.c#L453 |
Thanks for the info. I'm afraid this will be difficult (for me) to add. Will give it a try later. I assume temperature and humidity are in [15...] code, after decryption. |
Another thermometer with Tuya BLE - MHO-C122 (2AWMOMHOC122). |
@pvvx have you had any luck? |
Any luck with getting data out of the TH05? They're now available very cheap on the AliExpress Choice Day Sales - which is why I now own one. |
Following. I bought some of these thinking they were the same as the old ones I have that work just fine with BLE sensor in HA proxied through ESPHome. I didn't see they were new models :( |
For the "THB2" sensor, the only solution so far is to reflash it in the PhyPlusKit program, using the files from https://pvvx.github.io/THB2/ |
@pvvx Do you have a functional download link for the PhyPlusKit software? I came across a link, but unfortunately, it's no longer operational! |
https://github.com/pvvx/PHY62x2/tree/master/PhyPlusKit |
@pvvx Thank you very much for the resources. Keep up the great work! |
Custom firmware for Tuya devices on the PHY622x2 chipset to work in the BTHomeV2 format. |
great work, thanks!! |
This is great! Thank you! |
Some new Tuya devices with BLE transmit data in an encrypted format.
For example TH-05:
When temperature or humidity changes, TH-05 transmits data to BLE advertising encrypted using the Tuya protocol (using additional advertising packages). If there are no changes, a typical BLE advertisement with device identification data is transmitted.
LocalTuya can receive Authorization Key and other codes from Cloud (and includes a description of the device)...
The text was updated successfully, but these errors were encountered: