slipx06 / sunsynk-power-flow-card

⚡A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
MIT License
212 stars 56 forks source link

Add solarman inverter status #71

Closed b1lei closed 1 year ago

b1lei commented 1 year ago

Is there an existing issue for this?

Current Behavior

Not showing the inverter status

Steps To Reproduce

No response

Expected behaviour

Not showing the inverter status

Card Version

2.3

Home Assistant Version

10.5

Configuration

type: custom:sunsynk-power-flow-card
cardstyle: full
panel_mode: true
large_font: true
show_solar: true
card_height: ''
inverter:
  modern: true
  colour: grey
  autarky: 'no'
battery:
  energy: 60000
  shutdown_soc: 30
  invert_power: true
  show_daily: true
  animation_speed: 6
  max_power: 15000
  full_capacity: 99
  empty_capacity: 30
  colour: green
solar:
  show_daily: true
  mppts: four
  animation_speed: 9
  max_power: 17000
  pv1_name: PV1
  pv2_name: PV2
  pv3_name: PV3
  pv4_name: PV4
load:
  show_daily: true
  show_aux: false
  animation_speed: 8
  max_power: 24000
grid:
  colour: '#5490c2'
  no_grid_colour: '#a40013'
  show_daily_buy: true
  show_daily_sell: true
  show_nonessential: false
  animation_speed: 8
  max_power: 24000
  invert_grid: false
entities:
  use_timer_248: switch.inverter_1_use_timer
  priority_load_243: select.inverter_1_energy_pattern
  day_battery_discharge_71: sensor.daily_discharge
  day_battery_charge_70: sensor.daily_charge
  day_load_energy_84: sensor.daily_load
  day_grid_import_76: sensor.daily_energy_bought
  day_grid_export_77: sensor.daily_energy_sold
  day_pv_energy_108: sensor.daily_production
  inverter_voltage_154: sensor.grid_voltage
  load_frequency_192: sensor.grid_frequency
  inverter_current_164: sensor.total_charge_current
  inverter_power_175: sensor.total_load_power
  grid_power_169: sensor.total_grid_power
  pv1_power_186: sensor.inverter_1_pv_power_1
  pv2_power_187: sensor.inverter_1_pv_power_2
  pv3_power_188: sensor.inverter_2_pv_power_1
  pv4_power_189: sensor.inverter_2_pv_power_2
  battery_voltage_183: sensor.inverter_1_battery_voltage
  battery_soc_184: sensor.battery_state_of_charge
  battery_power_190: sensor.battery_power
  battery_current_191: sensor.total_charge_current
  essential_power: sensor.total_essential_power
  grid_ct_power_172: sensor.total_grid_power
  pv1_voltage_109: sensor.inverter_1_pv_voltage_1
  pv1_current_110: sensor.inverter_1_pv_current_1
  pv2_voltage_111: sensor.inverter_1_pv_voltage_2
  pv2_current_112: sensor.inverter_1_pv_current_2
  pv3_voltage_113: sensor.inverter_2_pv_voltage_1
  pv3_current_114: sensor.inverter_2_pv_current_1
  pv4_voltage_115: sensor.inverter_2_pv_voltage_2
  pv4_current_116: sensor.inverter_2_pv_current_2
  grid_connected_status_194: sensor.deye_m01_grid_connected_status
  inverter_status_59: sensor.deye_m01_running_status
  battery_temp_182: sensor.deye_m01_battery_temperature
  radiator_temp_91: sensor.deye_m01_ac_temperature
  dc_transformer_temp_90: sensor.deye_m01_dc_temperature

    - name: "Running Status"
      class: ""
      state_class: ""      
      uom: ""
      scale: 1
      rule: 1
      registers: [0x003B]
      isstr: true
      lookup: 
      -  key: 0
         value: "Stand-by"
      -  key: 1
         value: "Self-checking"
      -  key: 2
         value: "Normal"
      -  key: 3
         value: "FAULT"
      icon: 'mdi:home-lightning-bolt'

Relevant log output

No response

slipx06 commented 1 year ago

Fixed in https://github.com/slipx06/sunsynk-power-flow-card/releases/tag/v2.4.0