EVCC
Chargers, vehicles, solar, grid and dynamic prices from evcc, with its charge modes.
In a dashboard file: a connection with "driver": "evcc", its settings in config, and what a data source of it reads in that data source’s params (Connections and data sources).
Example
Section titled “Example”A dashboard with a connection of this driver, named evcc, and a tile that reads it. Any number of tiles can read the same connection. In the editor, the values of params are picked from what the connection lists; ids in the example are made up.
{ "schemaVersion": 4, "connections": { "evcc": { "driver": "evcc", "config": { "url": "http://192.168.1.30:7070" } } }, "screens": [ { "name": "Home", "tiles": [ { "type": "value", "label": "Solar", "layout": { "x": 1, "y": 1, "width": 2, "height": 2 }, "dataSource": { "connection": "evcc", "params": { "part": "site", "value": "pvPower" } }, "options": { "unit": "W" } } ] } ]}Settings (config)
Section titled “Settings (config)”| Field | Type | Default | What |
|---|---|---|---|
url |
text | required | The instance, for example http://192.168.1.30:7070. |
password |
text | The admin password, only where EVCC asks for it. A credential. | |
refreshInterval |
number, above 0 | Seconds between refreshes. |
What a data source reads (params)
Section titled “What a data source reads (params)”| Field | Type | Default | What |
|---|---|---|---|
refreshInterval |
number, above 0 | Refresh every. Seconds; the connection’s setting when left out. |
And one of two ways:
A value
Section titled “A value”Any value of the state, such as a loadpoint’s charge power.
| Field | Type | Default | What |
|---|---|---|---|
part |
text | required | Part. The site, the grid, a PV meter, a loadpoint, a vehicle, …. |
value |
text | Value. One of its values; all of them, as a record, when left out. |
Prices
Section titled “Prices”A tariff: the price now, the prices to come, the lowest.
| Field | Type | Default | What |
|---|---|---|---|
tariff |
text | required | Tariff. The prices of buying, of feeding in, of the planner; CO₂; the solar forecast. |
read |
one of rates, current, next, lowest, highest, average |
Read. Rates: the prices to come, for a graph; current: the price now; next: the next slot’s; lowest, highest, average: of the prices to come. The prices to come when left out. |