[ { "id": "PV Control - Battery Settings", "result": { "structured": "TRIGGER: When PV Control Battery Charging Enabled [binary_sensor.pv_control_battery_charging_enabled] turns off OR when PV Control Battery Charging Enabled [binary_sensor.pv_control_battery_charging_enabled] turns on. CONDITIONS: None. ACTIONS: If the trigger was BATT_ENABLE, set Solax Battery Charge Max Current [number.solax_battery_charge_max_current] to 30. If the trigger was BATT_DISABLE, set Solax Battery Charge Max Current [number.solax_battery_charge_max_current] to 0.", "natural_language": { "trigger": "When the PV Control Battery Charging Enabled [binary_sensor.pv_control_battery_charging_enabled] changes state, either turning on or turning off.", "conditions": "There are no conditions for this automation.", "action": "Depending on which trigger fired, it sets the maximum battery charge current. If the battery charging is enabled, it sets the Solax Battery Charge Max Current [number.solax_battery_charge_max_current] to 30. If the battery charging is disabled, it sets the same number entity to 0." }, "human_like": "Adjusts the maximum battery charging current based on whether battery charging is enabled or disabled.", "complexity": "low" } }, { "id": "PV Control - Mode Settings", "result": { "structured": "TRIGGER: When PV Control Mode [sensor.pv_control_mode] changes to force_charge OR normal OR grid_only OR force_discharge OR house_only OR feedin_priority OR reset OR force_charge_grid_only. CONDITIONS: None. ACTIONS: If the previous state was grid_only, press Solax System On Button [button.solax_system_on] and wait 45 seconds. If the previous state was house_only, set Solax Export Control User Limit [number.solax_export_control_user_limit] to 8000. If the previous state was force_charge_grid_only, set Solax Modbus Power Control Direct [select.solax_modbus_power_control_direct] and Solax Remote Control Power Control Mode Direct [select.solax_remote_control_power_control_mode_direct] to Disabled. Then, based on the specific trigger ID: For RESET, set Solax Export Control User Limit [number.solax_export_control_user_limit] to 8000, set Solax Charger Use Mode [select.solax_charger_use_mode] to Self Use Mode, set Solax Modbus Power Control Direct [select.solax_modbus_power_control_direct] to Disabled, and press Solax System On Button [button.solax_system_on]. For FORCE_CHARGE, set Solax Manual Mode Select [select.solax_manual_mode_select] to Force Charge and set Solax Charger Use Mode [select.solax_charger_use_mode] to Manual Mode. For NORMAL, set Solax Charger Use Mode [select.solax_charger_use_mode] to Self Use Mode. For FORCE_DISCHARCGE, set Solax Manual Mode Select [select.solax_manual_mode_select] to Force Discharge and set Solax Charger Use Mode [select.solax_charger_use_mode] to Manual Mode. For GRID_ONLY, press Solax System Off Button [button.solax_system_off]. For HOUSE_ONLY, set Solax Charger Use Mode [select.solax_charger_use_mode] to Self Use Mode and set Solax Export Control User Limit [number.solax_export_control_user_limit] to 10. For FEEDIN, set Solax Charger Use Mode [select.solax_charger_use_mode] to Feedin Priority. For FORCE_CHARGE_GRID_ONLY, set Solax Remotecontrol Timeout Direct [number.solax_remotecontrol_timeout_direct], Solax Remotecontrol Active Power Direct [number.solax_remotecontrol_active_power_direct], Solax Remotecontrol Charge Discharge Power Direct [number.solax_remotecontrol_charge_discharge_power_direct], Solax Remotecontrol Duration Direct [number.solax_remotecontrol_duration_direct], Solax Remotecontrol Push Mode Power Direct [number.solax_remotecontrol_push_mode_power_direct], Solax Remotecontrol Reactive Power Direct [number.solax_remotecontrol_reactive_power_direct], Solax Remotecontrol Target Energy Direct [number.solax_remotecontrol_target_energy_direct], Solax Remotecontrol Target SOC Direct [number.solax_remotecontrol_target_soc_direct], and Solax Remotecontrol Timeout 8 9 Direct [number.solax_remotecontrol_timeout_8_9_direct] to 0, wait 2 seconds, set Solax Remotecontrol Target SOC 9 Direct [number.solax_remotecontrol_target_soc_9_direct] to 100, set Solax Remotecontrol PV Power Limit Direct [number.solax_remotecontrol_pv_power_limit_direct] to 0, set Solax Remotecontrol Push Mode Power 8 9 Direct [number.solax_remotecontrol_push_mode_power_8_9_direct] to -10000, and set Solax Modbus Power Control Direct [select.solax_modbus_power_control_direct] and Solax Remote Control Power Control Mode Direct [select.solax_remote_control_power_control_mode_direct] to Individual Setting – Target SOC Mode.", "natural_language": { "trigger": "The automation is triggered whenever the PV Control Mode [sensor.pv_control_mode] changes to any of its defined states: force_charge, normal, grid_only, force_discharge, house_only, feedin_priority, reset, or force_charge_grid_only.", "conditions": "There are no conditions that must be met for the actions to run; the automation executes based solely on the trigger.", "action": "The automation performs different sequences of actions depending on which mode was triggered. It first checks the previous state of the mode for three specific transitions: from grid_only, it turns the system on and waits; from house_only, it sets an export limit; from force_charge_grid_only, it disables certain power controls. Then, a main decision block runs: For a reset, it configures the system to a default self-use state. For force_charge, it selects manual force charging. For normal, it sets self-use mode. For force_discharge, it selects manual force discharging. For grid_only, it turns the system off. For house_only, it sets self-use mode with a low export limit. For feedin_priority, it sets feed-in priority mode. For force_charge_grid_only, it performs an extensive configuration sequence, setting many remote control parameters to zero, then setting a target state of charge, limiting PV power, and finally enabling a specific target SOC control mode." }, "human_like": "This automation manages a solar inverter system by configuring its operating mode and settings whenever the PV control mode is changed, ensuring the system behaves correctly for charging, discharging, or grid interaction.", "complexity": "high" } } ]