Skip to content
EN | DE

System state

GET
/state
curl --request GET \
--url 'https://demo.evcc.io/api/state?jq=.'

Returns the complete state of the system. This structure is used by the UI and also published via websocket and MQTT. It can be filtered by JQ to only return a subset of the data. Note: the response mirrors the internal UI state and carries no compatibility promise. Fields may change or disappear between releases.

More information

jq
string

Filter the state with JQ

Examples

complete state

.

Success

Media typeapplication/json

Complete system state as returned by /api/state and pushed via websocket and MQTT. This structure mirrors the internal UI state and carries no compatibility promise. Fields may change or disappear between releases.

object
telemetry

Telemetry is enabled.

boolean
experimental

Experimental UI features are enabled.

boolean
setupRequired

Initial setup is required.

boolean
startupCompleted

Startup has completed.

boolean
apiReady

HTTP API is ready to accept requests.

boolean
loadpoints
required

Charging locations. One entry per configured loadpoint.

Array<object>

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

object
name
required

Unique loadpoint identifier used in API routes and configuration.

string
batteryBoost
required

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

boolean
chargeCurrents

Charging current per phase in A.

Array<number>
chargeDuration
required

Duration of the current charging session in seconds.

number
chargePower
required

Current charging power in W.

number
chargeRemainingDuration

Estimated remaining charging time in seconds.

number
chargeRemainingEnergy

Estimated remaining energy in kWh.

number
chargeTotalImport

Total energy imported by the charge meter in kWh.

number
chargeVoltages

Charging voltage per phase in V.

Array<number>
chargedEnergy
required

Energy charged in the current charging session in kWh.

number
chargerFeatureAutodetectDisabled
required

The connected vehicle is not identified automatically by its status.

boolean
chargerFeatureAverage
required

Values are averaged.

boolean
chargerFeatureCacheable
required

Values are cached.

boolean
chargerFeatureClimaterDisabled
required

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

boolean
chargerFeatureCoarseCurrent
required

Charger only supports full ampere steps for current control.

boolean
chargerFeatureContinuous
required

Charger is a heating device where disabled means normal operation.

boolean
chargerFeatureHeating
required

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

boolean
chargerFeatureIntegratedDevice
required

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

boolean
chargerFeatureOffline
required

The connected vehicle only provides data while charging.

boolean
chargerFeatureRetryable
required

Vehicle API calls are retried on failure.

boolean
chargerFeatureStreaming
required

The connected vehicle pushes data updates instead of being polled.

boolean
chargerFeatureSwitchDevice
required

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

boolean
chargerFeatureWakeUpDisabled
required

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

boolean
chargerFeatureWelcomeCharge
required

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

boolean
chargerIcon
required

Charger icon name for UI display.

string
nullable
chargerPhases1p3p
required

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

boolean
chargerSinglePhase
required

Charger is physically connected with a single phase.

boolean
chargerStatusReason

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

string
Allowed values: unknown waitingforauthorization disconnectrequired
charging
required

A vehicle is connected and charging.

boolean
connected
required

A vehicle is connected to the charger.

boolean
connectedDuration
required

Duration since the vehicle was connected, in seconds.

number
disableDelay
required

Delay before charging stops in solar mode, in seconds.

number
disableThreshold
required

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

number
effectiveLimitSoc
required

Currently applied SoC limit in %.

number
effectiveMaxCurrent
required

Currently applied maximum charging current in A.

number
effectiveMinCurrent
required

Currently applied minimum charging current in A.

number
effectiveMinSoc
required

Currently applied minimum SoC in %.

number
effectivePlanId
required

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

number
effectivePlanSoc
required

SoC goal in % of the currently applied charging plan.

number
effectivePlanTime
required

Target time of the currently applied charging plan.

string format: date-time
nullable
effectivePlanStrategy
required

Currently applied charging plan strategy.

object
continuous
required

Force continuous charging without gaps.

boolean
precondition
required

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

number
effectivePriority
required

Currently applied priority.

number
enableDelay
required

Delay before charging starts in solar mode, in seconds.

number
enableThreshold
required

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

number
enabled
required

Charger is currently allowed to charge.

boolean
limitEnergy
required

Session energy limit in kWh. Zero means no limit.

number
limitSoc
required

Session SoC limit in %. Zero means no limit.

number
maxCurrent
required

Maximum charging current in A.

number
minCurrent
required

Minimum charging current in A.

number
minSoc
required

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

number
minSocNotReached
required

Vehicle SoC is below the configured minimum SoC.

boolean
mode
required

Charging behavior.

string
Allowed values: off now minpv pv
offeredCurrent
required

Current offered to the vehicle in A.

number
phaseAction
required

Pending phase switching action in solar mode.

string
Allowed values: inactive scale1p scale3p
phaseRemaining
required

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

number
phasesActive
required

Number of phases expected to be used for charging.

number
phasesConfigured
required

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

number
plan
required

Time slots of the current charging plan.

Array<object>
nullable

A time slot with an associated price or emission value.

object
start
required

Start of the time slot.

string format: date-time
end
required

End of the time slot.

string format: date-time
value
required

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

number
planActive
required

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

boolean
planEnergy
required

Energy goal of the charging plan in kWh.

number
planOverrun
required

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

number
planStrategy
required

Charging plan strategy.

object
continuous
required

Force continuous charging without gaps.

boolean
precondition
required

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

number
planProjectedEnd
required

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

string format: date-time
nullable
planProjectedStart
required

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

string format: date-time
nullable
planTime
required

Target time of the charging plan.

string format: date-time
nullable
priority
required

Priority for surplus distribution. Higher number means higher priority.

number
pvAction
required

Pending charge start or stop action in solar mode.

string
Allowed values: inactive enable disable
pvRemaining
required

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

number
last24hEnergy

Energy used in the last 24 hours in kWh.

number
last7dEnergy

Energy used in the last 7 days in kWh.

number
sessionCo2PerKWh
required

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

number
nullable
sessionEnergy
required

Energy charged in the current charging session in kWh.

number
sessionPrice
required

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

number
nullable
sessionPricePerKWh
required

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

number
nullable
sessionSolarPercentage
required

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

number
smartCostActive
required

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

boolean
smartCostLimit
required

Price or emission limit for fast charging with grid energy.

number
nullable
smartCostNextStart
required

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

string format: date-time
nullable
smartFeedInPriorityActive
required

Charging pause for prioritized feed-in is currently active.

boolean
smartFeedInPriorityLimit
required

Feed-in rate limit above which charging is paused.

number
nullable
smartFeedInPriorityNextStart
required

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

string format: date-time
nullable
suggestion

Charging suggestion from the battery optimizer.

object
action
required

Suggested charging action.

string
Allowed values: charge stop
charge

Recommended charge power in W.

number
discharge

Recommended discharge power in W.

number
actionable

Suggestion differs from the current operating mode.

boolean
title
required

Loadpoint title for UI display.

string
todayEnergy

Energy used since midnight in kWh.

number
vehicleClimaterActive
required

Climater of the connected vehicle is active.

boolean
nullable
vehicleDetectionActive
required

Automatic vehicle detection is running.

boolean
vehicleLimitSoc
required

SoC limit configured in the vehicle itself, in %.

number
vehicleName
required

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

string
vehicleOdometer
required

Odometer reading of the connected vehicle in km.

number
vehicleRange
required

Range of the connected vehicle in km.

number
vehicleSoc
required

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

number
vehicleTitle
required

Title of the connected vehicle for UI display.

string
vehicleWelcomeActive
required

A short welcome charge is active to enable vehicle communication.

boolean
batteryBoostLimit
required

SoC limit for battery boost in %.

number
ui

Display-only UI settings.

object
minTemp
required

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

number
maxTemp
required

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

number
forecast
required

Price, CO₂ and solar production forecasts.

object
grid

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

Array<Array<number>>
co2

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

Array<Array<number>>
solar

Solar production forecast.

object
scale

Correction factor applied to the forecast based on past production.

number
today

Expected production today.

object
energy
required

Expected production energy in kWh.

number
complete
required

Forecast data covers the whole day.

boolean
tomorrow

Expected production tomorrow.

object
energy
required

Expected production energy in kWh.

number
complete
required

Forecast data covers the whole day.

boolean
dayAfterTomorrow

Expected production the day after tomorrow.

object
energy
required

Expected production energy in kWh.

number
complete
required

Forecast data covers the whole day.

boolean
timeseries

Expected production power over time.

Array<Array<number>>
planner

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

Array<Array<number>>
feedin

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

Array<Array<number>>
temperature

Temperature forecast in °C per time slot.

Array<Array<number>>
currency

Configured currency for all monetary values.

string
Allowed values: AUD BGN BRL CAD CHF CNY CZK EUR GBP HUF ILS JPY NZD NOK PLN RON USD DKK SEK ZAR TRY MYR THB
fatal

Fatal startup errors.

Array<object>

A fatal startup error.

object
error
required

Error message.

string
class

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

string
device

Name of the device that caused the error.

string
authProviders

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

object
key
additional properties
object
id
required
string
authenticated
required
boolean
version

Running evcc version.

string
availableVersion

Latest available evcc version.

string
system

Operating system and architecture.

string
timezone

Server time zone abbreviation and UTC offset.

string
battery

Aggregated home battery state.

object
power
required

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

number
capacity
required

Total battery capacity in kWh.

number
soc
required

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

number
energy

Total battery energy in kWh.

number
devices

Measurement data per battery meter.

Array<object>

Measurement data of a single home battery meter.

object
name

Unique device name of the meter.

string
power
required

Current power in W.

number
title

Meter title for UI display.

string
icon

Meter icon name for UI display.

string
energy

Total energy in kWh.

number
returnEnergy

Total exported energy in kWh.

number
powers

Power per phase in W.

Array<number>
currents

Current per phase in A.

Array<number>
soc
required

Charge level in %.

number
controllable
required

Battery supports external control of its operation mode.

boolean
capacity
required

Battery capacity in kWh. Zero when not specified.

number
suggestion

Battery optimizer suggestion.

object
action
required

Suggested operation mode.

string
Allowed values: normal hold charge holdcharge discharge
charge

Recommended charge power in W.

number
discharge

Recommended discharge power in W.

number
actionable

Suggestion differs from the current operating mode.

boolean
forecast

Projected charge levels based on the solar and price forecast.

object
highest

Projected highest charge level.

object
soc
required

Projected charge level in %.

number
time
required

Time of the projected charge level.

string format: date-time
limit

The projection hits the upper or lower battery limit.

boolean
lowest

Projected lowest charge level.

object
soc
required

Projected charge level in %.

number
time
required

Time of the projected charge level.

string format: date-time
limit

The projection hits the upper or lower battery limit.

boolean
batteryMode

Current operation mode of the home battery.

string
Allowed values: unknown normal hold charge holdcharge
grid

Grid meter data.

object
name

Unique device name of the meter.

string
power
required

Current power in W.

number
title

Meter title for UI display.

string
icon

Meter icon name for UI display.

string
energy

Total energy in kWh.

number
returnEnergy

Total exported energy in kWh.

number
powers

Power per phase in W.

Array<number>
currents

Current per phase in A.

Array<number>
gridConfigured

A grid meter is configured.

boolean
pv

Solar generation meters. One entry per configured pv meter.

Array<object>

Measurement data of a single meter.

object
name

Unique device name of the meter.

string
power
required

Current power in W.

number
title

Meter title for UI display.

string
icon

Meter icon name for UI display.

string
energy

Total energy in kWh.

number
returnEnergy

Total exported energy in kWh.

number
powers

Power per phase in W.

Array<number>
currents

Current per phase in A.

Array<number>
pvPower

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

number
pvEnergy

Total solar generation energy in kWh.

number
aux

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

Array<object>

Measurement data of a single meter.

object
name

Unique device name of the meter.

string
power
required

Current power in W.

number
title

Meter title for UI display.

string
icon

Meter icon name for UI display.

string
energy

Total energy in kWh.

number
returnEnergy

Total exported energy in kWh.

number
powers

Power per phase in W.

Array<number>
currents

Current per phase in A.

Array<number>
auxPower

Total power of all auxiliary meters in W.

number
ext

Additional meters for monitoring purposes.

Array<object>

Measurement data of a single meter.

object
name

Unique device name of the meter.

string
power
required

Current power in W.

number
title

Meter title for UI display.

string
icon

Meter icon name for UI display.

string
energy

Total energy in kWh.

number
returnEnergy

Total exported energy in kWh.

number
powers

Power per phase in W.

Array<number>
currents

Current per phase in A.

Array<number>
consumers

Consumption meters of individual devices for monitoring purposes.

Array<object>

Measurement data of a single meter.

object
name

Unique device name of the meter.

string
power
required

Current power in W.

number
title

Meter title for UI display.

string
icon

Meter icon name for UI display.

string
energy

Total energy in kWh.

number
returnEnergy

Total exported energy in kWh.

number
powers

Power per phase in W.

Array<number>
currents

Current per phase in A.

Array<number>
homePower

Home consumption power in W.

number
residualPower

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

number
greenShareHome

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

number
greenShareLoadpoints

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

number
tariffs

Configured tariffs. Structure depends on configuration.

object
config

Static configuration.

status

Runtime status.

yamlSource

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

string
Allowed values: file db
tariffGrid

Current grid energy price per kWh in the configured currency.

number
tariffFeedIn

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

number
tariffCo2

Current grid CO₂ emissions in g/kWh.

number
tariffSolar

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

number
tariffPriceHome

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

number
tariffPriceLoadpoints

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

number
tariffCo2Home

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

number
tariffCo2Loadpoints

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

number
tariffTemperature

Current outside temperature in °C.

number
mqtt

MQTT integration configuration.

object
broker
required

Broker address.

string
topic
required

Root topic all values are published under.

string
user

Broker username.

string
password

Broker password. Redacted.

string
clientID

MQTT client id.

string
insecure

Skip TLS certificate verification.

boolean
caCert

CA certificate for TLS connections.

string
clientCert

Client certificate for TLS connections.

string
clientKey

Client key for TLS connections.

string
influx

InfluxDB integration configuration.

object
url
required

InfluxDB server URL.

string
database
required

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

string
org
required

Organization (InfluxDB 2.x).

string
token

Access token (InfluxDB 2.x). Redacted.

string
user

Username (InfluxDB 1.x).

string
password

Password (InfluxDB 1.x). Redacted.

string
insecure

Skip TLS certificate verification.

boolean
network

Network configuration.

object
schema

URL schema, http or https.

string
host
required

Hostname.

string
port
required

HTTP port.

number
externalUrl

Externally reachable URL.

string
internalUrl

URL in the local network.

string
hems

Home energy management system integration.

object
config

Static configuration.

object
configured
required

A home energy management system is configured.

boolean
status

Runtime status.

object
dimmed

Consumption is currently limited.

boolean
curtailed

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

number
maxConsumptionPower

Maximum allowed consumption power in W.

number
maxProductionPower

Maximum allowed production power in W.

number
yamlSource

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

string
Allowed values: file db
shm

SMA Home Manager configuration.

object
vendorId
required

SMA vendor id.

string
deviceId
required

SMA device id.

string
deviceSerial

SMA device serial.

string
sponsor

Sponsorship status.

object
config

Static configuration.

status

Runtime status.

object
name

Name of the sponsor.

string
expiresAt

Expiry time of the sponsor token.

string format: date-time
expiresSoon

Sponsor token expires soon.

boolean
token

Sponsor token. Redacted.

string
yamlSource

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

string
Allowed values: file db
eebus

EEBus integration configuration and status.

object
config

Static configuration.

object
uri

URI the EEBus service listens on.

string
port
required

Port the EEBus service listens on.

number
shipid
required

SHIP id.

string
interfaces

Network interfaces the EEBus service uses.

Array<string>
certificate

TLS certificate.

object
public
required

Public certificate in PEM format.

string
private
required

Private key in PEM format. Redacted.

string
status

Runtime status.

object
ski
required

SKI (subject key identifier) used for pairing.

string
qr

QR code payload for pairing.

string
yamlSource

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

string
Allowed values: file db
remote

Remote access configuration and connection status.

object
config

Static configuration.

object
enabled
required

Remote access is enabled.

boolean
status

Runtime status.

object
connected
required

Connection to the remote access server is established.

boolean
url

Remote access URL.

string
loginBlocked
required

Remote login attempts are currently blocked by the rate limiter.

boolean
lastSeen

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

object
key
additional properties
string
error

Last connection error.

string
yamlSource

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

string
Allowed values: file db
modbusproxy

Modbus proxy configuration.

Array<object>
nullable

A Modbus proxy forwarding requests to a physical device.

object
port
required

Port the proxy listens on.

number
readonly
required

How write requests are handled.

string
Allowed values: false true deny
settings
required

Connection settings of the physical device.

object
uri

Device address for TCP connections.

string
rtu

Use RTU protocol over TCP.

boolean
device

Serial device path.

string
baudrate

Serial baud rate.

number
Allowed values: 1200 9600 19200 38400 57600 115200
comset

Serial communication parameters.

string
Allowed values: 8N1 8E1 8N2
messaging

Messaging services configuration. Structure depends on configuration.

object
config

Static configuration.

status

Runtime status.

yamlSource

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

string
Allowed values: file db
messagingEvents

Configured notification messages per event type.

object
start
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
stop
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
connect
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
disconnect
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
soc
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
guest
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
asleep
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
planoverrun
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
suggestion
required

A configured notification message.

object
title
required

Message title template.

string
msg
required

Message body template.

string
disabled
required

Notifications for this event are disabled.

boolean
interval

Update interval of the control loop in seconds.

number
circuits

Load management circuits, keyed by circuit name.

object
key
additional properties

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

object
title

Circuit title for UI display.

string
icon

Circuit icon name for UI display.

string
parent

Name of the parent circuit.

string
power
required

Current power in W.

number
current

Current in A.

number
maxPower

Maximum allowed power in W.

number
maxCurrent

Maximum allowed current in A.

number
bufferSoc

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

number
prioritySoc

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

number
bufferStartSoc

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

number
batteryDischargeControl

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

boolean
batteryGridDischarge

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

boolean
solarAdjusted

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

boolean
batteryGridChargeLimit

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

number
nullable
batteryGridChargeActive

Home battery is currently charged from grid.

boolean
smartCostAvailable

A dynamic grid price or CO₂ forecast is configured.

boolean
smartCostType

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

string
Allowed values: co2 pricedynamic priceforecast
smartFeedInPriorityAvailable

A feed-in tariff with forecast is configured.

boolean
historyUpdated

Time of the last energy history update.

string format: date-time
siteTitle

Configured site title.

string
deviceColors

Colors assigned to devices for consistent UI display.

Array<object>

Color assigned to a device for consistent UI display.

object
title
required

Device title the color is assigned to.

string
color
required

Assigned color as CSS value.

string
vehicles
required

Configured vehicles, keyed by vehicle name.

object
key
additional properties

A configured vehicle.

object
name

Unique vehicle name used in API routes and configuration.

string
mode
Any of:

Charging mode.

string
Allowed values: off now minpv pv
minSoc

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

number
limitSoc

SoC limit in %. Charging stops when reached.

number
plan
Any of:

Charging plan with a SoC goal.

object
soc
required

SoC goal in %.

number
time
required

Target time.

string format: date-time
repeatingPlans
required

Repeating charging plans.

Array<object>
nullable

A repeating charging plan.

object
weekdays
required

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

Array<number>
time
required

Target time in HH:MM format.

string
tz
required

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

string
soc
required

SoC goal in %.

number
active
required

Plan is active.

boolean
planStrategy
required

Charging plan strategy.

object
continuous
required

Force continuous charging without gaps.

boolean
precondition
required

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

number
title
required

Vehicle title for UI display.

string
features

Feature flags of the vehicle implementation.

Array<string>
capacity

Usable battery capacity in kWh.

number
icon

Vehicle icon name for UI display.

string
statistics

Charging statistics over different time periods.

object
30d
required

Aggregated charging statistics for a time period.

object
avgCo2
required

Average CO₂ emissions in g/kWh.

number
avgPrice
required

Average energy price per kWh in the configured currency.

number
chargedKWh
required

Total charged energy in kWh.

number
solarPercentage
required

Share of solar energy in %.

number
365d
required

Aggregated charging statistics for a time period.

object
avgCo2
required

Average CO₂ emissions in g/kWh.

number
avgPrice
required

Average energy price per kWh in the configured currency.

number
chargedKWh
required

Total charged energy in kWh.

number
solarPercentage
required

Share of solar energy in %.

number
thisYear
required

Aggregated charging statistics for a time period.

object
avgCo2
required

Average CO₂ emissions in g/kWh.

number
avgPrice
required

Average energy price per kWh in the configured currency.

number
chargedKWh
required

Total charged energy in kWh.

number
solarPercentage
required

Share of solar energy in %.

number
total
required

Aggregated charging statistics for a time period.

object
avgCo2
required

Average CO₂ emissions in g/kWh.

number
avgPrice
required

Average energy price per kWh in the configured currency.

number
chargedKWh
required

Total charged energy in kWh.

number
solarPercentage
required

Share of solar energy in %.

number
authDisabled

Authentication is disabled.

boolean
config

Path of the evcc configuration file.

string
database

Path of the evcc database.

string
ocpp

OCPP server configuration and connected stations.

object
config
required

OCPP server configuration.

object
port
required

Port the OCPP server listens on.

number
status
required

OCPP server status.

object
externalUrl

Externally reachable URL of the OCPP server.

string
stations
required

Connection status per configured station.

Array<object>

Connection status of an OCPP station.

object
id
required

Station id.

string
status
required

Connection status.

string
Allowed values: unknown configured connected
ocppforwarder

OCPP forwarder rules and upstream connection status.

object
config

Static configuration.

Array<object>

A rule forwarding an OCPP station to an upstream backend.

object
stationId
required

Station id to forward.

string
upstreamUrl
required

URL of the upstream OCPP backend.

string
password

Password for upstream authentication. Redacted.

string
upstreamStationId

Station id used towards the upstream backend.

string
username

Username for upstream authentication.

string
insecure

Skip TLS certificate verification.

boolean
caCert

CA certificate for TLS connections.

string
readOnly

Only forward read operations to the station.

boolean
status

Runtime status.

Array<object>

Connection status of an OCPP forwarder rule.

object
chargerId
required

Charger id.

string
upstreamUrl
required

URL of the upstream OCPP backend.

string
upstreamConnected
required

Connection to the upstream backend is established.

boolean
error

Last connection error.

string
yamlSource

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

string
Allowed values: file db
optimizer

Battery optimizer is enabled.

boolean
optimizerChargingStrategy

Selected battery optimizer charging strategy.

string
optimizerChargingStrategies

Available battery optimizer charging strategies.

Array<string>
mcp

Built-in MCP server is enabled.

boolean
demoMode

Instance runs in demo mode.

boolean
Example
{
"loadpoints": [
{
"chargerStatusReason": "unknown",
"mode": "off",
"phaseAction": "inactive",
"pvAction": "inactive",
"suggestion": {
"action": "charge"
}
}
],
"currency": "AUD",
"system": "linux/amd64",
"timezone": "CEST +02:00",
"battery": {
"devices": [
{
"suggestion": {
"action": "normal"
}
}
]
},
"batteryMode": "unknown",
"tariffs": {
"yamlSource": "file"
},
"hems": {
"yamlSource": "file"
},
"sponsor": {
"yamlSource": "file"
},
"eebus": {
"yamlSource": "file"
},
"remote": {
"yamlSource": "file"
},
"modbusproxy": [
{
"readonly": "false",
"settings": {
"baudrate": 1200,
"comset": "8N1"
}
}
],
"messaging": {
"yamlSource": "file"
},
"smartCostType": "co2",
"vehicles": {
"additionalProperty": {
"mode": "off"
}
},
"ocpp": {
"status": {
"stations": [
{
"status": "unknown"
}
]
}
},
"ocppforwarder": {
"yamlSource": "file"
}
}