Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't make it work on Ausust V2 #1

Open
xromansx opened this issue Dec 23, 2022 · 9 comments
Open

Couldn't make it work on Ausust V2 #1

xromansx opened this issue Dec 23, 2022 · 9 comments

Comments

@xromansx
Copy link

Everything compiles and runs but can't get it working on Couldn't make it work on Ausust V2.

@xromansx
Copy link
Author

xromansx commented Dec 23, 2022

How do display AUGUST_LOG maybe it would be easier to identify the problem
Also my lock serviceUUID: bd4ac610-0b45-11e3-8ffd-0800200c9a66

@xromansx
Copy link
Author

Now I have this but still can't control:

August: "Advertised Device found: Name: Aug, Address: , manufacturer data: d10101, serviceUUID: bd4ac610-0b45-11e3-8ffd-0800200c9a66"
August: "Found Our Service"
August: "Scan Ended"
August: "New client created"
August: "Connected ..."
August: "Connected to client: "
August: "Lock command channel notification listener success"
August: "Got Secure Channel"
August: "Can Indicate"
August: "Handshake channel setup complete"
August: "Got Write Channel"
August: "Session Key: 0x
"
August: "Handshake: 0x
"
August: "Encrypted: 0x
*"
August: "Setup complete"
August: "Notification listener setup, awaiting instruction"

@JamesSmartCell
Copy link
Owner

Hi, I haven't tested on V2 as I don't have access to it.

It looks like you don't have the correct session key. You can try my app to pull the session key from the August/Yale app but you need a rooted phone. The repo is here:

https://github.com/JamesSmartCell/AugustLockCredentials

Or alternatively you can go into the data/data folder and pull the credentials yourself. You need a rooted Android phone.

@xromansx
Copy link
Author

The key is good and handshake is passing but alwais stuck on "Notification listener setup, awaiting instruction"

@JamesSmartCell
Copy link
Owner

JamesSmartCell commented Jun 25, 2023

Did you manage to fix this? I have checked and the crypto should not have been changed between V2 and V3 -> V4 (which I know it works with).

Can you post the code that you're using to call the August library with?

Hopefully there's an easy fix we can add into the library.

@xromansx
Copy link
Author

Couldn't get it working alwais stucks on "August: "Notification listener setup, awaiting instruction""

@xromansx
Copy link
Author

xromansx commented Sep 1, 2023

when you have some time let me know and we can troubleshot it.

@JamesSmartCell
Copy link
Owner

Ok, let me try adding a bit more debug info. Could you also test against an Android app I can send to you, which uses the C# library I used for reference? I will link it

@xromansx
Copy link
Author

xromansx commented Sep 4, 2023

I got the key directly from PeripheralInfoCache.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants