Closed iarspider closed 3 years ago
I think (although I have no proofs) that I need to bond with the watch using pre-shared key, however I found no way to input it in bleak. This key is not pin / passkey, but a long hex string, see here for details.
Nevermind. The auth is done not on bluez level, but by responding to a certain notification: https://github.com/satcar77/miband4/blob/master/miband.py#L30 (yes, this is for Mi Band, but works with my Amazfit just fine)
bluetoothctl -v
) in case of Linux: bluetoothctl: 5.58Description
I'm trying to read heartbeat data from my Amazfit watch. I have configured it to be discoverable and to expose the HR data, but I get org.bluez.Error.NotPermitted error.
What I Did
org.bluez.Error.NotPermitted
error. Addingawait client.pair(protection_level=3)
beforeclient.start_notify
does not change anything.