timed_charge_current / timed_discharge_current writes incorrect Ampere values for GS_fb00 with HV battery (Solis RHI-3P + Dyness TS17)
When using inverter_type: "GS_fb00" with a High Voltage battery (Dyness TS17, nominal 480V), PredBat writes 192.3A to the charge/discharge current slots. This value is rejected by the Solis inverter which resets the value to 0A, causing charging/discharging to fail completely.
Root cause analysis:
PredBat appears to calculate the current using a hardcoded low voltage assumption (~52V): 10000W ÷ 52V = 192.3A
For HV batteries (480V nominal), the correct calculation should be: 10000W ÷ 480V = 20.8A
The Solis inverter accepts maximum 25A per slot (hardware limit 0-25A range).
System configuration:
- Inverter: Solis RHI-3P-10K-HVES-5G (GS_fb00 firmware)
- Battery: 2x Dyness TS17 35kWh in parallel (HV, nominal 480V, range 192-576V)
- HA Integration: solis-modbus
- PredBat version: v8.37.8
apps.yaml relevant settings:
inverter_type: "GS_fb00" battery_capacity: 35.0 battery_rate_max:
- 10000 timed_charge_current:
- number.solis_rhi_3p_grid_time_of_use_charge_battery_current_slot_1 timed_discharge_current:
- number.solis_rhi_3p_grid_time_of_use_discharge_battery_current_slot_1
What happens:
- PredBat writes 192.3A to charge/discharge current slot
- Solis rejects value (hardware max = 25A, range 0-25A)
- Solis resets value to 0A
- Charging/discharging fails — 0A means no current flows
Workaround used: Removed timed_charge_current and timed_discharge_current from apps.yaml entirely. Manually set 25A in Solis slots. This works but means PredBat cannot dynamically control charge/discharge rate.
Expected behaviour: PredBat should either:
- Add a battery_voltage parameter so users can specify HV battery voltage for correct Ampere calculation, OR
- Add battery_rate_max_charge_amps / battery_rate_max_discharge_amps parameters to directly set Ampere limits, OR
- Document that timed_charge_current is not suitable for HV battery setups and should be omitted
Note: Adding battery_voltage: 480 to apps.yaml did not resolve the issue in testing.
Additional info: The official GS_fb00 template on GitHub does not include timed_charge_current — this suggests it was never intended for this inverter type, but the parameter is not documented as unsupported.
Yes needs to be fixed, you're probably the first high voltage user of Solis.
IIRC I only added the power setting to the template recently so you could do low rate power charges.
Another workaround you could adopt in advance of this being fixed (a battery_voltage parameter looks the best generic enhancement I think):
put timed_charge/discharge_current back in apps.yaml and set these to helper entities
create an automation that then sets the solis number.solis_rhi_3p_grid_time_of_use_charge_battery_current_slot_1 entity based on the correct calculation when Predbat changes the value of the helper entities
Thanks for the suggested workaround. I followed your advice and implemented it with the following setup:
apps.yaml: timed_charge_current:
- input_number.predbat_charge_current_helper timed_discharge_current:
- input_number.predbat_discharge_current_helper
HA Automation that converts the helper value to correct HV Ampere: triggers:
- trigger: state entity_id: input_number.predbat_charge_current_helper id: "charging"
- trigger: state entity_id: input_number.predbat_discharge_current_helper id: "discharging" actions:
- choose:
- conditions:
- condition: trigger id: "charging" sequence:
- action: number.set_value target: entity_id: number.solis_rhi_3p_grid_time_of_use_charge_battery_current_slot_1 data: value: > {% set raw = states('input_number.predbat_charge_current_helper') | float(0) %} {% if raw < 0.1 %} 0 {% else %} {{ [[(raw * 52 / 480) | round(0) | int, 0] | max, 25] | min }} {% endif %}
- conditions:
- condition: trigger id: "discharging" sequence:
- action: number.set_value target: entity_id: number.solis_rhi_3p_grid_time_of_use_discharge_battery_current_slot_1 data: value: > {% set raw = states('input_number.predbat_discharge_current_helper') | float(0) %} {% if raw < 0.1 %} 0 {% else %} {{ [[(raw * 52 / 480) | round(0) | int, 0] | max, 25] | min }} {% endif %} mode: queued max: 10
- conditions:
Result: The automation works correctly when triggered manually — it converts the LV-based Ampere value (e.g. 192A) to the correct HV value (e.g. 20.8A → 21A) and writes it to the Solis slot successfully.
Problem: PredBat does not write any values to the input_number helper entities during active charge/discharge windows. The helpers remain at 0 or at manually set values. I monitored the helpers during an active export window (Exporting target 94%-89%) and confirmed no writes occurred from PredBat.
Additional findings:
- battery_voltage: 480 is set in apps.yaml but does not affect the calculation
- inverter_mode: select.work_mode is correctly configured
- PredBat v8.38.0, HA 2026.5.0, solis-modbus 4.1.3
- The automation converter is working — the issue is that PredBat never triggers it
Is there a known reason why timed_charge_current with input_number helpers would not receive writes for the GS_fb00 inverter type? Is there perhaps a different parameter or configuration needed to make this work?
Following up on your suggested workaround:
I implemented timed_charge_current and timed_discharge_current pointing to input_number helper entities, with an automation that converts the value to the correct HV Ampere using the formula: raw * 52 / 480, capped at 25A.
Result after extensive testing on PredBat v8.38.0 with HA 2026.5.0 and solis-modbus 4.1.3:
PredBat does NOT write any values to the input_number helper entities during active charge or discharge windows. I monitored the helpers for several hours including active Exporting windows (record_status Exporting target 94%-89%) and confirmed zero writes from PredBat to the helpers. All values in the helpers were set manually by me.
Additional finding: battery_voltage: 480 appears to have no effect on timed_charge_current calculation for GS_fb00.
Current workaround in use:
- Removed timed_charge_current and timed_discharge_current from apps.yaml
- Set number.solis_rhi_3p_battery_max_discharge_current manually to 25A (fixed)
- Loadbalancer automation dynamically controls number.solis_rhi_3p_battery_max_charge_current
This works but PredBat has no dynamic control over charge/discharge rate.
Is timed_charge_current perhaps not implemented for the GS_fb00 inverter type in the current codebase? Any guidance on which parameter or approach would work for this inverter type would be appreciated.
Additional finding regarding charge control for GS_fb00:
After extensive testing I discovered that for GS_fb00, PredBat uses charge_control_immediate=True and writes directly to battery_max_charge_current instead of timed_charge_current. This means timed_charge_current helpers are never written by PredBat during charge windows.
However, even if PredBat would write to timed_charge_current, it would not work because the Solis RHI-3P hardware ignores the TOU slot charge current entirely (see https://github.com/Pho3niX90/solis_modbus/issues/393).
The discharge timed_discharge_current helper DOES work correctly - PredBat writes to it and the Solis hardware respects the TOU slot discharge current.
Summary of what works vs what doesn't for GS_fb00 + HV battery:
- timed_discharge_current via helper → PredBat writes ✅, Solis respects ✅
- timed_charge_current via helper → PredBat does NOT write ❌
- battery_max_charge_current → PredBat writes directly ✅, Solis respects ✅
Update after extensive testing (10 May 2026) - PredBat v8.38.0 / addon 1.7.1:
After deeper investigation, I can now provide a more complete picture of the charge vs discharge behavior for GS_fb00 with HV battery:
DISCHARGE - Works correctly with workaround:
- PredBat DOES write to timed_discharge_current helper during export windows
- With battery_voltage: 480, PredBat writes 20.8A (10000W ÷ 480V) ✅
- We use a converter automation: value × 52 ÷ 480 to get correct Solis slot value
- Solis respects the TOU discharge slot current ✅
CHARGE - Does NOT work:
- PredBat does NOT write to timed_charge_current for GS_fb00
- Investigation shows GS_fb00 uses charge_control_immediate=True
- PredBat writes charge rate directly to battery_max_charge_current instead
- The Solis inverter ignores TOU slot charge current entirely - only battery_max_charge_current is respected for charge rate control
- Confirmed: setting TOU slot charge current to 5A has zero effect while battery_max_charge_current=5A immediately limits charge to ~2.4kW
Root cause for charge: GS_fb00 template uses charge_control_immediate which bypasses timed_charge_current entirely. This means there is no way for PredBat to dynamically control charge rate for GS_fb00 via the current implementation.
Feature request: For GS_fb00 with HV battery, please consider writing charge rate to battery_max_charge_current via timed_charge_current, so external loadbalancer automations can still cap the maximum for grid safety.
Related Solis Modbus issue: https://github.com/Pho3niX90/solis_modbus/issues/393