-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
BLE Fail-Safe Methods #1351
Comments
Can you test if the steps if the steps are working when executed in the BLE container? |
I first need to have it in the failed state, then I can try it :) |
So for me it worked from the container with privileged privileges (requires some paxkages, I tried it on another container) As I had the issue last night again that the car drained the battery because my BLE interface went into error mode such a fix would be appreciated! Typically just rebooting the interface with the methods works fine. |
See #1404 (comment) for detailed information of the fix. |
Right now the BLE container just fails if the Bluetooth Device isn't responding, moved from HCI0 to HCI2 or whatever.
It doesn't provide any feedback to TSC itself and as a result TSC can't control charging power and doesn't stop the charging process and empties the HomeBattery.
A Fail-Safe for this would be appreciated.
Today I had the following:
The BLE Adapter switched again from HCI0 to HCI1 (I don't know why, sometimes just happens) and in that case it errors out.
Output of
hciconfig --all
:In order to get it to work again I followed these steps:
https://unix.stackexchange.com/a/602739
I think they require sudo access, but the container has been started with privileged: true anyways. I'd suggest doing this in case the BLE container had 3 failed attempts with such errors.
If that again doesn't help and the CLI for BLE fails again I'd suggest that TSC is stopping the charge through a Fleet-API command just to prevent that the HomeBattery is getting drained.
The text was updated successfully, but these errors were encountered: