Zum Inhalt springen
EN | DE

API State

Der API State ist die Datenstruktur hinter der UI. Er ist über drei Schnittstellen verfügbar. Es gibt keine Kompatibilitätsgarantie, Felder können sich zwischen Releases ändern.

  • REST-API: GET /api/state liefert den kompletten Zustand als ein JSON-Dokument, eingepackt in ein result-Objekt. Mit dem Query-Parameter jq lässt sich die Antwort per jq-Ausdruck filtern.
  • MQTT: jedes Feld wird als eigenes Topic veröffentlicht. Felder der Site liegen unter evcc/site/<feld>, Ladepunkt-Felder unter evcc/loadpoints/<n>/<feld> mit Index ab 1. Verschachtelte Objekte und Listen werden in Sub-Topics aufgelöst, z. B. evcc/site/pv/1/power. Werte werden als einfache Strings veröffentlicht, Zeitstempel als Unix-Sekunden, Zeitdauern in Sekunden.
  • WebSocket: beim Verbinden erhält der Client den kompletten Zustand als ein JSON-Objekt. Ladepunkt-Felder verwenden Schlüssel mit Punktnotation wie loadpoints.0.chargePower. Danach werden nur noch inkrementelle Updates gesendet: kleine JSON-Objekte mit den geänderten Feldern, die der Client in seine Kopie des Zustands übernimmt.

Top Level

apiReadyboolean

HTTP API is ready to accept requests.

Authentication is disabled.

Status of configured vehicle authentication providers, keyed by provider name.

Auxiliary consumption meters. Their power is treated as available for charging.

auxPowernumber

Total power of all auxiliary meters in W.

Latest available evcc version.

Aggregated home battery state.

Home battery discharge is prevented during fast charging and planned charging.

Home battery is currently charged from grid.

Price or emission limit for charging the home battery from grid.

Home battery is allowed to discharge to the grid (experimental).

Current operation mode of the home battery.

bufferSocnumber

Battery buffer SoC in %. Energy above this level may be used for charging in solar mode.

Battery buffer start SoC in %. Solar charging starts automatically above this level.

circuitsRecord<string, Circuit>

Load management circuits, keyed by circuit name.

configstring

Path of the evcc configuration file.

Consumption meters of individual devices for monitoring purposes.

Configured currency for all monetary values.

databasestring

Path of the evcc database.

demoModeboolean

Instance runs in demo mode.

Colors assigned to devices for consistent UI display.

EEBus integration configuration and status.

Experimental UI features are enabled.

Additional meters for monitoring purposes.

Fatal startup errors.

Price, CO₂ and solar production forecasts.

Share of green energy in home consumption, between 0 and 1.

Share of green energy used for charging, between 0 and 1.

Grid meter data.

A grid meter is configured.

Home energy management system integration.

historyUpdatedstring (date-time)

Time of the last energy history update.

homePowernumber

Home consumption power in W.

InfluxDB integration configuration.

intervalnumber

Update interval of the control loop in seconds.

Charging locations. One entry per configured loadpoint.

mcpboolean

Built-in MCP server is enabled.

Messaging services configuration. Structure depends on configuration.

Configured notification messages per event type.

Modbus proxy configuration.

MQTT integration configuration.

Network configuration.

OCPP server configuration and connected stations.

OCPP forwarder rules and upstream connection status.

optimizerboolean

Battery optimizer is enabled.

Available battery optimizer charging strategies.

Selected battery optimizer charging strategy.

Battery priority SoC in %. Home battery is charged first while below this level.

Solar generation meters. One entry per configured pv meter.

pvEnergynumber

Total solar generation energy in kWh.

pvPowernumber

Total solar generation power in W. Sum of all pv meters.

Remote access configuration and connection status.

Configured grid operating point in W. Positive values maintain grid import.

Initial setup is required.

SMA Home Manager configuration.

siteTitlestring

Configured site title.

A dynamic grid price or CO₂ forecast is configured.

Type of the smart charging limit, price based or emission based.

A feed-in tariff with forecast is configured.

Solar forecast is adjusted to real production data (experimental).

Sponsorship status.

Startup has completed.

Charging statistics over different time periods.

systemstring

Operating system and architecture.

tariffCo2number

Current grid CO₂ emissions in g/kWh.

Current CO₂ emissions of home consumption in g/kWh, taking the green energy share into account.

Current CO₂ emissions of charging in g/kWh, taking the green energy share into account.

Current feed-in rate per kWh in the configured currency.

Current grid energy price per kWh in the configured currency.

Current energy price of home consumption per kWh, taking the green energy share into account.

Current energy price of charging per kWh, taking the green energy share into account.

Configured tariffs. Structure depends on configuration.

Current cost of solar generation per kWh in the configured currency.

Current outside temperature in °C.

telemetryboolean

Telemetry is enabled.

timezonestring

Server time zone abbreviation and UTC offset.

vehiclesRecord<string, Vehicle>required

Configured vehicles, keyed by vehicle name.

versionstring

Running evcc version.

Typen

AuthProviders

Status of configured vehicle authentication providers, keyed by provider name.

Used by: State.authProviders

Battery

Home battery state. Aggregated across all battery meters.

Used by: State.battery

capacitynumberrequired

Total battery capacity in kWh.

Measurement data per battery meter.

energynumber

Total battery energy in kWh.

Projected charge levels based on the solar and price forecast.

powernumberrequired

Current battery power in W. Positive means discharging, negative means charging.

socnumberrequired

Charge level in %. Weighted by capacity across all batteries.

BatteryForecast

Projected home battery charge levels based on the solar and price forecast.

Used by: Battery.forecast

Projected highest charge level.

Projected lowest charge level.

BatteryForecastPoint

A projected home battery charge level at a point in time.

Used by: BatteryForecast.highest, BatteryForecast.lowest

limitboolean

The projection hits the upper or lower battery limit.

socnumberrequired

Projected charge level in %.

timestring (date-time)required

Time of the projected charge level.

BatteryMeter

Measurement data of a single home battery meter.

Used by: Battery.devices

capacitynumberrequired

Battery capacity in kWh. Zero when not specified.

controllablebooleanrequired

Battery supports external control of its operation mode.

currentsnumber[]

Current per phase in A.

energynumber

Total energy in kWh.

iconstring

Meter icon name for UI display.

namestring

Unique device name of the meter.

powernumberrequired

Current power in W.

powersnumber[]

Power per phase in W.

Total exported energy in kWh.

socnumberrequired

Charge level in %.

Battery optimizer suggestion.

titlestring

Meter title for UI display.

BatteryMode

Battery operation mode.

Used by: State.batteryMode

"unknown""normal""hold""charge""holdcharge"

BatterySuggestion

Battery optimizer suggestion for a home battery.

Used by: BatteryMeter.suggestion

actionstringrequired

Suggested operation mode.

"normal""hold""charge""holdcharge""discharge"

actionableboolean

Suggestion differs from the current operating mode.

chargenumber

Recommended charge power in W.

dischargenumber

Recommended discharge power in W.

Certificate

A TLS certificate key pair.

Used by: EebusConfig.certificate

privatestringrequired

Private key in PEM format. Redacted.

publicstringrequired

Public certificate in PEM format.

ChargeMode

Charging mode.

Used by: Loadpoint.mode, Vehicle.mode

"off""now""minpv""pv"

ChargerStatusReason

Reason why the charger is waiting.

Used by: Loadpoint.chargerStatusReason

"unknown""waitingforauthorization""disconnectrequired"

Circuit

A load management circuit limiting power and current of its assigned loadpoints.

Used by: State.circuits

currentnumber

Current in A.

iconstring

Circuit icon name for UI display.

Maximum allowed current in A.

maxPowernumber

Maximum allowed power in W.

parentstring

Name of the parent circuit.

powernumberrequired

Current power in W.

titlestring

Circuit title for UI display.

Currency

Currency in ISO 4217 format.

Used by: State.currency

"AUD""BGN""BRL""CAD""CHF""CNY""CZK""EUR""GBP""HUF""ILS""JPY""NZD""NOK""PLN""RON""USD""DKK""SEK""ZAR""TRY""MYR""THB"

DeviceColorEntry

Color assigned to a device for consistent UI display.

Used by: State.deviceColors

colorstringrequired

Assigned color as CSS value.

titlestringrequired

Device title the color is assigned to.

Eebus

EEBus integration configuration and status.

Used by: State.eebus

Static configuration.

Runtime status.

Source of the configuration, evcc.yaml file or database.

"file""db"

EebusConfig

EEBus integration configuration.

Used by: Eebus.config

TLS certificate.

interfacesstring[]

Network interfaces the EEBus service uses.

portnumberrequired

Port the EEBus service listens on.

shipidstringrequired

SHIP id.

uristring

URI the EEBus service listens on.

EebusStatus

EEBus runtime status.

Used by: Eebus.status

qrstring

QR code payload for pairing.

skistringrequired

SKI (subject key identifier) used for pairing.

EnergyByDay

Expected solar production energy of a day.

Used by: SolarDetails.dayAfterTomorrow, SolarDetails.today, SolarDetails.tomorrow

completebooleanrequired

Forecast data covers the whole day.

energynumberrequired

Expected production energy in kWh.

FatalError

A fatal startup error.

Used by: State.fatal

classstring

Device class the error originates from, like meter or charger.

devicestring

Name of the device that caused the error.

errorstringrequired

Error message.

Forecast

Price, CO₂ and solar production forecasts.

Used by: State.forecast

CO₂ emission forecast in g/kWh per time slot.

Feed-in rate forecast. Rate per kWh in the configured currency per time slot.

Grid price forecast. Price per kWh in the configured currency per time slot.

Charging cost forecast used by the plan optimizer per time slot.

Solar production forecast.

Temperature forecast in °C per time slot.

ForecastSlot

A forecast time slot as [start, end, value] array. Start and end are unix seconds. Value unit depends on the forecast type.

Used by: Forecast.co2, Forecast.feedin, Forecast.grid, Forecast.planner, Forecast.temperature

GenericConfigStatus

Configuration and runtime status of an integration. Structure depends on configuration.

Used by: State.messaging, State.tariffs

configobject

Static configuration.

statusobject

Runtime status.

Source of the configuration, evcc.yaml file or database.

"file""db"

Hems

Home energy management system integration.

Used by: State.hems

Static configuration.

Runtime status.

Source of the configuration, evcc.yaml file or database.

"file""db"

HemsConfig

Home energy management system configuration.

Used by: Hems.config

configuredbooleanrequired

A home energy management system is configured.

HemsStatus

Current external limits imposed by the home energy management system.

Used by: Hems.status

curtailednumber

Allowed feed-in in %. Values below 100 mean production is curtailed.

dimmedboolean

Consumption is currently limited.

Maximum allowed consumption power in W.

Maximum allowed production power in W.

InfluxConfig

InfluxDB integration configuration.

Used by: State.influx

databasestringrequired

Database name (InfluxDB 1.x) or bucket (InfluxDB 2.x).

insecureboolean

Skip TLS certificate verification.

orgstringrequired

Organization (InfluxDB 2.x).

passwordstring

Password (InfluxDB 1.x). Redacted.

tokenstring

Access token (InfluxDB 2.x). Redacted.

urlstringrequired

InfluxDB server URL.

userstring

Username (InfluxDB 1.x).

Loadpoint

A charging location with a charger, an optional dedicated meter and an optional vehicle.

Used by: State.loadpoints

batteryBoostbooleanrequired

Battery boost is active. When enabled, home battery power is used for fast charging.

batteryBoostLimitnumberrequired

SoC limit for battery boost in %.

Charging current per phase in A.

chargedEnergynumberrequired

Energy charged in the current charging session in kWh.

chargeDurationnumberrequired

Duration of the current charging session in seconds.

chargePowernumberrequired

Current charging power in W.

Estimated remaining charging time in seconds.

Estimated remaining energy in kWh.

The connected vehicle is not identified automatically by its status.

chargerFeatureAveragebooleanrequired

Values are averaged.

Values are cached.

The climater state of the connected vehicle is ignored for charge control.

Charger only supports full ampere steps for current control.

Charger is a heating device where disabled means normal operation.

chargerFeatureHeatingbooleanrequired

Charger is a heating device. SoC values represent temperature in degrees.

Charger is an always-connected device without vehicles and charging sessions, like a heat pump.

chargerFeatureOfflinebooleanrequired

The connected vehicle only provides data while charging.

Vehicle API calls are retried on failure.

The connected vehicle pushes data updates instead of being polled.

Charger is a switchable device without current control, like a heat pump or switch socket.

No wake-up calls are sent to the connected vehicle.

The connected vehicle may need a short welcome charge to start communicating.

chargerIconstringrequirednullable

Charger icon name for UI display.

chargerPhases1p3pbooleanrequired

Charger supports automatic switching between 1-phase and 3-phase charging.

chargerSinglePhasebooleanrequired

Charger is physically connected with a single phase.

Reason why the charger is waiting, like a pending authorization or a required disconnect.

Total energy imported by the charge meter in kWh.

Charging voltage per phase in V.

chargingbooleanrequired

A vehicle is connected and charging.

connectedbooleanrequired

A vehicle is connected to the charger.

connectedDurationnumberrequired

Duration since the vehicle was connected, in seconds.

disableDelaynumberrequired

Delay before charging stops in solar mode, in seconds.

disableThresholdnumberrequired

Grid draw power above which charging stops in solar mode, in W.

effectiveLimitSocnumberrequired

Currently applied SoC limit in %.

effectiveMaxCurrentnumberrequired

Currently applied maximum charging current in A.

effectiveMinCurrentnumberrequired

Currently applied minimum charging current in A.

effectiveMinSocnumberrequired

Currently applied minimum SoC in %.

effectivePlanIdnumberrequired

Id of the currently applied charging plan. Zero if no plan is active.

effectivePlanSocnumberrequired

SoC goal in % of the currently applied charging plan.

Currently applied charging plan strategy.

effectivePlanTimestring (date-time)requirednullable

Target time of the currently applied charging plan.

effectivePrioritynumberrequired

Currently applied priority.

enabledbooleanrequired

Charger is currently allowed to charge.

enableDelaynumberrequired

Delay before charging starts in solar mode, in seconds.

enableThresholdnumberrequired

Available surplus power above which charging starts in solar mode, in W.

Energy used in the last 24 hours in kWh.

Energy used in the last 7 days in kWh.

limitEnergynumberrequired

Session energy limit in kWh. Zero means no limit.

limitSocnumberrequired

Session SoC limit in %. Zero means no limit.

maxCurrentnumberrequired

Maximum charging current in A.

minCurrentnumberrequired

Minimum charging current in A.

minSocnumberrequired

Minimum SoC in %. Vehicle is fast-charged until this level is reached.

minSocNotReachedbooleanrequired

Vehicle SoC is below the configured minimum SoC.

Charging behavior.

namestringrequired

Unique loadpoint identifier used in API routes and configuration.

offeredCurrentnumberrequired

Current offered to the vehicle in A.

Pending phase switching action in solar mode.

phaseRemainingnumberrequired

Remaining time until the pending phase switching action executes, in seconds.

phasesActivenumberrequired

Number of phases expected to be used for charging.

phasesConfigurednumberrequired

Configured phase mode. 0 is automatic switching, 1 and 3 select a fixed phase count.

planRate[]requirednullable

Time slots of the current charging plan.

planActivebooleanrequired

The current time slot is an active charging slot of the plan.

planEnergynumberrequired

Energy goal of the charging plan in kWh.

planOverrunnumberrequired

Duration in seconds the charging plan is projected to miss its target time.

planProjectedEndstring (date-time)requirednullable

Projected end of the charging plan. End of the last planned slot.

planProjectedStartstring (date-time)requirednullable

Projected start of the charging plan. Start of the earliest planned slot.

Charging plan strategy.

planTimestring (date-time)requirednullable

Target time of the charging plan.

prioritynumberrequired

Priority for surplus distribution. Higher number means higher priority.

Pending charge start or stop action in solar mode.

pvRemainingnumberrequired

Remaining time until the pending charge start or stop action executes, in seconds.

sessionCo2PerKWhnumberrequirednullable

Average CO₂ emissions of the current charging session in g/kWh.

sessionEnergynumberrequired

Energy charged in the current charging session in kWh.

sessionPricenumberrequirednullable

Total cost of the current charging session in the configured currency.

sessionPricePerKWhnumberrequirednullable

Average energy price of the current charging session per kWh in the configured currency.

Share of solar energy in the current charging session in %.

smartCostActivebooleanrequired

Fast charging with cheap or clean grid energy is currently active.

smartCostLimitnumberrequirednullable

Price or emission limit for fast charging with grid energy.

smartCostNextStartstring (date-time)requirednullable

Start of the next fast charging period with cheap or clean grid energy.

Charging pause for prioritized feed-in is currently active.

smartFeedInPriorityLimitnumberrequirednullable

Feed-in rate limit above which charging is paused.

smartFeedInPriorityNextStartstring (date-time)requirednullable

Start of the next charging pause for prioritized feed-in.

Charging suggestion from the battery optimizer.

titlestringrequired

Loadpoint title for UI display.

Energy used since midnight in kWh.

Display-only UI settings.

vehicleClimaterActivebooleanrequirednullable

Climater of the connected vehicle is active.

vehicleDetectionActivebooleanrequired

Automatic vehicle detection is running.

vehicleLimitSocnumberrequired

SoC limit configured in the vehicle itself, in %.

vehicleNamestringrequired

Unique name of the connected vehicle. Empty for guest vehicles.

vehicleOdometernumberrequired

Odometer reading of the connected vehicle in km.

vehicleRangenumberrequired

Range of the connected vehicle in km.

vehicleSocnumberrequired

Charge level of the connected vehicle in %. Temperature in degrees for heating devices.

vehicleTitlestringrequired

Title of the connected vehicle for UI display.

vehicleWelcomeActivebooleanrequired

A short welcome charge is active to enable vehicle communication.

LoadpointSuggestion

Battery optimizer suggestion for a loadpoint.

Used by: Loadpoint.suggestion

actionstringrequired

Suggested charging action.

"charge""stop"

actionableboolean

Suggestion differs from the current operating mode.

chargenumber

Recommended charge power in W.

dischargenumber

Recommended discharge power in W.

LoadpointUi

Display-only UI settings of a loadpoint.

Used by: Loadpoint.ui

maxTempnumberrequired

Upper bound of the temperature scale for heating devices, in degrees.

minTempnumberrequired

Lower bound of the temperature scale for heating devices, in degrees.

MessagingEvent

A configured notification message.

Used by: MessagingEvents.asleep, MessagingEvents.connect, MessagingEvents.disconnect, MessagingEvents.guest, MessagingEvents.planoverrun, MessagingEvents.soc, MessagingEvents.start, MessagingEvents.stop, MessagingEvents.suggestion

disabledbooleanrequired

Notifications for this event are disabled.

msgstringrequired

Message body template.

titlestringrequired

Message title template.

MessagingEvents

Configured notification messages, keyed by event type.

Used by: State.messagingEvents

Meter

Measurement data of a single meter.

Used by: State.aux, State.consumers, State.ext, State.grid, State.pv

currentsnumber[]

Current per phase in A.

energynumber

Total energy in kWh.

iconstring

Meter icon name for UI display.

namestring

Unique device name of the meter.

powernumberrequired

Current power in W.

powersnumber[]

Power per phase in W.

Total exported energy in kWh.

titlestring

Meter title for UI display.

ModbusBaudrate

Serial baud rate.

Used by: ModbusProxySettings.baudrate

12009600192003840057600115200

ModbusComset

Serial communication parameters.

Used by: ModbusProxySettings.comset

"8N1""8E1""8N2"

ModbusProxy

A Modbus proxy forwarding requests to a physical device.

Used by: State.modbusproxy

portnumberrequired

Port the proxy listens on.

How write requests are handled.

Connection settings of the physical device.

ModbusProxyReadonly

How the Modbus proxy handles write requests.

Used by: ModbusProxy.readonly

"false""true""deny"

ModbusProxySettings

Connection settings of a Modbus device.

Used by: ModbusProxy.settings

Serial baud rate.

Serial communication parameters.

devicestring

Serial device path.

rtuboolean

Use RTU protocol over TCP.

uristring

Device address for TCP connections.

MqttConfig

MQTT integration configuration.

Used by: State.mqtt

brokerstringrequired

Broker address.

caCertstring

CA certificate for TLS connections.

Client certificate for TLS connections.

clientIDstring

MQTT client id.

clientKeystring

Client key for TLS connections.

insecureboolean

Skip TLS certificate verification.

passwordstring

Broker password. Redacted.

topicstringrequired

Root topic all values are published under.

userstring

Broker username.

Network

Network configuration.

Used by: State.network

Externally reachable URL.

hoststringrequired

Hostname.

URL in the local network.

portnumberrequired

HTTP port.

schemastring

URL schema, http or https.

Ocpp

OCPP server configuration and status.

Used by: State.ocpp

OCPP server configuration.

OCPP server status.

OcppConfig

OCPP server configuration.

Used by: Ocpp.config

portnumberrequired

Port the OCPP server listens on.

OcppConnectionStatus

Connection status of an OCPP station.

Used by: OcppStationStatus.status

"unknown""configured""connected"

OcppForwarder

OCPP forwarder rules and upstream connection status.

Used by: State.ocppforwarder

Static configuration.

Source of the configuration, evcc.yaml file or database.

"file""db"

OcppForwarderRule

A rule forwarding an OCPP station to an upstream backend.

Used by: OcppForwarder.config

caCertstring

CA certificate for TLS connections.

insecureboolean

Skip TLS certificate verification.

passwordstring

Password for upstream authentication. Redacted.

readOnlyboolean

Only forward read operations to the station.

stationIdstringrequired

Station id to forward.

Station id used towards the upstream backend.

upstreamUrlstringrequired

URL of the upstream OCPP backend.

usernamestring

Username for upstream authentication.

OcppForwarderSession

Connection status of an OCPP forwarder rule.

Used by: OcppForwarder.status

chargerIdstringrequired

Charger id.

errorstring

Last connection error.

upstreamConnectedbooleanrequired

Connection to the upstream backend is established.

upstreamUrlstringrequired

URL of the upstream OCPP backend.

OcppStationStatus

Connection status of an OCPP station.

Used by: OcppStatus.stations

idstringrequired

Station id.

Connection status.

OcppStatus

OCPP server status.

Used by: Ocpp.status

Externally reachable URL of the OCPP server.

Connection status per configured station.

PhaseAction

Pending phase switching action in solar mode.

Used by: Loadpoint.phaseAction

"inactive""scale1p""scale3p"

PlanStrategy

Charging plan strategy.

Used by: Loadpoint.effectivePlanStrategy, Loadpoint.planStrategy, Vehicle.planStrategy

continuousbooleanrequired

Force continuous charging without gaps.

preconditionnumberrequired

Duration of uninterrupted charging directly before the target time, in seconds.

PvAction

Pending charge start or stop action in solar mode.

Used by: Loadpoint.pvAction

"inactive""enable""disable"

Rate

A time slot with an associated price or emission value.

Used by: Loadpoint.plan

endstring (date-time)required

End of the time slot.

startstring (date-time)required

Start of the time slot.

valuenumberrequired

Price per kWh in the configured currency or emissions in g/kWh.

Remote

Remote access configuration and connection status.

Used by: State.remote

Static configuration.

Runtime status.

Source of the configuration, evcc.yaml file or database.

"file""db"

RemoteConfig

Remote access configuration.

Used by: Remote.config

enabledbooleanrequired

Remote access is enabled.

RemoteStatus

Remote access connection status.

Used by: Remote.status

connectedbooleanrequired

Connection to the remote access server is established.

errorstring

Last connection error.

lastSeenRecord<string, string>

Last remote activity per client, keyed by username. RFC3339 timestamps.

loginBlockedbooleanrequired

Remote login attempts are currently blocked by the rate limiter.

urlstring

Remote access URL.

RepeatingPlan

A repeating charging plan.

Used by: Vehicle.repeatingPlans

activebooleanrequired

Plan is active.

socnumberrequired

SoC goal in %.

timestringrequired

Target time in HH:MM format.

tzstringrequired

Time zone of the target time, like Europe/Berlin.

weekdaysnumber[]required

Weekdays the plan is active. 0 is Sunday, 6 is Saturday.

ShmConfig

SMA Home Manager configuration.

Used by: State.shm

deviceIdstringrequired

SMA device id.

SMA device serial.

vendorIdstringrequired

SMA vendor id.

SmartCostType

Type of the smart charging limit.

Used by: State.smartCostType

"co2""pricedynamic""priceforecast"

SolarDetails

Solar production forecast.

Used by: Forecast.solar

Expected production the day after tomorrow.

scalenumber

Correction factor applied to the forecast based on past production.

Expected production power over time.

Expected production today.

Expected production tomorrow.

Sponsorship status.

Used by: State.sponsor

SponsorStatus

Sponsorship status.

Used by: Sponsor.status

expiresAtstring (date-time)

Expiry time of the sponsor token.

Sponsor token expires soon.

namestring

Name of the sponsor.

tokenstring

Sponsor token. Redacted.

StaticEnergyPlan

Charging plan with an energy goal.

Used by: StaticPlan

energynumberrequired

Energy goal in kWh.

timestring (date-time)required

Target time.

StaticPlan

Charging plan with a fixed target time and a SoC or energy goal.

Used by: Vehicle.plan

One of: StaticSocPlan | StaticEnergyPlan

StaticSocPlan

Charging plan with a SoC goal.

Used by: StaticPlan

socnumberrequired

SoC goal in %.

timestring (date-time)required

Target time.

Statistics

Charging statistics, keyed by time period.

Used by: State.statistics

StatisticsData

Aggregated charging statistics for a time period.

Used by: Statistics.30d, Statistics.365d, Statistics.thisYear, Statistics.total

avgCo2numberrequired

Average CO₂ emissions in g/kWh.

avgPricenumberrequired

Average energy price per kWh in the configured currency.

chargedKWhnumberrequired

Total charged energy in kWh.

solarPercentagenumberrequired

Share of solar energy in %.

TimeseriesEntry

A forecast value at a point in time as [ts, val] array. ts is unix seconds, val is power in W.

Used by: SolarDetails.timeseries

Vehicle

A configured vehicle.

Used by: State.vehicles

capacitynumber

Usable battery capacity in kWh.

featuresstring[]

Feature flags of the vehicle implementation.

iconstring

Vehicle icon name for UI display.

limitSocnumber

SoC limit in %. Charging stops when reached.

minSocnumber

Minimum SoC in %. Vehicle is fast-charged until this level is reached.

Charge mode applied when the vehicle connects.

namestring

Unique vehicle name used in API routes and configuration.

Charging plan with a fixed target time and SoC or energy goal.

Charging plan strategy.

repeatingPlansRepeatingPlan[]requirednullable

Repeating charging plans.

titlestringrequired

Vehicle title for UI display.