StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
537 stars 196 forks source link

get current power in Watt per modul #250

Open Bugahans opened 1 year ago

Bugahans commented 1 year ago

Hi, I have a deye inverter with 4 mppt. Is it possible to get a sensor which shows the current power in Watt? I found power in hybrid inverters but these registers does not work with the 4mppt deye. I also tryied to calculate the power within the deye config but that also did not work. Any idea how I can achieve this?

Thanks

First version : 8.5.2022

Microinverter SUN2000G3 (DEYE/VESDAS)

4x MPPT, 4x inverter

1x Logger, 4x Module,

requests:

parameters:

...

- name: "PV1 Current"
  class: "current"
  uom: "A"
  scale: 0.1
  rule: 1
  registers: [0x006E]
  icon: 'mdi:solar-power'

...

- name: "PV1 Power"
  class: "power"
  uom: "W"
  scale: 0.1
  rule: 1
  state: >- 
    {{ states("sensor.solarman_pv1_current") |float * states("sensor.solarman_pv1_voltage") |float }}
  icon: 'mdi:home-lightning-bolt'

PV1 Power does not work. No sensor data is read when this block is enabled

DHLF commented 1 year ago

The correct entitity for TOTAL "wattz" of the deye microinverter contains "active" in the naming: for example: sensor.solarman_total_ac_power_output_active (if you kept the prefix as solarman, change to your setup fitting)

If you are interested in calculation the power for each of the 4 panels, have a look at: [https://github.com/StephanJoubert/home_assistant_solarman/issues/276#issuecomment-1537253455]