Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-consume mode not triggering #300

Open
tux43 opened this issue May 18, 2024 · 10 comments
Open

Self-consume mode not triggering #300

tux43 opened this issue May 18, 2024 · 10 comments

Comments

@tux43
Copy link

tux43 commented May 18, 2024

Hi,

I am working on a Sungrow Sh10RT inverter and I am finding that even when Self-consume mode is triggered the inverter is not supplying current to the house. I am not sure if it is a problem with the integration or the inverter? To keep things simple I have created a script that sends these modbus commands directly to the inverter, it matches this integration. Is there anything else I should be doing to trigger the inverter to go into Self-Consume mode?

alias: "SMART MOTION: Self-consumption mode battery"
sequence:
  - service: modbus.write_register
    data:
      hub: SungrowSHx
      slave: 1
      address: 13050
      value: 204
    alias: Set Stop (default)
  - service: modbus.write_register
    data:
      hub: SungrowSHx
      slave: 1
      address: 13049
      value: 0
    alias: Set EMS Mode Self-consumption mode (default)
@Gnarfoz
Copy link
Contributor

Gnarfoz commented May 18, 2024

Did the inverter work correctly before you started trying to control it via Modbus?
I.e. via iSolarCloud or directly via the WiNet-S interface?

@tactmaster
Copy link

I have a similar issues. It was working. I must have accidenly set export limit. So it set the limit to 500w. Then I had a play,
Now is not suppling the house with battery. It is leaving it 100% and importing
It can be set to force dischange.

@koturbash
Copy link

Having the same issue, self-consumption worked fine before Modbus/integration into HA. Now self-consumption via Modbus does not work.

When self-consumption is triggered in HA, it says my SH10RT-V112 is in self-consumption mode and iSolarCloud (installer account) says Self-Consumption, so Modbus works. But my SH10RT-V112 does not behave as expected (does not discharge the battery to load and imports from the grid instead).
Charging Start Power and Discharging Start Power set to the minimum possible 0.01kW iSolarCloud also tried 0 in HA.

Forced charge works as expected, but requires too many conditions/workarounds to execute properly. original Self-Consumption mode would be much more suitable and desired.

Does anyone have any updates on this? Perhaps a solution? =)

@Gnarfoz
Copy link
Contributor

Gnarfoz commented Jun 20, 2024

It's nothing the integration did on its own, it doesn't write anything unless you make it write something.
I'd suggest looking at the charge/discharge time windows in the advanced settings in iSolarCloud (or via the WiNet-S interface, admin / pw8888):
image

There are several ways to more or less accidentally disable the battery in the various advanced settings...

Also, beware, in the iSolarCloud interface, in some places, you first have to click on one table entry for several subordinate rows to appear. If I remember correctly, this is one of those things.

@koturbash
Copy link

Thanks, @Gnarfoz!
Indeed, it was the reason for self-consumption not working as expected!

I wonder why those settings got changed in the first place, as I set those the next day SH10RT-V112 was installed and have not modified them since.
Could it be connected to these options on iSolarCloud? (see below)

What do those 0.5h 1h and 72h mean anyway? do settings go back to defaults after 72h?

Clipboard01

@tactmaster
Copy link

What I found was the several setting got set to disabled. Not 100% sure what setting i changed to make this break.

It was weekend and weekday discharging.
image

So setting 5 weekend discharging which mean will use the battery for self consumtion not as i though.....to discarge to the battery to the grid..

@Gnarfoz
Copy link
Contributor

Gnarfoz commented Jun 21, 2024

Yeah, the parameters are grouped in very confusing ways.

@koturbash I think those are settings that control how long iSolarCloud will wait for a result of the operation. I don't know how 72 hours makes sense for anything. Who would wait 72 hours for a setting to be applied or not applied? 🤔

@Gnarfoz
Copy link
Contributor

Gnarfoz commented Jun 21, 2024

Considering that this discussion asks for the settings above to be added to this integration, I don't think it is touching these values, yet:
#240

@tactmaster
Copy link

tactmaster commented Aug 28, 2024

Hello,

Ok I am confused, i was going to try add the extra ones from here
https://gist.github.com/rasmusbonnedal/31bc6dad78e6dc32bfedeb15b7b897df#file-gistfile1-txt-L3

So lets say

33150 Weekday Discharging Start Time 1: Hour

however that reg is already used here

It is has differnet regs here

https://github.com/tjhowse/modbus4mqtt/blob/438d8f01513cea026704ad7e7435097befb6377b/modbus4mqtt/Sungrow_SH5k_20.yaml#L43

@Gnarfoz
Copy link
Contributor

Gnarfoz commented Aug 29, 2024

Interesting. But you'll have to confirm what works and what doesn't for yourself, in this case. These registers are not officially documented by Sungrow, so your guess is as good as anyone's. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants