Basic C# library for interacting with Tesla's Owner API, based on https://tesla-api.timdorr.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.5 KiB
47 lines
2.5 KiB
namespace Tesla { |
|
public class BasicCommands { |
|
public static string Honk = "honk_horn"; |
|
public static string Flash = "flash_lights"; |
|
public static string Unlock = "door_unlock"; |
|
public static string Lock = "door_lock"; |
|
public static string OpenChargeDoor = "charge_port_door_open"; |
|
public static string CloseChargeDoor = "charge_port_door_close"; |
|
public static string ChargeStart = "charge_start"; |
|
public static string ChargeStop = "charge_stop"; |
|
public static string ChargeStandard = "charge_standard"; |
|
public static string ChargeMax = "charge_max_range"; |
|
public static string ClimateOn = "auto_conditioning_start"; |
|
public static string ClimateOff = "auto_conditioning_stop"; |
|
public static string MediaPlayPauseToggle = "media_toggle_playback"; |
|
public static string MediaNext = "media_next_track"; |
|
public static string MediaPrevious = "media_prev_track"; |
|
public static string MediaNextFavourite = "media_next_fav"; |
|
public static string MediaPreviousFavourite = "media_prev_fav"; |
|
public static string MediaVolumeUp = "media_volume_up"; |
|
public static string MediaVolumeDown = "media_volume_down"; |
|
public static string CancelSoftwareUpdate = "cancel_software_update"; |
|
public static string ResetValetPin = "reset_valet_pin"; |
|
} |
|
|
|
// ExtendedCommands require parms https://tesla-api.timdorr.com/vehicle/commands/ |
|
public class ExtendedCommands { |
|
public static string RemoteStart = "remote_start_drive"; |
|
public static string HomeLink = "trigger_homelink"; |
|
public static string SetSpeedLimit = "speed_limit_set_limit"; |
|
public static string ActivateSpeedLimit = "speed_limit_activate"; |
|
public static string DeactivateSpeedLimit = "speed_limit_deactivate"; |
|
public static string ClearSpeedLimitPin = "speed_limit_clear_pin"; |
|
public static string SetValetMode = "set_valet_mode"; |
|
public static string SetSentryMode = "set_sentry_mode"; |
|
public static string Trunk = "actuate_trunk"; |
|
public static string Windows = "window_control"; |
|
public static string Sunroof = "sun_roof_control"; |
|
public static string SetChargeLimit = "set_charge_limit"; |
|
public static string SetClimateTemp = "set_temps"; |
|
public static string SetPreconditioningMax = "set_preconditioning_max"; |
|
public static string RemoteSeatHeater = "remote_seat_heater_request"; |
|
public static string RemoteSteeringWheelheater = "remote_steering_wheel_heater_request"; |
|
public static string ShareContent = "share"; |
|
public static string ScheduleSoftwareUpdate = "schedule_software_update"; |
|
} |
|
} |