I am using and experimenting with esphome and like the endless possibilities.
In my experiments I have now succeeded in displaying some values on an external mini oled display, connected to an esp8266 wifi board.
I am using esphome for this.
My contract for energy has prices per kWh, which change every hour (“dynamic prices”).
I am using the Entso-e integration to get those prices.
This integration has an entity for the current price and an entity for the next-hour-price and I have both values displayed on the external display.
I am Thinking of building an e-ink display to show several Home Assistant values.
The Entso-e integration can also display a graph of the hourly energy prices for today and tomorrow. It is using an ApexChart graph card with these two codes:
Graph card today:
type: custom:apexcharts-card
graph_span: 24h
span:
start: day
now:
show: true
label: Now
header:
show: true
title: Stroomprijs vandaag (€/kWh)
series:
- entity: sensor.anwb_energietarieven_average_electricity_price_today
stroke_width: 2
float_precision: 3
type: column
opacity: 1
color: ''
data_generator: |
return entity.attributes.prices.map((record, index) => {
return [record.time, record.price];
});
yaxis:
- id: Prijs
decimals: 2
min: -0.1
max: 0.7
Graph card tomorrow:
type: custom:apexcharts-card
graph_span: 24h
span:
start: day
offset: +1d
header:
show: true
title: Stroomprijs morgen (€/kWh)
series:
- entity: sensor.anwb_energietarieven_average_electricity_price_today
stroke_width: 2
float_precision: 3
type: column
opacity: 1
color: ''
data_generator: |
return entity.attributes.prices.map((record, index) => {
return [record.time, record.price];
});
yaxis:
- id: Prijs
decimals: 2
min: -0.1
max: 0.7
Is it possible to get those graphs on the external display through esphome?