-
Notifications
You must be signed in to change notification settings - Fork 29
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
unexpected SMP command #30
Comments
I'm afraid I've never heard of this kind of error message before and currently have no clue what you could do about it. I found some other GitHub issue mentioning the "unexpected SMP command" error on the Raspberry Pi. Interestingly, the person reporting it also mentions something about the error being triggered by a Node.js program. He doesn't mention what kind of Node.js program it is (and it can't be keyble, because he posted it years before keyble was published), but that Node.js program was almost certainly using the "noble" library as well. So I currently assume the bug to be somewhere in the noble library. What exactly is device 00:1a:xxxx? Is it the Bluetooth adapter or the smart door lock, do you know? |
Is there any update on this? I experience the same error, with the mac address being the smart lock itself. Unfortunately, i can do some locking and unlocking (usually for less than a minute or two) but then keyble seems to not reach the lock anymore. This happens regardless of having |
sorry for the late reply. No sadly the problem still exists. But i gave up to wonder about the strange BT stuff on the pi. @oyooyo yes, the mac is from keyble. I dont have any timeout configured. hci0 dev_found: 00:1A:22:13:6F:D2 type LE Public rssi -67 flags 0x0000 |
Today keyble stopped working completely and i found some memory leak log entries. I orderd a usb bt dongle today, maybe this can fix these problems.
|
The error message about |
Hmm never mind, after an nmp update it runs again. I keep monitoring the status in HA so i can give you later feedback if this is stable, or starts to struggle after some time after timeout. |
after one day, i can report, that the SMP problem seems to be fixed, but its still not working. On every mqtt message i get this errors: @oyooyo my BT usb dongle arrived today. But i could not find how to configure keyble to use the usb dongle. Is this even possible? |
Thanks for reporting. I need to try to reproduce this bug.
I haven't tried it myself, but it should be possible, see here. |
Thanks! Please let me know, if I can help to debug this bug. |
Did you ever resolve this issue? My RP4 does this as well. |
I'm using keyble mqtt for some time now and get every few minutes/hours some Bluetooth kernel errors.
raspizero2 kernel: [ 1277.916823] Bluetooth: hci0: unexpected SMP command 0x02 from 00:1a:xxxx
In this time, the look is offline in Home Assistant. In 5 from 10 attempts this happens if we need it.
I'm running it on a raspi zero. There are no other running processes, the zero is only for keyble.
Is there anything I can do about this?
The text was updated successfully, but these errors were encountered: