-
Notifications
You must be signed in to change notification settings - Fork 13
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
HEM-7600T: works only when bluetoothctl is running #22
Comments
The first issue you see is likely connected to the bluetooth library used in the project. They also have an issue with the exact same problem: hbldh/bleak#1434 . Maybe the workaround presented in the thread also works in your case. In the second case, you can get rid of this assertion error by commenting Line 387 in 1f43fef
The bluetooth backend I'm using, the .unpair() in the line above should also disconnect the device. But that does not seem to work on windows, hence the extra disconnect statement. On linux this likely works as described and the second disconnect call leads to the error you are seeing.You could also just ignore the error, this is last line before the program terminates anyway. |
I think i have a similar error on my Mac.
Versions:
|
Hi @tecbeat , I'm not so confident that these problems are related. The bluetooth library I use does not support pairing on mac, see: Maybe it works if you just comment out this line: Line 364 in 8297ce6
I did not have the chance to test with mac os so far. Best, |
Hi, yes it seems to be a different problem. I have tried to omit the line but unfortunately this does not work and throws the error below. I will just try it on a linux device. Thanks for the quick reply.
|
When I tried pairing and connecting to HEM-7600T, I kept getting the following error:
In the meantime,
journalctl -u bluetooth.service
showed:However, whenever I start
bluetoothctl
in other console windows (and keep it running), it does suceed to pair/sync, theuser1.csv
contains correct data andjournalctl
stays silent.But still, it ends with an
AssertionError
:I'm on Ubuntu 23.04 & bluetoothctl: 5.66, commit 1f43fef.
Is there anything I can do to fix this?
The text was updated successfully, but these errors were encountered: