[Solved] TTLock integration

I am trying to set up the TTLock integration API for my newly purchased door lock but having some issues following the documented installation instruction

  1. Create application:
    https://euopen.ttlock.com/CreateApplication
  • The application needs to be reviewed (hours to days). After it is approved, all the APIs are available.
  1. Install TTLock_parent.groovy and TTLock_child.groovy files under drivers code.
  2. From your Application details, retrieve your client_id and client_secret (click View)
  3. Create a new driver in Hubitat using TTLock
  4. Fill out the details on the application.
    7a. The username and Password are from your mobile app login. 7b. The Client_ID and Client_Secret are from your API Application.
  5. Click Poll once filled out, and it should create the Child devices as locks.

I successfully completed step 5 but got confused on step 6 and 7. I don’t know how to do step 6 and where I can enter the required information such as the user name, password etc. if anyone can shed some lights on this I really appreciate it. I am relatively a new user and this could be a simple how to question but either way any assistance would be much appreciated, thanks in advance

Go to Devices > Add Device > Virtual

In the type box select the TTLock parent driver (not sure what is named exactly)

Once you create this Virtual device, go to the Preferences tab and that should be where the settings are it wants you to fill in for Step 7.

1 Like

Yes Jeff, this is exactly what I needed. I was able to add the driver and then my TTLock device was created. Thank you very much.

2 Likes