Open m-chandler opened 4 months ago
I did some DYOR and realised it's a limitation of the CLI tool. https://github.com/teslamotors/vehicle-command/issues/52
I hope they add this... would be perfect.
Agreed. If it becomes available I will add the functionality. Until then we'll have to use both BLE and Fleet API. At least we can now change the charge current as often as we like.
Reopening this to track your request.
When we send a BLE command, somewhat the car answers:
Failed to execute ...
if command sent but could not be executed --> car is awake, but for some reason, could not execute. We did not yet look at all the messages...I see hacks around this:
For my automation, I have set two key rules:
Quite complex, but I can give you my .yaml automation & variables if you want --> Maybe open another issue
I'm yet to go digging to see what information this actually returns, but there's been a commit last week to get vehicle info via BLE.
https://github.com/teslamotors/vehicle-command/commit/05bc5dd8d0649b4ccb45a765b9127d06f1050a6f
It might just return boring stuff, lock / closure state (judging by the models in the commit).
Linking to this: https://github.com/tesla-local-control/tesla_ble_mqtt_core/issues/25
Thank you for setting this up it's amazing. The Fleet API was cumbersome to set up, then I realised the API usage limits...
I'm resurrecting my solar charging automation with this solution, and it's working great so far.
Something I'd like, and I don't know if it's even possible purely via BLE is the ability to read if the car is plugged in, and whether or not it's charging. Otherwise I probably need to disable my automation overnight (I assume constantly trying to stop the charger will keep the car awake?). I know I could get the read-only state via the Fleet API... I just need to set this up for a couple of people, trying to keep it simple :-D.