Enable and configure Tesla commands
mainCommands (e.g., waking up the car, controlling climate) are disabled by default. To use them, you must set ENABLE_COMMANDS=true and choose one of the following three methods to authorize specific commands:
- Command Groups: Enable specific groups of commands using boolean flags (e.g.,
COMMANDS_ALERT=trueenables alert commands). - Allowlist: Provide a path to a JSON file containing a granular list of allowed commands using
COMMANDS_ALLOWLIST=/path/to/allow_list.json. - Enable All: Use
COMMANDS_ALL=trueto enable every available command. This overrides the allowlist and group settings.
For details on the specific fields required for each command, refer to the timdorr/tesla-api documentation.