Update: Battery Optimizer v3.4.0 mit allen Fixes und Features
This commit is contained in:
214
legacy/v3/battery_optimizer_dashboard_minimal.yaml
Normal file
214
legacy/v3/battery_optimizer_dashboard_minimal.yaml
Normal file
@@ -0,0 +1,214 @@
|
||||
# ===================================================================
|
||||
# Batterie-Optimierung Dashboard - MINIMAL VERSION
|
||||
# Nur das Wichtigste, maximale Klarheit
|
||||
# ===================================================================
|
||||
|
||||
title: Batterie Minimal
|
||||
path: battery-minimal
|
||||
icon: mdi:battery-lightning
|
||||
badges: []
|
||||
cards:
|
||||
|
||||
# ===================================================================
|
||||
# QUICK STATUS BAR
|
||||
# ===================================================================
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
entity: sensor.esssoc
|
||||
name: Batterie
|
||||
icon: mdi:battery
|
||||
show_state: true
|
||||
show_attribute: false
|
||||
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
entity: sensor.hastrom_flex_ext
|
||||
name: Strompreis
|
||||
icon: mdi:currency-eur
|
||||
show_state: true
|
||||
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
entity: sensor.production_activepower
|
||||
name: PV Aktuell
|
||||
icon: mdi:solar-power
|
||||
show_state: true
|
||||
|
||||
# ===================================================================
|
||||
# STEUERUNG
|
||||
# ===================================================================
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
entity: input_boolean.battery_optimizer_enabled
|
||||
name: Auto
|
||||
icon: mdi:robot
|
||||
show_state: true
|
||||
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
entity: input_boolean.goodwe_manual_control
|
||||
name: Manuell
|
||||
icon: mdi:hand-back-right
|
||||
show_state: true
|
||||
|
||||
# ===================================================================
|
||||
# ENERGY FLOW
|
||||
# ===================================================================
|
||||
|
||||
- type: custom:power-flow-card-plus
|
||||
entities:
|
||||
battery:
|
||||
entity: sensor.ess0_activepower
|
||||
state_of_charge: sensor.esssoc
|
||||
grid:
|
||||
entity: sensor.grid_activepower
|
||||
solar:
|
||||
entity: sensor.production_activepower
|
||||
home:
|
||||
entity: sensor.consumption_activepower
|
||||
w_decimals: 0
|
||||
kw_decimals: 1
|
||||
min_flow_rate: 0.5
|
||||
max_flow_rate: 6
|
||||
|
||||
# ===================================================================
|
||||
# NÄCHSTE LADUNG
|
||||
# ===================================================================
|
||||
|
||||
- type: markdown
|
||||
title: 📅 Geplante Ladungen
|
||||
content: |
|
||||
{% set schedule = state_attr('pyscript.battery_charging_plan', 'schedule') %}
|
||||
{% if schedule %}
|
||||
{% set charging_slots = schedule | selectattr('action', 'equalto', 'charge') | list %}
|
||||
{% if charging_slots | length > 0 %}
|
||||
{% for slot in charging_slots[:5] %}
|
||||
### {{ '🟢 JETZT' if loop.index == 1 and slot.time[:13] == now().strftime('%Y-%m-%d %H') else '⏰' }} {{ slot.time[11:16] }} Uhr
|
||||
**{{ slot.power }}W** bei **{{ slot.price }}ct/kWh**
|
||||
{{ slot.reason }}
|
||||
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
### ✅ Keine Ladung geplant
|
||||
Aktuell sind keine Ladezyklen erforderlich.
|
||||
{% endif %}
|
||||
{% else %}
|
||||
### ⚠️ Kein Plan
|
||||
Berechnung erfolgt täglich um 14:05 Uhr.
|
||||
{% endif %}
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
padding: 16px;
|
||||
}
|
||||
h3 {
|
||||
margin: 8px 0 4px 0;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
# ===================================================================
|
||||
# PREIS-OVERVIEW
|
||||
# ===================================================================
|
||||
|
||||
- type: custom:plotly-graph
|
||||
title: Strompreis 48h
|
||||
hours_to_show: 48
|
||||
refresh_interval: 600
|
||||
layout:
|
||||
height: 200
|
||||
margin:
|
||||
t: 30
|
||||
b: 30
|
||||
l: 40
|
||||
r: 10
|
||||
showlegend: false
|
||||
yaxis:
|
||||
title: ct/kWh
|
||||
fixedrange: true
|
||||
entities:
|
||||
- entity: sensor.hastrom_flex_ext
|
||||
line:
|
||||
color: '#FF9800'
|
||||
width: 2
|
||||
shape: spline
|
||||
fill: tozeroy
|
||||
fillcolor: 'rgba(255, 152, 0, 0.15)'
|
||||
|
||||
# ===================================================================
|
||||
# BATTERIE TREND
|
||||
# ===================================================================
|
||||
|
||||
- type: custom:plotly-graph
|
||||
title: Batterie SOC 24h
|
||||
hours_to_show: 24
|
||||
refresh_interval: 120
|
||||
layout:
|
||||
height: 180
|
||||
margin:
|
||||
t: 30
|
||||
b: 30
|
||||
l: 40
|
||||
r: 10
|
||||
showlegend: false
|
||||
yaxis:
|
||||
title: '%'
|
||||
range: [0, 100]
|
||||
fixedrange: true
|
||||
entities:
|
||||
- entity: sensor.esssoc
|
||||
line:
|
||||
color: '#2196F3'
|
||||
width: 3
|
||||
shape: spline
|
||||
fill: tozeroy
|
||||
fillcolor: 'rgba(33, 150, 243, 0.2)'
|
||||
|
||||
# ===================================================================
|
||||
# SCHNELL-EINSTELLUNGEN (Collapsible)
|
||||
# ===================================================================
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: input_boolean.battery_optimizer_enabled
|
||||
state: 'on'
|
||||
card:
|
||||
type: entities
|
||||
title: ⚙️ Schnelleinstellungen
|
||||
entities:
|
||||
- entity: input_number.battery_optimizer_min_soc
|
||||
- entity: input_number.battery_optimizer_max_soc
|
||||
- entity: input_number.battery_optimizer_max_charge_power
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
border-left: 4px solid #4CAF50;
|
||||
}
|
||||
|
||||
# ===================================================================
|
||||
# SYSTEM STATUS (Mini)
|
||||
# ===================================================================
|
||||
|
||||
- type: glance
|
||||
title: System
|
||||
show_name: true
|
||||
show_state: true
|
||||
entities:
|
||||
- entity: sensor.openems_state
|
||||
name: OpenEMS
|
||||
- entity: automation.battery_charging_schedule_calculation
|
||||
name: Auto Plan
|
||||
- entity: automation.battery_charging_schedule_execution
|
||||
name: Auto Exec
|
||||
card_mod:
|
||||
style: |
|
||||
ha-card {
|
||||
padding: 12px;
|
||||
}
|
||||
Reference in New Issue
Block a user