-
Notifications
You must be signed in to change notification settings - Fork 4
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
No reconnecting after a restart of Home Assistant #31
Comments
Oh, that's very strange. I restart relatively often, and it has not happened to me. Are you using Bluetooth Proxies or a Bluetooth dongle? |
No, neither a dongle nor a proxy. |
What are you using then? A built-in Bluetooth card with the Bluetooth integration? On HassOS or something else? |
I have Home Assistant (Hass OS) running on a Raspberry Pi 3 with the integrated Bluetooth chip. The behavior was already given with previous versions. Had tried so far to fix it maybe. |
Oh OK. So it's not a regression then. |
Thanks @sopelj no other bluetooth devices. running bluetoothctl fixed it. |
Oh perfect! Does it persist through reboots now? |
I have now also been able to test it and can confirm that the connection remains after using bluetoothctl, even after restarting Home Assistant. But I have another point: I also have an Ember Travel Mug 2, but when I scan for devices via bluetoothctl, its MAC address does not even appear... |
@z-master42 Ok, thanks! I'll add that to the troubleshooting guide and then close this issue. For the Travel Mug 2, is it in pairing mode? We can do an issue for that. The person who helped me test the travel mug it had the first generation I think. The second should work though. It may have a different Bluetooth name or service UUID. You should be able to detect it with |
Yes, I had paired in with the app, then deleted there again, reset and then turned on scan mode in bluetoothctl and put the mug in pairing mode. I will try again and if I get stuck open a new issue. This one can then be closed. |
@z-master42 Ok, thanks! If you can confirm it works please let me know too and I'll update the doc to list it as tested. It may have a different name than the travel mug 1. Thanks! |
Description
After restarting Home Assistant, the integration cannot complete the setup because it fails to re-establish a Bluetooth connection to the Mug/Cup.
What I Did
To complete the setup, the Mug/Cup must be set to pairing mode. This is necessary each time after a restart. Before this, all entities are not available.
Logs / Errors
The text was updated successfully, but these errors were encountered: