Skip to content
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

What is the manual_override in HvacSetPreconditioningMaxAction? #284

Open
Whirlwind opened this issue Aug 2, 2024 · 1 comment
Open

Comments

@Whirlwind
Copy link

Whirlwind commented Aug 2, 2024

I am looking for the defrost API, it seams be the set_preconditioning_max:

set_preconditioning_max

POST /api/1/vehicles/{vehicle_tag}/command/set_preconditioning_max

scopes: vehicle_cmds

⚠️ Newest vehicles require Tesla Vehicle Command protocol ⚠️

Sets an override for preconditioning — it should default to empty if no override is used.

I check the Tesla Vehicle Command protocol, I found the action:

message HvacSetPreconditioningMaxAction {
bool on = 1;
bool manual_override = 2;
enum ManualOverrideMode_E {
DogMode = 0;
Soc = 1;
Doors = 2;
}
repeated ManualOverrideMode_E manual_override_mode = 3;
}

What is the manual_override_mode? Which mode is the defrost?

By the way, I found that there are many manual_override fields in the hvac APIs in the protobuf/FleetAPI, What do they mean?

@sethterashima
Copy link
Collaborator

It looks like manual override forces the command to succeed even when battery charge (SoC) is low, the doors are open, or dog mode is enabled. Use with caution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants