Start & Stop Charge

API

Optimieren Sie proaktiv das Laden von Elektrofahrzeugen

Mit unseren Start- und Stop-Charge-Befehlen können Entwickler steuern, wann ein batterieelektrisches (BEV) oder Plug-in-Hybridfahrzeug (PHEV) mit dem Laden beginnt oder endet.

How businesses use start or stop charge

Smart charging

Help drivers personalize their EV charging schedules based on their preferences. Control when a vehicle starts or stops charging based on current energy rates and demand.

Demand response

Allow drivers to easily participate in demand response programs and earn revenue by automatically optimizing EV charging schedules to align with grid needs.

Manage battery health

Enhance EV performance and preserve your customers’ battery health by preventing excessive charging.

Pre-paid charging

Enable pre-paid charging sessions by stopping charge once energy thresholds are met.

An illustration of a connected vehicle on a winding road.

Ladevorgang starten und beenden

Schalten Sie den Ladevorgang ein oder aus, um die Ladevorgänge zu verwalten.

const smartcar = require('smartcar');

// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicles("<access-token>");

// Construct a new vehicle instance using the first vehicle's id
const vehicle = new smartcar.Vehicle(vehicles[0], "<access-token>");

// Start the vehicle's charging session
await vehicle.startCharge();
/

// Example http response from Smartcar (start charge)
{
  "status": "success"
}


import smartcar

# Get all vehicles associated with this access token
response = smartcar.get_vehicles("<access-token>")

# Construct a new vehicle instance using the first vehicle's id
vehicle = smartcar.Vehicle(response.vehicles[0], "<access-token>")

# Start the vehicle's charging session
vehicle.start_charge()
/

// Example http response from Smartcar (start charge)
{
  "status": "success"
}


import com.smartcar.sdk.*;

// Get all vehicles associated with this access token
VehicleIds response = Smartcar.getVehicles("<access-token>");
String[] vehicleIds = response.getVehicleIds();

// Construct a new vehicle instance using the first vehicle's id
Vehicle vehicle = new Vehicle(vehicleIds[0], "<access-token>");

// Start the vehicle's charging session
vehicle.startCharge();
/

// Example http response from Smartcar (start charge)
{
  "status": "success"
}


import (
  "context"
  smartcar "github.com/smartcar/go-sdk"
);

// Create a smartcar client
var smartcarClient = smartcar.NewClient();

// Get all vehicles associated with this access token
var vehicleIDs, resErr = smartcarClient.GetVehicleIDs(
  context.TODO(),
  &smartcar.VehicleIDsParams{Access: "<access-token>"},
);

// Construct a new vehicle instance using the first vehicle's id
var vehicle = smartcarClient.NewVehicle(&smartcar.VehicleParams{
  ID: vehicleIDs.VehicleIDs[0],
  AccessToken: "<access-token>"},
);

// Start the vehicle's charging session
var startCharge, resErr = vehicle.StartCharge(context.TODO());
/

// Example http response from Smartcar (start charge)
{
  "status": "success"
}


require 'smartcar'

# Get all vehicles associated with this access token
all_vehicles =  Smartcar.get_vehicles(token: token)

# Construct a new vehicle instance using the first vehicle's id
vehicle = Smartcar::Vehicle.new(
  token: "<access-token>",
  id: all_vehicles.vehicles.first
)

# Start the vehicle's charging session
vehicle.startCharge!
/

// Example http response from Smartcar (start charge)
{
  "status": "success"
}


Sehen Sie sich die API-Dokumente an

Eigenschaften des Produkts

  • Compatible with 36 car brands

    kompatibel mit 39 Automarken

  • Friendly user consent flow

    Benutzerfreundlicher Zustimmungsfluss

  • Works on 2015 and newer vehicles

    Funktioniert mit Fahrzeugen von 2015 und neueren

  • Trusted & secure

    Vertrauenswürdig und sicher

  • Retrieve live data and trigger actions

    Live-Daten abrufen und Live-Aktionen auslösen

  • SDKs for Go, Java, Node.js, Python, and Ruby

    SDKs für Go, Java, Node.js, Python und Ruby

Learn more about Smartcar's APIs

Verwandte Branchen

Energie- und Versorgungsunternehmen

Steuern Sie das Laden der Elektrofahrzeuge Ihrer Kunden in Privathaushalten, um die Stromnetzlast optimal auszugleichen.

Ladenetzwerke für Elektrofahrzeuge

Geben Sie in Ihrer App geschätzte Ladezeiten, automatische Ladepläne und die Reiseplanung für Elektrofahrzeuge an.

Was wir bauen

Latenz und Häufigkeit der Datenverfügbarkeit können je nach Hersteller und Modell variieren.