wills106 / homeassistant-solax-modbus

SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)
295 stars 88 forks source link

[BUG] Gen2 Missing Today Grid Import Total Today Grid Export Total for Dashboard Integration #385

Open jsantosdias opened 1 year ago

jsantosdias commented 1 year ago

Describe the bug Integration works great with my Solax SKSU5000. Gen2. I have been able to configure everything, except Energy Dashboard. I searched and activated several sensors that were inactive. I didn't find "Today Grid Import Total" and "Today Grid Export Total" for Dashboard Integration as said in Wiki. I enabled "Grid Import Total" and "Grid Export Total", but both stay always at 0, even if Grid Import and Grid Export work great. Without those sensores I can't use energy dashboard. Please add those missing sensores for Gen 2 Solax.

Mandatory details

  1. Integration Version: 2023.03.1
  2. HA Version: 2023.4.6
  3. Inverter Brand: Solax
  4. Plugin Used:
  5. First 6 digits of Serial: U50EF2XXXXXXXX
  6. Connection Method: Ethernet
alienatedsec commented 1 year ago

Can you share the config screenshot?

jsantosdias commented 1 year ago

Thank you, alienatedsec, for the reply. What config do you mean? The list of sensors?

alienatedsec commented 1 year ago

A screenshot from the energy configuration config page

image

jsantosdias commented 1 year ago

image

This is what I have. I can't use grid values from Solax, because they are always 0, so I am using calculation from Solax integration.

Also, Today's Solar shows a lot of solar energy at night.

I think the solution is to make new integrations of sensors from Grid and solar...

wills106 commented 1 year ago

@jsantosdias Are you using a Modbus Power Meter or CT Clamp on your Inverter to monitor the Grid Import / Export?

jsantosdias commented 1 year ago

I am using HASS Solax integration (Wifi) with calculations:

` - sensor:

jsantosdias commented 1 year ago

image

alienatedsec commented 1 year ago

Do you have those two sensors, which I believe can be used for your import and export? https://github.com/wills106/homeassistant-solax-modbus/blob/a4287309c409e996202cbe5b173327853346540f/custom_components/solax_modbus/plugin_solax.py#L3519-L3521

and

https://github.com/wills106/homeassistant-solax-modbus/blob/a4287309c409e996202cbe5b173327853346540f/custom_components/solax_modbus/plugin_solax.py#L3504-L3506

jsantosdias commented 1 year ago

No. I enabled from Modbus integration "Grid Import Total" and "Grid Export Total", that were disabled, but their values are always 0.

I can make integrations manually, if they aren't present in the modbus integrations...