EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

Missing State in HA for Allow Discharge EVCC

Open paulelsner opened this issue 11 months ago • 1 comments

📝 Issue Description

What happened? EOS Connect shows the state Allow Discharge EVCC PV but HA stays on Avoid Discharge EVCC PV

Expected Behavior State is reflected correctly

🌍 Environment

EOS Connect Version: 0.2.29.202-develop How often? Always Impact: High -> my Battery didn't discharge when it should

{
  "current_states": {
    "current_ac_charge_demand": 0,
    "current_dc_charge_demand": 5000,
    "current_discharge_allowed": false,
    "inverter_mode": "MODE DISCHARGE ALLOWED EVCC PV",
    "inverter_mode_num": 4,
    "override_active": false,
    "override_end_time": 0
  },
  "evcc": {
    "charging_state": true,
    "charging_mode": "pv",
    "current_sessions": []
  },
  "battery": {
    "soc": 37,
    "usable_capacity": 3325,
    "max_charge_power_dyn": 5000,
    "max_grid_charge_rate": 5000
  },
  "inverter": {
    "inverter_special_data": null
  },
  "localization": {
    "currency": "EUR",
    "currency_symbol": "€",
    "currency_minor_unit": "ct"
  },
  "state": {
    "request_state": "response received",
    "last_request_timestamp": "2025-12-10T08:44:15.798828+01:00",
    "last_response_timestamp": "2025-12-10T08:45:04.891712+01:00",
    "next_run": "2025-12-10T08:48:04.894347+01:00"
  },
  "used_optimization_source": "eos_server",
  "used_time_frame_base": 3600,
  "eos_connect_version": "0.2.29.202-develop",
  "timestamp": "2025-12-10T08:47:30.940019+01:00",
  "api_version": "0.0.3"
}

paulelsner avatar Dec 10 '25 07:12 paulelsner

thanks for the finding ... reworked the effective output for inverter, rest api, mqtt - all should now showing the effective demands after combining opt result, evcc, manual override

ohAnd avatar Dec 15 '25 07:12 ohAnd