AutomationDataset/filipek92/automation-descriptions.json

15 lines
4.1 KiB
JSON

[
{
"id": "PowerPlan ▸ Řízení akumulace a režimu měniče",
"result": {
"structured": "TRIGGER: When any of the following sensors change state: PowerPlan Charger Use Mode [sensor.powerplan_charger_use_mode], PowerPlan Upper Accumulation On [sensor.powerplan_upper_accumulation_on], PowerPlan Lower Accumulation On [sensor.powerplan_lower_accumulation_on], PowerPlan Max Heat On [sensor.powerplan_max_heat_on], PowerPlan Forced Heating Block [sensor.powerplan_forced_heating_block], PowerPlan Battery Discharge Power [sensor.powerplan_battery_discharge_power], PowerPlan Battery Target SOC [sensor.powerplan_battery_target_soc], PowerPlan Reserve Power Charging [sensor.powerplan_reserve_power_charging], PowerPlan Minimum Battery SOC [sensor.powerplan_minimum_battery_soc], EEPROM Fuse [input_boolean.eeprom_fuse]. CONDITIONS: None. ACTIONS: Set Solax Charger Use Mode [select.solax_charger_use_mode] and Solax Manual Mode Select [select.solax_manual_mode_select] based on the computed powerplan_mode variable. The mode is 'Back Up Mode' if EEPROM Fuse [input_boolean.eeprom_fuse] is on, otherwise it is the state of PowerPlan Charger Use Mode [sensor.powerplan_charger_use_mode]. If powerplan_mode is 'Manual Charge', set Solax Charger Use Mode to 'Manual Mode' and Solax Manual Mode Select to 'Force Charge'. If powerplan_mode is 'Manual Discharge', set Solax Charger Use Mode to 'Manual Mode' and Solax Manual Mode Select to 'Force Discharge'. If powerplan_mode is 'Manual Idle', set Solax Charger Use Mode to 'Manual Mode' and Solax Manual Mode Select to 'Stop Charge and Discharge'. Otherwise, set Solax Charger Use Mode to the value of powerplan_mode. Then, set Tepelna Akumulace Povolen Horni Akumulace [switch.tepelnaakumulace_povolen_horn_akumulace] on if PowerPlan Upper Accumulation On [sensor.powerplan_upper_accumulation_on] is 'True', otherwise off. Set Tepelna Akumulace Povolen Spodni Akumulace [switch.tepelnaakumulace_povolen_spodn_akumulace] on if PowerPlan Lower Accumulation On [sensor.powerplan_lower_accumulation_on] is 'True', otherwise off. Set Tepelna Akumulace Maximální Ohřev ze Sítě [switch.tepelnaakumulace_maxim_ln_oh_ev_ze_s_t] on if PowerPlan Max Heat On [sensor.powerplan_max_heat_on] is 'True', otherwise off. Set Tepelna Akumulace Blokování Nuceného Ohřevu [switch.tepelnaakumulace_blokov_n_nucen_ho_oh_evu] on if PowerPlan Forced Heating Block [sensor.powerplan_forced_heating_block] is 'True', otherwise off. Set Tepelna Akumulace Povolen Komfortního Ohřevu [switch.tepelnaakumulace_povolen_komfortn_ho_oh_evu] on if PowerPlan Comfort Heating Grid [sensor.powerplan_comfort_heating_grid] is 'True', otherwise off.",
"natural_language": {
"trigger": "The automation triggers whenever any of the following sensors or input changes its state: PowerPlan Charger Use Mode, PowerPlan Upper Accumulation On, PowerPlan Lower Accumulation On, PowerPlan Max Heat On, PowerPlan Forced Heating Block, PowerPlan Battery Discharge Power, PowerPlan Battery Target SOC, PowerPlan Reserve Power Charging, PowerPlan Minimum Battery SOC, or EEPROM Fuse.",
"conditions": "There are no explicit conditions; the automation runs every time a trigger occurs.",
"action": "First, it calculates a mode for the inverter. If the EEPROM Fuse is on, it uses 'Back Up Mode' as the target mode; otherwise, it uses the current value from the PowerPlan Charger Use Mode sensor. Based on this computed mode, it sets the Solax Charger Use Mode and Solax Manual Mode Select options. For specific manual modes ('Manual Charge', 'Manual Discharge', 'Manual Idle'), it configures both selectors accordingly. For other modes, it sets only the Solax Charger Use Mode. Then, it updates several heating and accumulation switches: it turns on or off the upper accumulation, lower accumulation, maximum heating from grid, forced heating block, and comfort heating from grid switches based on the corresponding PowerPlan sensor states (True for on, otherwise off)."
},
"human_like": "This automation coordinates the home's energy system by adjusting the inverter mode and heating controls based on PowerPlan predictions and safety status.",
"complexity": "high"
}
}
]