Coder Social home page Coder Social logo

Comments (8)

wonko avatar wonko commented on July 3, 2024 1

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.

romankysely avatar romankysely commented on July 3, 2024

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
    • 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

from homeassistant-solax-modbus.

wonko avatar wonko commented on July 3, 2024

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.

romankysely avatar romankysely commented on July 3, 2024

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.

wonko avatar wonko commented on July 3, 2024

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.

romankysely avatar romankysely commented on July 3, 2024

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.

romankysely avatar romankysely commented on July 3, 2024

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.

wonko avatar wonko commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.