Die Anleitung wurde auf die Hauptseite umgezogen und ist jetzt hier zu finden: https://www.heimnetz.de/anleitungen...tueller-boersenstrompreis-chart-mit-vorschau/ 
Zuletzt bearbeitet von einem Moderator:
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
type: custom:apexcharts-card
chart_type: line
header:
show: false
graph_span: 48h
span:
start: day
now:
show: true
label: Now
color_list:
- var(--primary-color)
series:
- entity: sensor.epex_spot_data_net_price
yaxis_id: uurprijs
float_precision: 2
type: column
curve: smooth
extend_to: false
show:
extremas: time
data_generator: >
return entity.attributes.data.map((entry, index) => { return [new
Date(entry.start_time).getTime(), entry.price_ct_per_kwh];
}).slice(23,48);
color_threshold:
- value: 0
color: '#186ddc'
- value: 0.155
color: '#04822e'
- value: 0.2
color: '#12A141'
- value: 0.25
color: '#79B92C'
- value: 0.3
color: '#C4D81D'
- value: 0.35
color: '#F3DC0C'
- value: 0.4
color: red
- value: 0.5
color: green
- entity: sensor.epex_spot_data_net_price
yaxis_id: uurprijs
float_precision: 2
type: column
curve: smooth
extend_to: end
show:
extremas: time
data_generator: >
return entity.attributes.data.map((entry, index) => { return [new
Date(entry.start_time).getTime(), entry.price_ct_per_kwh];
}).slice(47,70);
color_threshold:
- value: 0
color: '#186ddc'
- value: 0.155
color: '#04822e'
- value: 0.2
color: '#12A141'
- value: 0.25
color: '#79B92C'
- value: 0.3
color: '#C4D81D'
- value: 0.35
color: '#F3DC0C'
- value: 0.4
color: red
- value: 0.5
color: magenta
experimental:
color_threshold: true
yaxis:
- id: uurprijs
decimals: 2
apex_config:
title:
text: cent/kWh
tickAmount: 4
apex_config:
legend:
show: false
tooltip:
x:
show: true
format: HH:00 - HH:59
type: custom:plotly-graph
entities:
- entity: sensor.epex_spot_data_net_price
hours_to_show: 24
refresh_interval: 10
layout:
xaxis:
rangeselector:
'y': 1.23
buttons:
- count: 30
step: minute
- count: 1
step: hour
- count: 12
step: hour
- count: 1
step: day
- count: 7
step: day
- count: 1
step: month
- count: 1
step: year