Homevolt package 🔋

Homevolt: https://homevolt.com/

ERROR / WARNING / INFO messages

from Tibber support

  • EMS_WARNING_OVER_SOC_MAX_WARNING Systemet minskar effekten pĂĄ grund av hög “State of Charge”, detta förväntas vid laddning av batteriet.
  • EMS_WARNING_SOC_IMBALANCE_WARNING Innebär att batterierna är för lĂĄngt ifrĂĄn varandra i SOC för att kunna anslutas.
  • EMS_WARNING_BATTERY_DC_DISCONNECT_WARNING Detta är en konsekvens av ovanstĂĄende varning, att ett av de tvĂĄ batterierna är frĂĄnkopplat frĂĄn DC pĂĄ grund av hög spänningsskillnad.

Dashboard

type: sections
max_columns: 6
icon: mdi:home-battery
path: batteri
sections:
  - type: grid
    cards:
      - type: tile
        tap_action:
          action: url
          url_path: https://192.168.1.100
        hold_action:
          action: perform-action
          perform_action: homeassistant.update_entity
          target: {}
          data:
            entity_id:
              - sensor.homevolt_ems
              - sensor.homevolt_scheman
              - sensor.homevolt_status
        entity: sensor.homevolt_ems
        name: EMS
        vertical: false
        show_entity_picture: false
        hide_state: false
        state_content:
          - state
          - last_updated
        features_position: bottom
        icon_tap_action:
          action: more-info
      - type: tile
        entity: sensor.homevolt_producerat
        name: Producerat
      - type: tile
        entity: sensor.homevolt_konsumerat
        name: Konsumerat
      - type: tile
        entity: sensor.homevolt_schema
        name: Schema
        features_position: bottom
        vertical: false
        icon_tap_action:
          action: perform-action
          perform_action: homeassistant.update_entity
          target: {}
          data:
            entity_id:
              - sensor.homevolt_schema
      - type: tile
        entity: sensor.homevolt_schema_nasta
        name: Schema nästa
        show_entity_picture: false
        vertical: false
        hide_state: false
        hold_action:
          action: more-info
        state_content: state
      - type: markdown
        content: >-
          {{ states('sensor.homevolt_ems_error') if
          states('sensor.homevolt_ems_error') != 'No error' }}

          {{ '**Varning:**' if states('sensor.homevolt_ems_varning') != '' }}

          {{ states('sensor.homevolt_ems_varning') }}

          {{ '**Info:**' if states('sensor.homevolt_ems_info') != '' }}

          {{ states('sensor.homevolt_ems_info') }}


          **{{ states('sensor.homevolt_logs') }}**

          • {{ (state_attr('sensor.homevolt_logs','logs') |
                    rejectattr('level','in', ['info']) |
                    map(attribute='data') |
                    list | join('\n• '))[:255] }}
          **Status**

          • {{ states('sensor.homevolt_errors').split(', ') | join('\n• ') }}
      - type: tile
        entity: sensor.homevolt_intakt_manad
        name: Intäkt månad
        features_position: bottom
        vertical: false
        icon: mdi:cash
        state_content: state
      - type: tile
        features_position: bottom
        vertical: false
        entity: sensor.homevolt_aterbetalning
        name: Intäkt
  - type: grid
    cards:
      - type: gauge
        entity: sensor.homevolt_nateffekt
        max: 14000
        severity:
          green: 0
          yellow: 6000
          red: 10000
        name: Nät
        grid_options:
          rows: auto
          columns: 4
      - type: gauge
        grid_options:
          rows: auto
          columns: 4
        entity: sensor.homevolt_solcell_effekt
        name: Solcell
        max: 5000
      - type: gauge
        entity: sensor.homevolt_hushalleffekt
        max: 5000
        severity:
          green: 0
          yellow: -3000
          red: -5000
        needle: true
        min: -5000
        grid_options:
          columns: 4
          rows: auto
        name: Hus
      - type: gauge
        entity: sensor.homevolt_nat_l1
        severity:
          green: 0
          yellow: 8
          red: 16
        name: L1
        max: 20
        grid_options:
          columns: 3
          rows: 1
      - type: gauge
        entity: sensor.homevolt_nat_l2
        severity:
          green: 0
          yellow: 8
          red: 16
        name: L2
        max: 20
        grid_options:
          columns: 3
          rows: 1
      - type: gauge
        entity: sensor.homevolt_nat_l3
        severity:
          green: 0
          yellow: 8
          red: 16
        name: L3
        max: 20
        grid_options:
          columns: 3
          rows: 1
      - type: gauge
        entity: sensor.homevolt_spanning_l1
        max: 230
        min: 225
        needle: true
        grid_options:
          rows: 1
          columns: 3
        name: " "
      - type: gauge
        entity: sensor.homevolt_effekt
        max: 6000
        name: Effekt
        min: -6000
        needle: false
        grid_options:
          columns: 4
          rows: auto
      - type: gauge
        entity: sensor.homevolt_bat0
        severity:
          green: 60
          yellow: 10
          red: 0
        name: Batteri 0
        grid_options:
          columns: 4
          rows: auto
      - type: gauge
        entity: sensor.homevolt_bat1
        severity:
          green: 60
          yellow: 10
          red: 0
        name: Batteri 1
        grid_options:
          columns: 4
          rows: auto
      - type: gauge
        entity: sensor.nordpool_kwh_se3_sek_3_095
        severity:
          green: 0
          yellow: 2
          red: 3
        needle: true
        max: 4
        grid_options:
          columns: 4
          rows: 1
        name: " "
      - type: tile
        entity: sensor.homevolt_bat0_laddningar
        name: Laddningar
      - show_name: false
        show_icon: true
        type: button
        tap_action:
          action: navigate
          navigation_path: /lovelace-energi/homevolt-consol
        icon: mdi:console
        entity: sensor.homevolt_console
        grid_options:
          columns: 2
          rows: 1
        hold_action:
          action: navigate
          navigation_path: /lovelace-energi/homevolt-consol
      - type: gauge
        entity: sensor.homevolt_temperatur
        max: 60
        min: -10
        grid_options:
          columns: 4
          rows: 1
        name: " "
      - type: tile
        entity: sensor.homevolt_lte_cellid
        name: Cellid
title: Batteri
cards: []
badges: []

Apexcharts

type: custom:apexcharts-card
graph_span: 36h
update_interval: 5min
experimental:
  color_threshold: true
header:
  show: true
  show_states: true
  colorize_states: true
  floating: false
yaxis:
  - id: watt
    decimals: 0
    apex_config:
      tickAmount: 6
    min: -6000
    max: 6000
  - id: lowest
    decimals: 0
    min: 0
    max: 1
    show: false
  - id: SEK
    show: false
    decimals: 1
    opposite: true
    apex_config:
      tickAmount: 6
      title:
        text: kr
    min: ~0
    max: ~2
  - id: procent
    show: false
    decimals: 1
    opposite: true
    apex_config:
      tickAmount: 6
      title:
        text: "%"
    min: -100
    max: 100
apex_config:
  chart:
    height: 360px
    animations:
      enabled: false
      easing: easeinout
      speed: 800
      animateGradually:
        enabled: true
        delay: 150
  annotations:
      xaxis:
      - x: EVAL:new Date().setHours(16,0,0)
        x2: EVAL:new Date().setHours(20,0,0)
        label:
          text: Kväll
          borderWidth: 0
          style:
            background: "#0000"
  tooltip:
    enabled: true
  zoom:
    enabled: true
    type: x
    autoScaleYaxis: true
    zoomedArea:
      fill:
        color: "#90CAF9"
        opacity: 0.4
      stroke:
        color: "#0D47A1"
        opacity: 0.4
        width: 1
  legend:
    show: true
    floating: false
    offsetY: -2
hours_12: false
span:
  start: hour
  offset: "-32h"
now:
  show: false
  color: grey
  label: Nu
all_series_config:
  show:
    legend_value: true
    datalabels: false
    extremas: false
    in_header: false
  float_precision: 0
  invert: false
  stroke_width: 1
  curve: stepline
  yaxis_id: watt
  extend_to: now
series:
  - entity: sensor.nordpool_kwh_se3_sek_3_095
    name: El hist.
    stroke_width: 0
    curve: stepline
    color: grey
    type: area
    yaxis_id: SEK
    opacity: 0.2
    extend_to: now
    show:
      legend_value: false
      extremas: false
      in_header: false
      header_color_threshold: true
    color_threshold:
      - value: 0
        color: green
      - value: 1.5
        color: orange
      - value: 3
        color: darkred
      - value: 4.5
        color: red
      - value: 6
        color: black
  - entity: sensor.nordpool_kwh_se3_sek_3_095
    stroke_width: 0
    curve: stepline
    color: black
    type: area
    yaxis_id: SEK
    opacity: 0.2
    float_precision: 2
    show:
      legend_value: false
      extremas: true
      in_header: false
      header_color_threshold: true
    data_generator: |
      return (entity.attributes.raw_today.map((start, index) => {
        return [new Date(start["start"]).getTime(), entity.attributes.raw_today[index]["value"]];
      })).concat(entity.attributes.raw_tomorrow.map((start, index) => {
        return [new Date(start["start"]).getTime(), entity.attributes.raw_tomorrow[index]["value"]];
      }));
    color_threshold:
      - value: 0
        color: green
      - value: 1.5
        color: orange
      - value: 3
        color: darkred
      - value: 4.5
        color: red
      - value: 6
        color: black
  - entity: binary_sensor.nordpool_billigast_6h
    name: Billigast 6h
    stroke_width: 0
    curve: stepline
    type: area
    yaxis_id: lowest
    opacity: 0.1
    show:
      in_header: false
      legend_value: false
    transform: "return x === 'on' ? 1 : 0;"
  - entity: sensor.homevolt_effekt
    name: Batteri
    stroke_width: 1
    opacity: 1
    curve: stepline
    yaxis_id: watt
    show:
      in_header: false
    group_by:
      duration: 10min
      func: avg
  - entity: sensor.homevolt_nateffekt
    name: Nät
    stroke_width: 1
    opacity: 0.6
    curve: stepline
    yaxis_id: watt
    transform: return -x
    show:
      in_header: false
    group_by:
      duration: 10min
      func: avg
  - entity: sensor.homevolt_bat0
    name: Batteri0
    stroke_width: 1
    opacity: 1
    curve: smooth
    yaxis_id: procent
    show:
      in_header: false
  - entity: sensor.homevolt_bat1
    name: Batteri1
    stroke_width: 1
    opacity: 1
    curve: smooth
    yaxis_id: procent
    show:
      in_header: false
3 Likes