> ## Documentation Index
> Fetch the complete documentation index at: https://developer.plugsurfing.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tesla network via Roam OCPI

Special requirements to access the Tesla Supercharger Network

Access to the Tesla network is contingent to signing a contract amendment and fulfilling various requirements, in addition to making necessary changes to your App.

## New TariffDimensionType

Tesla tariffs may include the additional tariff dimension `CONGESTION_TIME`. Congestion time represents the time the vehicle charge when the site is congested and a defined SoC is reached.

| TariffDimensionType | Description |
| :- | :- |
| `CONGESTION_TIME` | This dimension represents the time charged after the vehicle reaches the configured congestion threshold state of charge. The dimension is expressed in hours and uses a step\_size multiplier of 1 second. |

## New TariffRestrictions attributes

Tesla tariff restrictions may include vehicle state-of-charge (SoC) and congestion-threshold boundaries. The below fields allow tariff elements to apply only when specific SoC or congestion thresholds are reached.

| TariffRestriction | Type | Description |
| :- | :- | :- |
| `min_vehicle_soc` | Int | Minimum vehicle state of charge percentage for which the tariff element is valid. |
| `max_vehicle_soc` | Int | Maximum vehicle state of charge percentage for which the tariff element is valid. |
| `min_congestion_threshold` | Int | Minimum congestion threshold percentage for which the tariff element is valid. The congestion fee applies from this threshold. |
| `max_congestion_threshold` | Int | Maximum congestion threshold percentage for which the tariff element is valid. The congestion fee applies to this threshold. |

## New session statuses

Tesla session status updates are sent through OCPI Session PATCH requests. In addition to the standard OCPI session statuses, partners may receive the Tesla-specific statuses `IDLING` and `CONGESTED`.

| SessionStatus | Description |
| :- | :- |
| `IDLING` | The vehicle is connected but no longer actively charging and parking\_time pricing may apply. |
| `CONGESTED` | The session has reached the configured congestion threshold and congestion-related pricing may apply. |

## New CdrDimensionType

Tesla CDRs may include the additional CDR dimension `CONGESTION_TIME`, related to the tariff dimension `CONGESTION_TIME`.

| CdrDimensionType | Description |
| :- | :- |
| `CONGESTION_TIME` | This dimension represents the time charged after the vehicle reaches the configured congestion threshold state of charge. The dimension is expressed in hours and uses a step\_size multiplier of 1 second. |

## Only locations available to ALL

Only the locations that are available to all drivers will be shared over Roam OCPI. There are certain Tesla locations that are only available to Tesla drivers, and those will not be shared. In case a Tesla driver has registered your EMP card with the Tesla app and charges at such location, you will receive the CDR without having received the POI upfront.

## Tesla card lodging flow

The Tesla card lodging flow is based on the contract\_id of the token. Hence, for your users to be able to lodge their RFIDs in the Tesla app, they must be able to retrieve their contract\_id.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.