kind3r / hass-addons

Integration of the offline TTLock sdk into Home Assistant
66 stars 26 forks source link

ESP32 gateway connection issues #38

Open MarkGardiner opened 2 years ago

MarkGardiner commented 2 years ago

Hello,

I have been attempting to get the addon to work with an esp32 gateway with your https://github.com/kind3r/esp32-ble-gateway however once connected to the gateway, I cannot seem to find the lock. In the addon logs I get an endless repeat of the following two lines: Sent: {"action":"auth","response":"8775f9276320b2780170215f3958ad3e"} Received: {"type":"auth","challenge":"34464436393139454231423245324134"} Is this the expected output with the gateway?

Without the gateway I am at issue https://github.com/kind3r/hass-addons/issues/34

stevearmitage commented 2 years ago

Were you able to get this sorted? I'm not able to connect to the lock directly, but the ESP-32 bluetooth gateway maybe an answer if it works!

MarkGardiner commented 2 years ago

I wasn't able to get this to work... for what its worth, I did try with a WROOM rather than a WROVER board and had to do a bit of work to get it compiled and loaded (where it could have been something small I missed). I am still very keen to get this working one day...

UnbridledGames commented 1 year ago

Posting this for future people looking for answers. Regardless of what you set the actual password to in the esp32 gateway, you MUST use admin:admin in the ttlock integration configuration page. Took a 2 day long deep dive into making this work to find that.

So now I have the gateway linked and working, except it's not finding my lock. Cool.