vwt12eh8/hassio-ecoflow

Custom charge rate limit on Delta Pro + thanks + question

Closed this issue · 4 comments

Hi! First, thank you. This integration is exactly what I've wanted for my Delta Pro since I got hold of it. Fantastic piece of work and - if there's a method of donation - let me know how I can say thanks. I'm sure you do this for the challenge but it's always nice if someone can show their appreciation for your work and I am happy to do so.

On to the issue. Not a big one, but for the Delta Pro, at least on my unit (UK unit with 240V output x 4), the maximum charge rate configurable while in Custom mode is 2900W, settable in the app, however the slider for the integration only goes to 1500W.

If I set the value in the app to 2900W, it's accepted and seems to be represented just fine in the entity, but its slider is obviously maxed out.

Screenshot from HA included below.
image

Not sure if it's of interest also but I have 2 extra batteries on my Delta Pro unit and by all accounts everything looks like it's reporting fine but if you want me to specifically test or provide something, happy to do so.

Thanks again!

I see, in your area you can input up to 2900W.
We will modify the maximum value to be determined according to the input voltage.

If you don't mind, please provide us with the diagnostic information. I will see if there are any parameters that can be used to determine the value.

Sorry for the late reply. Diagnostics data as promised.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.7.6",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/London",
    "os_name": "Linux",
    "os_version": "5.15.45",
    "supervisor": "2022.07.0",
    "host_os": "Home Assistant OS 8.2",
    "docker_version": "20.10.14",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "warmup": {
      "version": "2021.5.23",
      "requirements": []
    },
    "hacs": {
      "version": "1.26.2",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "xiaomi_cloud_map_extractor": {
      "version": "v2.2.0",
      "requirements": [
        "pillow",
        "pybase64",
        "python-miio",
        "requests",
        "pycryptodome"
      ]
    },
    "jlrincontrol": {
      "version": "2.1.3",
      "requirements": [
        "jlrpy==1.3.3"
      ]
    },
    "ecoflow": {
      "version": "2.1",
      "requirements": [
        "reactivex"
      ]
    }
  },
  "integration_manifest": {
    "domain": "ecoflow",
    "name": "Ecoflow",
    "version": "2.1",
    "documentation": "https://github.com/vwt12eh8/hassio-ecoflow",
    "issue_tracker": "https://github.com/vwt12eh8/hassio-ecoflow/issues",
    "requirements": [
      "reactivex"
    ],
    "config_flow": true,
    "codeowners": [
      "@vwt12eh8"
    ],
    "dhcp": [
      {
        "hostname": "ecoflow_*",
        "macaddress": "*"
      }
    ],
    "iot_class": "local_push",
    "is_built_in": false
  },
  "data": {
    "pd": {
      "model": 4,
      "pd_error": 0,
      "pd_version": "1.0.0.59",
      "wifi_version": "0.0.4.8",
      "wifi_autorecovery": 0,
      "battery_level": 3,
      "out_power": 182,
      "in_power": 217,
      "remain_display": "1:03:00",
      "beep": 0,
      "_watts_anderson_out": 1,
      "usb_out1_power": 0,
      "usb_out2_power": 0,
      "usbqc_out1_power": 0,
      "usbqc_out2_power": 0,
      "typec_out1_power": 0,
      "typec_out2_power": 0,
      "typec_out1_temp": 26,
      "typec_out2_temp": 25,
      "car_out_state": 0,
      "car_out_power": 0,
      "car_out_temp": 0,
      "standby_timeout": 120,
      "lcd_timeout": 300,
      "lcd_brightness": 100,
      "car_in_energy": 0,
      "mppt_in_energy": 382559,
      "ac_in_energy": 20153,
      "car_out_energy": 2185,
      "ac_out_energy": 238894,
      "usb_time": "20:11:38",
      "typec_time": "16:03:26",
      "car_out_time": "2 days, 12:12:38",
      "ac_out_time": "1:00:23",
      "ac_in_time": "50 days, 6:02:19",
      "car_in_time": "0:00:00",
      "mppt_time": "44 days, 13:15:33",
      "_ext_rj45": 0,
      "_ext_infinity": 0
    },
    "ems": {
      "_state_charge": 1,
      "_chg_cmd": 1,
      "_dsg_cmd": 1,
      "battery_main_voltage": 49.778,
      "battery_main_current": 130.0,
      "_fan_level": 0,
      "battery_level_max": 100,
      "model": 4,
      "battery_main_level": 5,
      "_flag_open_ups": 0,
      "battery_main_warning": 0,
      "battery_remain_charge": "99 days, 23:59:00",
      "battery_remain_discharge": "1:03:00",
      "battery_main_normal": 1,
      "battery_main_level_f32": 4.831539154052734,
      "_is_connect": 197379,
      "_max_available_num": 3,
      "_open_bms_idx": 7,
      "battery_main_voltage_min": 48.009,
      "battery_main_voltage_max": 49.609,
      "battery_level_min": 0,
      "generator_level_start": 0,
      "generator_level_stop": 100
    },
    "inverter": {
      "ac_error": 0,
      "ac_version": "1.0.1.112",
      "ac_in_type": 0,
      "ac_in_power": 0,
      "ac_out_power": 182,
      "ac_type": 14,
      "ac_out_voltage": 230.096,
      "ac_out_current": 1.118,
      "ac_out_freq": 50,
      "ac_in_voltage": 0.0,
      "ac_in_current": 0.0,
      "ac_in_freq": 0,
      "ac_out_temp": 32,
      "dc_in_voltage": 0,
      "dc_in_current": 0,
      "ac_in_temp": 32,
      "fan_state": 1,
      "ac_out_state": 1,
      "ac_out_xboost": 0,
      "ac_out_voltage_config": 230.0,
      "ac_out_freq_config": 1,
      "fan_config": 0,
      "ac_in_pause": 0,
      "ac_in_limit_switch": 2,
      "ac_in_limit_max": 0,
      "ac_in_limit_custom": 200,
      "ac_out_timeout": 720
    },
    "bms": {
      "0": {
        "battery_type": 1,
        "battery_cell_id": 2,
        "battery_error": 0,
        "battery_version": "1.1.1.6",
        "battery_level": 3,
        "battery_voltage": 48.749,
        "battery_current": 4294965676,
        "battery_temp": 25,
        "_open_bms_idx": 7,
        "battery_capacity_design": 80000,
        "battery_capacity_remain": 1644,
        "battery_capacity_full": 60912,
        "battery_cycles": 48,
        "_soh": 0,
        "battery_voltage_max": 3.248,
        "battery_voltage_min": 3.241,
        "battery_temp_max": 25,
        "battery_temp_min": 25,
        "battery_mos_temp_max": 27,
        "battery_mos_temp_min": 27,
        "battery_fault": 0,
        "_sys_stat_reg": 128,
        "_tag_chg_current": 64000,
        "battery_level_f32": 2.6998093128204346,
        "battery_in_power": 0,
        "battery_out_power": 0,
        "battery_remain": "0:00:00"
      },
      "1": {
        "battery_type": 1,
        "battery_cell_id": 2,
        "battery_error": 0,
        "battery_version": "1.0.1.6",
        "battery_level": 7,
        "battery_voltage": 48.777,
        "battery_current": 4294965676,
        "battery_temp": 23,
        "_open_bms_idx": 7,
        "battery_capacity_design": 80000,
        "battery_capacity_remain": 4375,
        "battery_capacity_full": 63138,
        "battery_cycles": 6,
        "_soh": 0,
        "battery_voltage_max": 3.253,
        "battery_voltage_min": 3.243,
        "battery_temp_max": 24,
        "battery_temp_min": 23,
        "battery_mos_temp_max": 25,
        "battery_mos_temp_min": 25,
        "battery_fault": 0,
        "_sys_stat_reg": 128,
        "_tag_chg_current": 64000,
        "battery_level_f32": 6.930089950561523,
        "battery_in_power": 0,
        "battery_out_power": 82,
        "battery_remain": "2:42:00"
      },
      "2": {
        "battery_type": 1,
        "battery_cell_id": 2,
        "battery_error": 0,
        "battery_version": "1.0.1.6",
        "battery_level": 5,
        "battery_voltage": 48.745,
        "battery_current": 4294965811,
        "battery_temp": 25,
        "_open_bms_idx": 7,
        "battery_capacity_design": 80000,
        "battery_capacity_remain": 2957,
        "battery_capacity_full": 61750,
        "battery_cycles": 18,
        "_soh": 0,
        "battery_voltage_max": 3.247,
        "battery_voltage_min": 3.241,
        "battery_temp_max": 25,
        "battery_temp_min": 24,
        "battery_mos_temp_max": 26,
        "battery_mos_temp_min": 26,
        "battery_fault": 0,
        "_sys_stat_reg": 128,
        "_tag_chg_current": 64000,
        "battery_level_f32": 4.790033340454102,
        "battery_in_power": 0,
        "battery_out_power": 75,
        "battery_remain": "1:59:00"
      }
    },
    "mppt": {
      "dc_in_error": 0,
      "dc_in_version": "3.1.0.21",
      "dc_in_voltage": 117.6,
      "dc_in_current": 0.54,
      "dc_in_power": 63.0,
      "_volt_?_out": 480,
      "_curr_?_out": 107,
      "_watts_?_out": 515,
      "dc_in_temp": 41,
      "dc_in_type": 2,
      "dc_in_type_config": 0,
      "_dc_in_type": 2,
      "dc_in_state": 1,
      "anderson_out_voltage": 0,
      "anderson_out_current": 0,
      "anderson_out_power": 0,
      "car_out_voltage": 0.0,
      "car_out_current": 0.0,
      "car_out_power": 0.0,
      "car_out_temp": 0,
      "car_out_state": 0,
      "dc24_temp": 26,
      "dc24_state": 1,
      "dc_in_pause": 0,
      "_dc_in_switch": 64,
      "_dc_in_limit_max": 31,
      "_dc_in_limit_custom": 0
    },
    "dc_in_current_config": 8000
  }
}

Thanks. I tried it on a test version I have and it works well to control the unit's charge speed up to 2900W and down to 200W as per the app.

image