Everything is clear now, I received the gate and lock, just enter ttlockclientid as in the documentation: ttlockclientid and
ttlocktoken and everything works for me.
I went through setup from ttlock in hacs - and when i try to unlock the lock it says āFailed to call service lock/unlock. API returned: {āerrcodeā: -4043, āerrmsgā: āThe function is not supported for this lock.ā, ādescriptionā: āę¤éäøęÆęčÆ„ęä½ćā}ā
it talks about the callback url but i did not see any notification at all or know where to get it from. i see where to enter it in the tt lock web app.
EDIT : i had to go to ttlock app on my phone and enable remote unlock and it works now!
Iāve succesfully integrated a Simpled Lock with TTLock in HA, and can Lock/Unlock and see the battery state. Unfortunately, I canāt see how to change or add pass codes. Appologies if the solution is in the depths of this thread.
Thanks
EDIT: Silly me, I found the services:
TTLock: Create a new pass code
TTLock: Remove expired passcodes
TTLock: Configure passage mode
Followed the first three steps
At step 2. Hit Managament top right of Open Platform to get client_id and Client secret
Where do you register the user??
And what is this
curl -i -X POST -d āclientId=XXXXXXX&clientSecret=YYYYYYYYY&username=IOS_USERNAME&password=PASS_IN_MD5_FORMAT&date=date +%s ā https://api.ttlock.com/v3/user/register
I am not a HA developer so I need simpler instructions to follow.
For clarification
a) What MD5 encrypted password? Where did this come from?
b) What is the username as I have not seen a user name? I have seen and account a name, an nickname, an email, afew others but no username. Is this in the TTlock web site of the TTlock iphone app?
c) None of the cut/paste into Terminal went sucessfully but lest solve a& b first.
Could you clarify where the encrypted passwrod is and what is the username?
Much appreciated
Ash
This works great!
Iām trying to get an automation
Depending on the sensor
Sensor.door_last_operator
So it only triggers if the finger āRight thumbā is used but canāt get it to work.
Any ideas?
Does anyone know of a way to message my phone the name of the last user to unlock the door? I can create a trigger easily to respond to the door being unlocked, but itās the content of the message that I canāt fathom out.
Hi @MadMirza, I am having the same issues you mentioned and have reread the post by @seba.olah several times but still unable to make sense of things.
I did successfully transfer my lock to the created user with the same password as developer account. I can now access that lock through the HA CLI / CURL.
but I cannot log into that account on any platform (web/ios/TTLockHACS integration/etc)
How did you get past this issue?
Thanks!
EDIT:
Finally finally solved it. Even though I was absolutely using the right password, I just reset the password through the CLI/Postman and then was immediately able to log in everywhere with the new password and created username.
Getting the TUYA BLE version of the āSmart Key Boxā recognized in the ttLock app
I have a smart lock G2 gateway online
I can see the G2 in the ttlock app butā¦
I canāt get the padlock lock to be recognised by the ttlock app ā¦no matter what I doā¦
I can get it recognised in the Smart life app, no problem - just not the ttlock app
Why?!!!
What do I do?
What is the Bluetooth pairing process?
Any other tricks?
Alternatively Should I just abandon the ttlock dream and simple register it in TUYA then run Tuya local in HA?
So my questions are who exactly is this TTlock crowd?
Who are behind them?
What about data security here?
Does this webhook provide other means to hack into a HA server?
I donāt want to sound paranoidā¦ but geezā¦ I mean do we really want a Chinese company with a webhook into our home security, finger prints, and home assistant servers?
I am not to sure I am happy about thisā¦
Is there any way to take this offline and local?
Even just using TUYA compatible locks and the local TUYA integration/hack seems better to me?..
Comments before I take this any further would be appreciated pleaseā¦