Raw data and BLE locks #604
Unanswered
carloslb-com
asked this question in
Q&A
Replies: 1 comment
-
This does not look right. First, you shouldn't be manually assembling packets like this, you should use More importantly, I've never seen a device use a data format like that. Normally they just take a binary string of bytes that are base64 encoded: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, everyone. I hope you're doing fine.
I'm trying to develop a little program to set up temporary passwords in two BLE locks at the same time. The locks are Raykube M5 (Link to AliExpress page) and I'm using a Moes multimode hub (Link to AliExpress page).
So, after a lot of search, I've found tinytuya and the DP docs from Tuya (Bluetooth Lock Implementation Process and Data Point Reference). Since then, I was trying to code raw data with a temp password with the DPS 51. I must be doing something wrong because I can't configure the password, but I was able to get the status of the lock.
This is the code I wrote:
These are the DPS got from the docs and from the scan:
I've already read the other threads under this section ([[https://github.com//discussions/434]] and [[https://github.com//discussions/373]]), but they didn't help me.
Can anyone help me, please? Thank you so much in advanced.
Beta Was this translation helpful? Give feedback.
All reactions