-
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
Describe the bug
When enabling low power mode predbat does not send Best rate real to the script, but instead sends battery_rate_max as "{power}"
Expected behaviour
Use "Best rate" as {power}
charge_start_service:
- service: script.solax_remote_control_new_mode_8
power: "{power}"
operation: "Force Charge"
Predbat version
v8.32.14
Environment details
Solax X3 Ultra 30kW, 40kW HV5.1
Standart HAOS
Log file
55693 | 2026-02-03 01:21:52.521194: Inverter 0 Calling service charge_start_service domain charge service_name script/solax_remote_control_new_mode_8 with data {'power': '8000', 'operation': 'Force Charge'}
-- | --
55692 | 2026-02-03 01:21:52.521168: Inverter 0 Skipped service charge_stop_service domain discharge service_name script.solax_remote_control_new_mode_8 as it was previously called.
55691 | 2026-02-03 01:21:52.521123: Current SoC 48% is less than Target SoC 72. Grid charging enabled with charge current set to 65.00
55690 | 2026-02-03 01:21:52.521065: Successfully pressed button button.pv_battery_awaken on Inverter 0
55689 | 2026-02-03 01:21:48.231669: Inverter 0 write_and_poll_value: Wrote 72 to charge_limit, successfully now 72
55688 | 2026-02-03 01:21:44.227497: Inverter 0 Current charge limit is 100% and new target is 72%
55687 | 2026-02-03 01:21:44.227477: Inverter 0 adjust target SoC for charge to 72% (29.38kWh/40.8kWh 40.8kWh) based on going from 48% -> 72% total add is 9.8kWh and this battery needs to add 9.8kWh to get to 29.38kWh
55686 | 2026-02-03 01:21:44.227460: Setting charging SoC to 72% as per target
55685 | 2026-02-03 01:21:44.227435: Adjust demand (idle) time computed is 06:00:00-23:59:00
55684 | 2026-02-03 01:21:44.227386: Adjust idle time, charge 01:00:00-06:00:00 discharge 00:00:00-00:00:00
55683 | 2026-02-03 01:21:44.227342: Inverter 0 current discharge rate is 8000W and new target is 0W
55682 | 2026-02-03 01:21:44.227329: Inverter 0 current charge rate is 8000W and new target is 2500W
55681 | 2026-02-03 01:21:44.227315: Inverter 0 Target SoC 72%, (this inverter 72%), battery temperature 19°C, select charge rate 2500W (real 2500W), current charge rate 8000W
55680 | 2026-02-03 01:21:44.227290: Low Power mode: minutes left: 250, absolute: 280, SoC: 19.584kW, Target SoC: 29.38kW, Charge left: 9.8kW, Max rate: 8000W, Min rate: 2100W, Best rate: 2500W, Best rate real: 2500W, Battery temp 19°C
55679 | 2026-02-03 01:21:44.222662: Find charge rate for low power mode: SoC: 19.584kW, target_SoC: 29.38kW, charge_left: 9.8kW, minutes_left: 250, abs_minutes_left: 280, max_rate: 8000W, min_rate: 2100W, min_rate_w: 2100W
55678 | 2026-02-03 01:21:44.222619: Inverter 0 Charge window will be: 2026-02-03 01:00:00+02:00 - 2026-02-03 06:00:00+02:00 - current SoC 48%, target 72%
Reactions are currently unavailable