jbergler / hass-ttlock

Home Assistant integration for TTLock locks
69 stars 13 forks source link

"Failed to Setup" when adding ttlock to Home Assistant #86

Closed blakejake33 closed 11 months ago

blakejake33 commented 11 months ago

Once the TTlock information is input into Home Assitant, it says "Failed to Setup" and I never get the webhook url notification.

1st) I set up an account at https://euopen.ttlock.com/login and submitted an application and was approved. 2nd) I then added the client_id and client_secret to home Assitant 3rd) I enter my login info for TTlock

And this is as far as im able to go before the "failed to set up" appears.

Ive tried changing my ttlock password, re-adding the lock to the app, reinstalling the ttlock addon.

Ive attatched my log error_log-2.txt

jbergler commented 11 months ago

Hello, thanks for the bug report and including the logs.

Looks like the issue here might be that your home assistant instance hasn't been configured with a URL somehow. Could you go to "Settings > System > Network" and check what value are set in the "Home Assistant URL" section? A screenshot would be great if there's no sensitive info in there.

This will help me confirm my fix is the right one.

blakejake33 commented 11 months ago

THANK YOU! that was it! I added my HA Url and now the device shows! Screenshot_20231227_190006_Home Assistant.jpg