Skip to content

Instantly share code, notes, and snippets.

@Disane87
Created November 15, 2023 21:41
Show Gist options
  • Save Disane87/64c8a0abde1c5a251e6879a14288b024 to your computer and use it in GitHub Desktop.
Save Disane87/64c8a0abde1c5a251e6879a14288b024 to your computer and use it in GitHub Desktop.
Solar Dashboard-Tab for Home Assistant
- title: Solar
path: solar
icon: mdi:solar-power-variant
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: Unterstand
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.stromzaehler_power_curr
name: Abnahme (aktuell)
- type: gauge
entity: sensor.strom_einspeisung
name: Einspeisung (aktuell)
- type: gauge
entity: sensor.hoymiles_hm_800_power
name: Produktion (aktuell)
max: 850
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.hoymiles_hm_800_ch1_power
name: Produktion (links)
max: 425
- type: gauge
entity: sensor.hoymiles_hm_800_ch2_power
name: Produktion (rechts)
max: 425
- type: gauge
entity: sensor.hoymiles_hm_800_yieldday
name: Ertrag heute
- type: entity
entity: sensor.hoymiles_hm_800_temperature
- type: custom:mushroom-template-card
primary: Selbstnutzung (€)
secondary: >-
{{ (states('sensor.hoymiles_hm_800_yieldtotal') | float) *
(states('input_number.strompreis') | float) }} €
icon: mdi:solar-panel
icon_color: blue
fill_container: false
multiline_secondary: false
- type: custom:mini-graph-card
entities:
- entity: sensor.hoymiles_hm_800_power
- entity: sensor.hoymiles_hm_800_ch1_power
- entity: sensor.hoymiles_hm_800_ch2_power
show:
extrema: true
average: true
graph: true
hour24: true
hours_to_show: 24
- type: vertical-stack
cards:
- type: custom:mini-graph-card
name: Ertrag ☀️
entities:
- entity: sensor.hoymiles_hm_800_power
- entity: sensor.power_production_now
points_per_hour: 60
- type: custom:mini-graph-card
name: Einstrahlung ☀️
entities:
- entity: sensor.hoymiles_hm_800_ch1_irradiation
- entity: sensor.hoymiles_hm_800_ch2_irradiation
align_state: center
icon: mdi:speedometer
hours_to_show: 12
line_width: 4
show:
name_adaptive_color: true
extrema: false
labels: true
points: true
average: true
labels_secondary: true
icon_adaptive_color: true
hour24: true
- type: entities
entities:
- entity: sensor.energy_next_hour
name: Ertrag (nächste Stunde)
- entity: sensor.energy_production_today_remaining
name: Ertrag (noch heute)
- entity: sensor.energy_current_hour
name: Ertrag (diese Stunde)
- entity: sensor.energy_production_today
name: Ertrag (heute)
- entity: sensor.energy_production_tomorrow
name: Ertrag (morgen)
- entity: sensor.power_production_now
name: Ertrag (aktuell)
- entity: sensor.power_highest_peak_time_today
name: Ertrag (peak heute)
- entity: sensor.power_highest_peak_time_tomorrow
name: Ertrag (peak morgen)
title: Ertragsprognose 📊
- type: history-graph
entities:
- entity: sensor.hoymiles_hm_800_ch1_irradiation
- entity: sensor.hoymiles_hm_800_ch2_irradiation
hours_to_show: 8
title: Einstrahlung
- graph: line
type: sensor
detail: 2
entity: sensor.strom_einspeisung
icon: mdi:transmission-tower-import
unit: W
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment