ex_tesla v2.0.0 ExTesla

Unofficial thin elixir wrapper for Tesla API. As per unofficial documentation.

Link to this section Summary

Link to this section Types

Link to this type

error()

error() :: {:error, String.t()}
Link to this type

token()

token() :: map()

Link to this section Functions

Link to this function

charge_start(token, vehicle)

See ExTesla.Api.charge_start/2.

Link to this function

charge_stop(token, vehicle)

See ExTesla.Api.charge_stop/2.

Link to this function

check_token(token)

See ExTesla.Api.check_token/1.

Link to this function

convert_miles_to_km(km)

convert_miles_to_km(float() | nil) :: float() | nil

Convert miles to km.

Link to this function

get_charge_state(token, vehicle)

See ExTesla.Api.get_charge_state/2.

Link to this function

get_climate_state(token, vehicle)

See ExTesla.Api.get_climate_state/2.

Link to this function

get_drive_state(token, vehicle)

See ExTesla.Api.get_drive_state/2.

Link to this function

get_token(email, password)

See ExTesla.Api.get_token/2.

Link to this function

get_vehicle_data(token, vehicle)

See ExTesla.Api.get_vehicle_data/2.

Link to this function

get_vehicle_state(token, vehicle)

See ExTesla.Api.get_vehicle_state/2.

Link to this function

list_all_vehicles(token)

See ExTesla.Api.list_all_vehicles/1.

Link to this function

set_charge_limit(token, vehicle, percent)

See ExTesla.Api.set_charge_limit/3.

Link to this function

wake_up(token, vehicle)

See ExTesla.Api.wake_up/2.