py-stellantis-ssdp
Async Python client for the Stellantis SSDP connected-car cloud. This is the
backend of the "Jeep® 2.0" app, used by STLA-platform cars such as the Jeep Compass
MY2026.
Older Jeeps (and Fiat, Alfa Romeo, Ram, …) use the Uconnect cloud. For those, see
py-uconnect.
See docs/API.md.
Install
pip install py-stellantis-ssdp
Command line
# 1. Log in. Open the printed URL, log in, then paste the final
# sp4je://oauth2redirect/?code=... URL from the browser's developer tools.
stellantis-ssdp login
stellantis-ssdp vehicles
stellantis-ssdp trips VIN --pages 0
# 2. Set up remote commands once: an SMS is sent to the account's phone
stellantis-ssdp enroll
# 3. Send commands (the PIN is needed when the remote token has to be renewed)
stellantis-ssdp --pin 1234 command VIN preconditioning_on
Tokens and the soft-token state are saved in ssdp-state.json (--state), with
permissions 0600. Keep this file private: it gives access to the car.
Library
import aiohttp
from stellantis_ssdp import JEEP_EU, Client, State, exchange_code, login_request
from stellantis_ssdp.remote import preconditioning
# Login (once): show request.url to the user, get the redirect URL back
request = login_request(JEEP_EU)
async with aiohttp.ClientSession() as session:
token = await exchange_code(
session, JEEP_EU, redirect_url, request, aiohttp.ClientTimeout(total=30)
)
state = State(token=token)
# Later: the state changes as tokens are renewed, persist it every time
async with Client(JEEP_EU, state, pin="1234", on_state_change=save) as client:
vehicles = await client.refresh()
for vin, vehicle in vehicles.items():
print(vin, vehicle.state_of_charge, vehicle.locked, vehicle.location)
if not client.enrolled:
await client.enroll_start() # sends the SMS
await client.enroll_finish(sms_code, "1234")
await client.command_verify(vin, preconditioning(True))
State.to_dict() and State.from_dict() serialize everything that needs to be
kept. If the state is lost, the user has to log in and enroll again.
How it works
- Login: OAuth2 + PKCE against ForgeRock AM (
idpcvs.stellantis.com), with the
Stellantis Central Login Page. There is no password grant, so the first login
needs a browser. After that, the tokens are renewed automatically.
- Data: the SSDP gateway (
apic-token-eu.ssdp.stellantis.com): vehicle list,
latest telemetry, trips and charging sessions.
- Remote commands: a second token (RCZ) is needed. It is obtained with a one-time
password from an inWebo soft token, which is activated once with an SMS code and
the user's PIN. The inWebo client is a clean-room implementation of the protocol
used by the app.
License
Apache-2.0