Comments (8)
Seems like a bit off-topic for this feature request, but I guess you could take a look at https://github.com/wills106/homeassistant-solax-modbus/blob/main/custom_components/solax_modbus/plugin_solax.py#L329 - seems like the limits are defined over there. I only have a single 6kW Gen4 setup, so no help from my side.
from homeassistant-solax-modbus.
You can use settings from integration whe you setup SolaX Export Control User Limit=0 for export energy to the grid. If the value of the electricity is positive you can return value of limit back. All proces is easy to handle automaticly via Automations if you will be checking price from supplaier continously.
Example of YAML:
alias: Nastavení Solax Export Control Limit
description: >-
Automatizace pro nastavení Solax export control limit na základě ceny
produkce.
trigger:
- platform: state
entity_id: sensor.current_production_price_consumption_with_nano_czk_kwh
action: - choose:
- conditions:
- condition: template
value_template: >-
{{
states('sensor.current_production_price_consumption_with_nano_czk_kwh')
| float <= 0 }}
sequence: - service: number.set_value
target:
entity_id: number.solax_export_control_user_limit
data:
value: 0
- condition: template
- conditions:
- condition: template
value_template: >-
{{
states('sensor.current_production_price_consumption_with_nano_czk_kwh')
| float > 0 }}
sequence: - service: number.set_value
target:
entity_id: number.solax_export_control_user_limit
data:
value: "15000"
mode: single
- condition: template
- conditions:
from homeassistant-solax-modbus.
Thanks @romankysely, I didn't know this setting. I assume this writes to the EEPROM, thus should we avoid setting this too much? Is there a equal setting or mode using the remote power control?
from homeassistant-solax-modbus.
Yes I suppouse there is EEPROM write unfortunately but I did not find any relevant option via Remotecontrol. May be change YAML code to write to registere after minus/plus state not each hour.
from homeassistant-solax-modbus.
Setting it only once would indeed be better then (and easy to do, so that's not really a problem).
I'm using the remote power control a lot, and I was looking for this functionally there as well. In the wiki, there's this fragment (last entry of https://github.com/wills106/homeassistant-solax-modbus/wiki/Modbus-Power-Control-(remotecontrol-power)#parameter-entities):
remotecontrol_export_limit: (ATTENTION: not working as intended - removed) In Enabled Power Control mode and Enabled Battery Control mode, the Grid import or export level can vary with the house load and PV power. This parameter makes it possible to perform 'peak shaving', so that the export power can be limited to a defined max value. In Enabled Grid Control mode, this parameter has no sense as the export level is fixed. In this case, this parameter must be set to a high value.
The export-limit sounds like what I'd need, but unfortunately this isn't working it seems. Maybe someone knows what's wrong with it, or if it needs testing in some kind.
Anyhow, thanks for the answer, I'll use this for now.
from homeassistant-solax-modbus.
We have about 1.000.000 hits to EEPROM I suppose :-))
I have another problem. I have setup Setting/Advanced/Export Control/User Value = 15000W. I can not to rise to 22000W. Maybe there is limit on inverter. I have 2 invertors 12kW each. Master has = 15000 and Slave = 0W set. I suppose there is one value for tandem for Export Limit. Integration not allow me change value more than 15000. Any idea?
from homeassistant-solax-modbus.
Thx for interesting source of info.
Back to topic "prohibit export":
First I have to correct myself - not 1.000.000 writes to EEPROM alow but 100.000 only (source https://homeassistant-solax-modbus.readthedocs.io/en/latest/solax-G4-operation-modes/).
I have read documentation regarding Remotecontrol (as you mentioned - thx). I am little bit confuse with this part: "remotecontrol_export_limit: (ATTENTION: not working as intended - removed)". Does not work at all or is it replaced by some mode?
I supouse all of us who has a risk of penalty for export energy out must automaticly manage it. So how do you all guys resolve it? Everybody do not care to write to EEPROM? Or any other idea how to manage it?
PS: BTW I resolved my question regarding Maximum Export Limit there #858
from homeassistant-solax-modbus.
Closing this, as the "solax_export_control_user_limit" is the parameter needed to limit the export towards the grid.
from homeassistant-solax-modbus.
Related Issues (20)
- [Bug]: unable to write via modbus (tcp / rtu) HOT 5
- Export value adds additional 0 HOT 5
- [Bug]: HOT 4
- [Bug]: can not connect,read entities and serial number HOT 23
- [Bug]: 'Solis' - TypeError: unsupported operand type(s) for *: 'NoneType' and 'NoneType'
- [Bug]: 'Inverter Brand' - 'Inverter Model' Description of Error
- [Bug]: Selector for Charger / Discharger Times HOT 2
- [Bug]: Missing Battery Entities HOT 3
- [Bug]: 'Inverter Brand' - 'Inverter Model' Description of Error
- [Bug]: Absurdly high entity values
- [Bug]: 'Solax' - 'G4 X1 Hybrid' A number of sensors are showing as unavailable and have error related to blocking call HOT 2
- [Bug]: Cancel send, because not connected! HOT 1
- [Bug]: Detected blocking call to import Module HOT 1
- [Question]: Does someone know how to configure this inverter so that it works with a Growatt inverter HOT 2
- Blocker: Integration crates phantom values when inverter goes offline (during night) HOT 12
- [Bug]: Solax X1 Boost not working via modbus with latest 2024.05.4 HOT 29
- [Bug]: UndefinedType._singleton HOT 1
- [Bug]: firmware sensors missing HOT 5
- [Bug]: House Load with 2nd energy source (inverter) on Meter2 HOT 3
- [Bug]: Missing firmware sensors after 2024.05.7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-solax-modbus.