Skip to content

Success doesn't squelch retries #652

Description

@MikeBishop

Probably a follow-on to #649, but I'm seeing this on the latest main:

Jul 05 21:11:28 twcmanager python3[20638]: Failed to execute command: car could not execute command: complete
Jul 05 21:11:28 twcmanager python3[20638]: 21:11:28 🚗 TeslaBLE 20 Start charging for 5YJ3E1EB9LF539561: success
Jul 05 21:11:28 twcmanager python3[20638]: 21:11:28 🚗 TeslaBLE 20 BLE command result: 1/1 vehicles responded
Jul 05 21:11:30 twcmanager python3[20638]: 21:11:30 🚗 TeslaBLE 30 Wake command may have failed for 5YJ3E1EB9LF539561, proceeding with charge start
Jul 05 21:11:32 twcmanager python3[20638]: 21:11:32 🚗 TeslaBLE 30 BLE command 'charging-start' failed with return code 1
...
Jul 05 21:11:32 twcmanager python3[20638]: Failed to execute command: car could not execute command: complete
Jul 05 21:11:32 twcmanager python3[20638]: 21:11:32 🚗 TeslaBLE 20 Start charging for 5YJ3E1EB9LF539561: success
Jul 05 21:11:32 twcmanager python3[20638]: 21:11:32 🚗 TeslaBLE 20 BLE command result: 1/1 vehicles responded

Note how it does now indicate success, recognizes that the car isn't charging because it's at target... and then does another start-charging cycle two seconds later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions