HA Dashboard Code - Kieft-C/Zendure-BKW-PV GitHub Wiki
Hier mein gesamter Dashboard Code. (Stand 20.04.2025)
Als Dashboard Integrationen aus HACS habe ich geladen: https://github.com/custom-cards/bar-card https://github.com/AmoebeLabs/flex-horseshoe-card https://github.com/kalkih/mini-graph-card https://github.com/FireSon/Zendure-HA https://github.com/FL550/dwd_weather https://github.com/mampfes/ha_epex_spot
title: PV
cards: []
sections:
- type: grid
cards:
- show_current: true
show_forecast: true
type: weather-forecast
entity: weather.hamburg_fu
forecast_type: daily
secondary_info_attribute: humidity
forecast_slots: 5
- type: custom:mini-graph-card
entities:
- entity: sensor.solarinputpower
name: MPPT1+2 [last 6mon]
chart_type: bar
show:
graph: false
extrema: true
color_thresholds:
- value: 0
color: orange
points_per_hour: 2
hours_to_show: 4320
- square: false
type: grid
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.hyper_2000_solar_power1
name: MPPT1 (PV1+2) [last 6mon]
chart_type: bar
show:
graph: false
extrema: true
color_thresholds:
- value: 0
color: lightgreen
points_per_hour: 2
hours_to_show: 4320
- type: custom:mini-graph-card
entities:
- entity: sensor.hyper_2000_solar_power2
name: MPPT2 (PV3+4) [last 6mon]
chart_type: bar
show:
graph: false
extrema: true
color_thresholds:
- value: 0
color: lightblue
points_per_hour: 2
hours_to_show: 4320
columns: 2
- type: energy-solar-graph
column_span: 1
- type: grid
cards:
- type: energy-distribution
link_dashboard: true
- type: energy-usage-graph
- type: history-graph
entities:
- entity: sensor.hyper_2000_output_home_power_2
- entity: sensor.shellypro3em_a0dd6ca0b780_total_active_power
- entity: sensor.ab_discharge_real
- entity: sensor.hyper_2000_pack_input_power
hours_to_show: 2
- type: grid
cards:
- square: false
type: grid
cards:
- type: gauge
entity: sensor.hyper_2000_pack_input_power
name: Leistung aus Akku
max: 1200
needle: true
severity:
green: 0
yellow: 300
red: 600
- type: gauge
entity: sensor.hyper_2000_output_pack_power_2
max: 800
severity:
green: 400
yellow: 200
red: 0
needle: true
name: Ladeleistung Akku
- type: gauge
entity: sensor.hyper_2000_output_home_power_2
name: Leistung an Whg
needle: true
max: 1200
severity:
green: 0
yellow: 300
red: 600
- type: gauge
needle: true
max: 1200
severity:
green: 0
yellow: 300
red: 600
entity: sensor.ab_discharge_real
unit: W
- type: gauge
needle: true
max: 1200
severity:
green: 0
yellow: 300
red: 600
entity: sensor.ab_charge_real
unit: W
- type: gauge
needle: true
max: 120
severity:
green: 0
yellow: 30
red: 60
entity: sensor.hyper_eigenverbrauch
unit: W
columns: 3
- square: false
type: grid
cards:
- type: gauge
entity: sensor.shellypro3em_a0dd6ca0b780_temperature
needle: true
name: Shelly 3EM Pro
min: 0
max: 75
severity:
green: 0
yellow: 30
red: 50
- type: gauge
entity: sensor.hyper_2000_hyper_tmp
needle: true
max: 60
min: -10
name: Temp Hyper
severity:
green: 0
yellow: 40
red: 50
- type: tile
entity: sensor.remainouttime
vertical: true
name: Zeit bis Leer
hide_state: false
show_entity_picture: false
columns: 3
- type: custom:mini-graph-card
name: Σ Batterie [2d]
entities:
- entity: sensor.socset
show_line: false
show_points: false
show_state: true
- entity: sensor.electriclevel
show_line: true
show_points: true
show_state: true
color_thresholds:
- value: 75
color: "#008800"
- value: 50
color: "#d35400"
- value: 25
color: "#ff0000"
hours_to_show: 48
line_width: 2
smoothing: false
points_per_hour: 60
show:
name: true
labels: true
legend: false
show_indicator: true
font_size: 55
align_state: right
align_header: center
align_icon: left
font_size_header: 15
- type: tile
entity: sensor.electriclevel_at_100_time
features_position: bottom
vertical: false
name: Count 100% in 14Days
- square: false
type: grid
cards:
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.min_v_zelle_batterie3
name: Bat1 (AB1000)
show_state: false
- entity: sensor.batterielevel_batterie3
show_state: false
- entity: sensor.max_v_zelle_batterie3
show_state: false
- entity: sensor.temp_batterie3
show_state: false
hours_to_show: 168
smoothing: false
show:
fill: false
labels: true
extrema: true
graph: false
name: true
icon: false
legend: false
state: false
font_size: 80
font_size_header: 10
- type: custom:flex-horseshoe-card
entities:
- entity: sensor.hyper_2000_battery_1_soc_level
area: BAT1
- entity: sensor.hyper_2000_battery_1_min_vol
- entity: sensor.hyper_2000_battery_1_max_vol
- entity: sensor.hyper_2000_battery_1_max_temp
- entity: sensor.hyper_2000_battery_1_power
- entity: sensor.hyper_2000_battery_1_batcur
- entity: sensor.hyper_2000_battery_1_total_vol
show:
horseshoe_style: lineargradient
layout:
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 57
styles:
- font-size: 4.0em;
- id: 1
entity_index: 1
xpos: 31
ypos: 35
styles:
- font-size: 1.5em;
- id: 2
entity_index: 2
xpos: 70
ypos: 35
styles:
- font-size: 1.5em;
- id: 3
entity_index: 3
xpos: 50
ypos: 23
styles:
- font-size: 1.5em;
- id: 4
entity_index: 4
xpos: 50
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
- id: 5
entity_index: 5
xpos: 17
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
- id: 6
entity_index: 6
xpos: 85
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
areas:
- id: 0
entity_index: 0
xpos: 50
ypos: 75
styles:
- font-size: 2.5em;
horseshoe_scale:
min: 0
max: 100
color_stops:
"40": red
"100": green
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.min_v_zelle_batterie1
show_state: false
name: Bat2 (AB2000)
- entity: sensor.batterielevel_batterie1
show_state: false
- entity: sensor.max_v_zelle_batterie1
show_state: false
- entity: sensor.temp_batterie1
show_state: false
hours_to_show: 168
show:
fill: false
labels: false
extrema: true
graph: false
name: true
icon: false
legend: true
state: false
font_size: 80
font_size_header: 10
- type: custom:flex-horseshoe-card
entities:
- entity: sensor.hyper_2000_battery_2_soc_level
area: BAT2
- entity: sensor.hyper_2000_battery_2_min_vol
- entity: sensor.hyper_2000_battery_2_max_vol
- entity: sensor.hyper_2000_battery_2_max_temp
- entity: sensor.hyper_2000_battery_2_power
- entity: sensor.hyper_2000_battery_2_batcur
- entity: sensor.hyper_2000_battery_2_total_vol
show:
horseshoe_style: lineargradient
layout:
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 57
styles:
- font-size: 4.0em;
- id: 1
entity_index: 1
xpos: 31
ypos: 35
styles:
- font-size: 1.5em;
- id: 2
entity_index: 2
xpos: 70
ypos: 35
styles:
- font-size: 1.5em;
- id: 3
entity_index: 3
xpos: 50
ypos: 23
styles:
- font-size: 1.5em;
- id: 4
entity_index: 4
xpos: 50
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
- id: 5
entity_index: 5
xpos: 17
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
- id: 6
entity_index: 6
xpos: 85
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
areas:
- id: 0
entity_index: 0
xpos: 50
ypos: 75
styles:
- font-size: 2.5em;
horseshoe_scale:
min: 0
max: 100
color_stops:
"40": red
"100": green
- type: horizontal-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.min_v_zelle_batterie2
name: Bat3 (AB2000)
show_state: false
- entity: sensor.batterielevel_batterie2
show_state: false
- entity: sensor.max_v_zelle_batterie2
show_state: false
- entity: sensor.temp_batterie2
show_state: false
hours_to_show: 168
smoothing: false
show:
fill: false
labels: true
extrema: true
graph: false
name: true
icon: false
legend: true
state: false
font_size: 80
font_size_header: 10
- type: custom:flex-horseshoe-card
entities:
- entity: sensor.hyper_2000_battery_3_soc_level
area: BAT3
- entity: sensor.hyper_2000_battery_3_min_vol
- entity: sensor.hyper_2000_battery_3_max_vol
- entity: sensor.hyper_2000_battery_3_max_temp
- entity: sensor.hyper_2000_battery_3_power
- entity: sensor.hyper_2000_battery_3_batcur
- entity: sensor.hyper_2000_battery_3_total_vol
show:
horseshoe_style: lineargradient
layout:
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 57
styles:
- font-size: 4.0em;
- id: 1
entity_index: 1
xpos: 31
ypos: 35
styles:
- font-size: 1.5em;
- id: 2
entity_index: 2
xpos: 70
ypos: 35
styles:
- font-size: 1.5em;
- id: 3
entity_index: 3
xpos: 50
ypos: 23
styles:
- font-size: 1.5em;
- id: 4
entity_index: 4
xpos: 50
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
- id: 5
entity_index: 5
xpos: 17
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
- id: 6
entity_index: 6
xpos: 85
ypos: 93
styles:
- font-size: 1.5em;
- opacity: 0.75;
areas:
- id: 0
entity_index: 0
xpos: 50
ypos: 75
styles:
- font-size: 2.5em;
horseshoe_scale:
min: 0
max: 100
color_stops:
"40": red
"100": green
columns: 1
column_span: 1
- type: grid
cards:
- square: false
type: grid
cards:
- type: gauge
entity: sensor.shellypro3em_a0dd6ca0b780_total_active_power
needle: false
max: 3500
name: Restbezug (Shelly)
- type: energy-grid-neutrality-gauge
- type: custom:mini-graph-card
entities:
- entity: sensor.hyper_2000_pass
name: Bypass
align_icon: center
show:
name: true
icon: true
graph: false
smoothing: false
state_map:
- value: "0"
label: "OFF"
- value: "2"
label: "ON"
font_size: 45
font_size_header: 10
columns: 3
- square: false
type: grid
cards:
- type: energy-self-sufficiency-gauge
- type: energy-solar-consumed-gauge
- type: energy-carbon-consumed-gauge
columns: 3
- square: false
type: grid
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.hyper_2000_auto_heat
name: AB Heat
align_icon: center
show:
name: true
icon: true
graph: false
smoothing: false
state_map:
- value: "0"
label: "OFF"
- value: "1"
label: "ON"
font_size: 45
font_size_header: 10
- type: custom:mini-graph-card
entities:
- entity: binary_sensor.hyper_2000_wifi_state_2
name: HypWiFi
align_icon: center
show:
name: true
icon: true
graph: false
smoothing: false
state_map:
- value: Aus
label: "OFF"
- value: Ein
label: "ON"
font_size: 45
font_size_header: 10
- type: custom:mini-graph-card
entities:
- entity: sensor.hyper_2000_pack_state_2
name: HypStatus
align_icon: center
show:
name: true
icon: true
graph: false
smoothing: false
state_map:
- value: "0"
label: Standby
- value: "1"
label: Laden
- value: "2"
label: Entladen
font_size: 45
font_size_header: 10
columns: 3
- type: horizontal-stack
cards:
- type: tile
name: WD Cloud
show_entity_picture: false
hide_state: false
vertical: false
entity: binary_sensor.mycloudex2ultra_network_status
- type: tile
entity: binary_sensor.ping_x13_ben
show_entity_picture: true
vertical: false
name: X13-Ben
- type: tile
entity: device_tracker.192_168_1_53
name: iPhone v Ben
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.energy_import_daily
name: Import Daily
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.energy_import_monthly
name: Import Montly
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.energy_export_daily
name: Export Daily
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.energy_export_monthly
name: Export Monthly
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.pv_kwh_tag
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.pv_kwh_monat
- type: tile
show_entity_picture: true
vertical: false
entity: sensor.pv_kwh_jahr
- type: tile
entity: sensor.epex_spot_data_net_price
show_entity_picture: true
vertical: false
name: Börsenstrompreis
- type: history-graph
entities:
- entity: sensor.temp_batterie1
- entity: sensor.temp_batterie2
- entity: sensor.hypertemp
- entity: sensor.temp_batterie3
- entity: sensor.aussentemperatur_www
hours_to_show: 24
logarithmic_scale: false
min_y_axis: -5
max_columns: 4
dense_section_placement: true
subview: false````