Sigen EMS Remote Control – Export Solar to Grid First Without Discharging Battery #300
Replies: 6 comments 4 replies
-
|
In my Sigen installation, it is the default behaviour (without anything in HA)...
That is what you try to do, or did I miss the point completely? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
In fact here it is, help yourselves, this entity, sensor.earnings_flex_up, earnings export flex up in Australia speak is the current grid spot price i will be paid for export in that 5minute window:- File Updated 14-02-26 to fix some errors where a flow variable is tested for boolean state true or false and was ignoring initialization where it has neither state until one is first set. |
Beta Was this translation helpful? Give feedback.
-
|
Ive got a few extras added to NodeRed, if it doesnt work let me know what is the issue and Ill track down what I added that you will also need |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I found an issue with my code where the original poster wanted to export in the morning before battery charging occurs. The approach I took in my code does that, but at the expense of allowing no battery charge to occur at all while export is occurring. Initially in the morning when the PV system is producing weakly and has less potential output than any export limits then its fine. Once the PV output reaches the grid export limit then the system will only export the limit and any additional potential power is ignored and doesn't charge the battery. That is because the mode I use has battery charging higher in priority than export and i use other controls to curtail that. I think there is a better approach where you can export and charge the battery. I haven't written any code yet but my approach I think will be that for a 20 second period I will go to mode maximum self consumption, and look at battery charge power and measure it. if its (charge power measured) less than export limit then set the EMS mode to "Command charging (consume PV power first)" (mode 4) and then set "sigen_plant_ess_max_charging_limit" to zero (which stops the battery charging at all and (noting that sigen_plant_ess_max_charging_limit only has effect in EMS modes 3 or 4) . I also noted that its a write only control and doesn't on read reflect what you previously set it to...... if its (charge power measured) more than the export limit then set the EMS mode to "Command charging (consume PV power first)" (mode 4) and then set sigen_plant_ess_max_charging_limit to the measured power minus the export power limit amount and that should result in export of the limit and battery charging of the rest. (understanding that in the system I think Battery charging is prioritised over export so any variations will reflect in export not battery power) Now the issue is that PV is dynamic and as clouds and sun intensity changes the power available values will constantly change. if PV potential power decreases (clouds etc) then under this your export would shrink by whatever the variance is. As such you are leaving money on the table so to speak if you want export to be max at all possible times. If the PV intensity increases, then nothing will happen because your system export limit kicks in and the Battery charge level has a maximum value set so the potential remains as potential only. In other words you might have actually been able to increase your battery charge rate, but the testing process results in zero exports while you measure the available power In Australia our grid pricing is set at 5 minute intervals, I'm thinking that I repeat the whole process every 5 minutes aligned to the grid value change This should mean that I export the maximum the system is capable of whenever I have the battery charge current set to zero, and roughly the maximum minus whatever variations are occurring at any point in time whenever the battery charge current is set above zero. Issues I have seen, in playing with the controls manually to get a feel if this will work I noted that the maximum battery charge current you can set is defined by how many and what type of battery modules you have, If you try and set it higher than the 1/2C value (plus a bit...) in my case for a 24kw battery it was 12.6kw then a node red error message is created. I don't know what effect that will have so I think you need to understand what your maximum battery charge current can be and ensure you never try to set it higher than that. In my case I have 19kw of PV so can actually potentially charge at a higher rate than allowed. Has anyone else gone down this path? Andy |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m currently working on automating Remote EMS Control for my Sigen inverter through Home Assistant. My existing configuration is working correctly from a control perspective, but I’m trying to fine-tune the energy behaviour and would appreciate some guidance from anyone who has achieved a similar setup.
Goal
During the daytime, I want the system to:
1. Export as much solar generation to the grid as possible
2. Only charge the battery with excess solar
3. Prevent the battery from discharging to the grid
Current Setup
• 16 kW solar array
• 40 KW Sigen Battery reaches 100% by around 12 PM even when exporting aggressively.
• I have created a Custom Plan that preserves battery charge so it does not discharge to the grid.
• I only want battery charging to occur from solar surplus, not from the grid, and not battery discharge for export.
Issue
I tested Remote EMS → Command Discharging (PV First) expecting it to prioritise solar export only. However, I noticed that when solar production is insufficient to meet the configured export limit, the inverter starts discharging the battery to maintain export, which is not what I want.
What I’m Trying to Achieve
• Priority Order:
Solar → Grid Export → Battery Charging
• Never: Battery → Grid Export
• Battery should only:
• Charge from excess solar
• Discharge for home consumption if needed (optional/flexible)
• Not discharge just to meet export limits
Questions
1. Has anyone successfully configured Sigen EMS to export only from solar and block battery discharge to the grid?
2. Is there a Remote EMS command or parameter that strictly enforces PV-only export?
3. Is it possible to switch to a Custom Plan via Home Assistant automation or API instead of manually selecting it in the app?
Any insights, configuration examples, or API references would be greatly appreciated. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions