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

Not accessing values? #6

Open
prgrobots opened this issue Aug 1, 2023 · 0 comments
Open

Not accessing values? #6

prgrobots opened this issue Aug 1, 2023 · 0 comments

Comments

@prgrobots
Copy link

Hello,

I have managed to get it to connect to my watch, a garmin vivosmart 4but it seems to have a problem I assume with accessing the value from the watch?

`Watching Address: D7:E2:6F:8E:81:72

Connected.
Device: vívosmart 4
Traceback (most recent call last):
File "c:\Users\PC\Documents\heartrate-sensor\watch.py", line 99, in
asyncio.run(main())
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "c:\Users\PC\Documents\heartrate-sensor\watch.py", line 93, in main
await monitorHR(client)
File "c:\Users\PC\Documents\heartrate-sensor\watch.py", line 69, in monitorHR
await client.start_notify(CHAR_HR_MEASUREMENT, processHeartrate)
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\bleak_init_.py", line 705, in start_notify
raise BleakError(f"Characteristic {char_specifier} not found!")
bleak.exc.BleakError: Characteristic 00002a37-0000-1000-8000-00805f9b34fb not found!`

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

1 participant