tesla-local-control / tesla_ble_mqtt_docker

Apache License 2.0
29 stars 8 forks source link

Summary of feedback message from tesla-control #18

Closed raphmur closed 4 months ago

raphmur commented 4 months ago

I am logging all the messages brought by the tesla-control commands... This could be used to improve loop performance:

charge-set-limit:

charging-start:

Any command:

To be completed...

epenet commented 4 months ago

I would say that Failed to execute command: car could not execute command: XXX could be generic. The car has rejected the command, there is no need to try again, regardless of XXX.

raphmur commented 4 months ago

Yes right Indeed Though capturing the message to update an mqtt entity could be useful

epenet commented 4 months ago

Another one that doesn't need a retry:

Attempt 1/5 to send command
Error loading credentials: could not load key: permission denied
tesla-control send command failed exit status 1. Retrying in 5
Attempt 2/5 to send command
Error loading credentials: could not load key: permission denied
...
raphmur commented 4 months ago

This should solve this topic: https://github.com/tesla-local-control/tesla-local-control-addon/pull/40

raphmur commented 4 months ago

PR https://github.com/tesla-local-control/tesla-local-control-addon/pull/40 merged. Confirmed closed