Solar tile
The flow of power between solar panels, the grid, a battery and the house.
In a dashboard file: "type": "solar", with the options below. Every tile also has the fields under Every tile.
Example
Section titled “Example”A tile, as it goes in a screen’s tiles:
{ "type": "solar", "label": "Energy", "layout": { "x": 1, "y": 1, "width": 3, "height": 3 }, "dataSources": { "pv": { "connection": "demo", "params": { "device": "energy", "value": "pv" } }, "use": { "connection": "demo", "params": { "device": "energy", "value": "house" } }, "grid": { "connection": "demo", "params": { "device": "energy", "value": "grid" } }, "battery": { "connection": "demo", "params": { "device": "energy", "value": "batteryPower" } }, "soc": { "connection": "demo", "params": { "device": "energy", "value": "batterySoc" } } }, "options": { "pv": "pv", "load": "use", "grid": "grid", "batteryCharge": "battery", "batterySoc": "soc" }}It reads the demo home: in a dashboard with the connection "demo": { "driver": "demo", "config": {} }, it works as it is. To read a device of your own, its data source names one of your connections, with the params of that connection’s driver (Connections and data sources).
Options
Section titled “Options”| Field | Type | Default | What |
|---|---|---|---|
load |
data source name | Use. One of the tile’s data sources, by name, that gives a number. What the house uses, in W. | |
pv |
data source name | Solar panels. One of the tile’s data sources, by name, that gives a number. What the panels give, in W. | |
batteryCharge |
data source name | Battery charge. One of the tile’s data sources, by name, that gives a number. Out of the battery (or into it, below 0), in W. | |
grid |
data source name | Grid. One of the tile’s data sources, by name, that gives a number. From the grid (or to it, below 0), in W. | |
gridVoltage |
data source name | Grid voltage. One of the tile’s data sources, by name, that gives a number. In V. | |
batterySoc |
data source name | Battery level. One of the tile’s data sources, by name, that gives a number. In %. | |
design |
one of quiet (Quiet cross), classic |
quiet |
Design. How the flows are drawn. A look option: a tile style can set it. |
Built-in styles
Section titled “Built-in styles”The styles the app offers for it, after “The dashboard’s style”. Style files says what they set.
- Centred
- Left aligned
- Compact
- Icon at the left