Open esraell opened 1 year ago
Try to manually edit the config with what I have below. Easiest way to get there, if you're not familiar is by clicking "Config" in the top right corner. Then change this line:
"platform": "TTLock Platform"
To this:
"platform": "ttlock"
Then restart Homebridge.
If that doesn't work, are you not seeing the lock under the "Accessories" tab on the homebridge website or you're not seeing the lock on the Home macOS/iOS app?
Another thing to try is adding it to its own Child Bridge. It's been a while since I set mine up and I think I remember something about the creator saying it could slow down the main bridge if it's not on its own child bridge.
Might be worth updating Node.js if none of those work. I'm currently running v18.12.1 and have been since I installed.
So i updated my json config from:
"platform": "TTLock Platform"
To:
"platform": "ttlock"
and also updated my Node.js to version v18.14.0
But still no locks showing up in Homebridge Dashboard, the locks are currently managed by my Admin1 account, I logged into Admin1 and added my new account (generated via TTLock API) as an Authorized Admin to the locks. I'm thinking this may be the issue to why its not showing up in the Homebridge dashboard, I don't want to remove my locks from Admin1 account, is there any other way to get the locks to work without reseting them and provisioning to the new account.
I'm not sure if there is a way to do that. When I set it up, I had my primary everyday account signed in on my phone. Then I made an admin account online.
After that, I made a new "normal" account and transfered the locks from my TTLock app to the new "normal" account.
There might be a way around doing it that way but I haven't dove deep enough into it to say for sure.
@esraell - As far as I understand TTLock's API, @dale-tectorsolutions is correct. Using the developer account you created for everything will be the easiest way to move forward. I'll look at the API docs and see if there is a way to get locks that have been shared. If anyone wants to look into adding that functionality, I'd be grateful!
I followed through the documentation, made a new account with the Dev account, i can login through the TTLock app with the new username and see my locks, but i cannot see the locks through homebridge, I'v gone over everything and triple checked, but cant get it to work.
Logs:
Plugin Config:
Environment: