AutomationDataset/ggg1psyyy/description-ready.json

212 lines
13 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"id": "PV Control - Battery Settings",
"automation": "- alias: PV Control - Battery Settings\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.pv_control_battery_charging_enabled\n to: 'off'\n id: BATT_DISABLE\n - trigger: state\n entity_id:\n - binary_sensor.pv_control_battery_charging_enabled\n to: 'on'\n id: BATT_ENABLE\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - BATT_ENABLE\n sequence:\n - action: number.set_value\n metadata: {}\n data:\n value: '30'\n target:\n entity_id: number.solax_battery_charge_max_current\n - conditions:\n - condition: trigger\n id:\n - BATT_DISABLE\n sequence:\n - action: number.set_value\n metadata: {}\n data:\n value: '0'\n target:\n entity_id: number.solax_battery_charge_max_current\n mode: single",
"config": [
{
"name": "PV Control Battery Charging Enabled",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.pv_control_battery_charging_enabled",
"device_id": null
}
},
{
"name": "Solax Battery Charge Max Current",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_battery_charge_max_current",
"device_id": null
}
}
]
},
{
"id": "PV Control - Mode Settings",
"automation": "- alias: PV Control - Mode Settings\n description: ''\n triggers:\n - entity_id:\n - sensor.pv_control_mode\n to: force_charge\n id: FORCE_CHARGE\n trigger: state\n - entity_id:\n - sensor.pv_control_mode\n to: normal\n id: NORMAL\n trigger: state\n - trigger: state\n entity_id:\n - sensor.pv_control_mode\n to: grid_only\n id: GRID_ONLY\n - trigger: state\n entity_id:\n - sensor.pv_control_mode\n to: force_discharge\n id: FORCE_DISCHARCGE\n - trigger: state\n entity_id:\n - sensor.pv_control_mode\n to: house_only\n id: HOUSE_ONLY\n - trigger: state\n entity_id:\n - sensor.pv_control_mode\n id: FEEDIN\n to: feedin_priority\n - trigger: state\n entity_id:\n - sensor.pv_control_mode\n to: reset\n id: RESET\n - entity_id:\n - sensor.pv_control_mode\n to: force_charge_grid_only\n id: FORCE_CHARGE_GRID_ONLY\n trigger: state\n conditions: []\n actions:\n - if:\n - condition: template\n value_template: '{{ trigger.from_state.state == \"grid_only\" }}'\n then:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.solax_system_on\n - delay:\n hours: 0\n minutes: 0\n seconds: 45\n milliseconds: 0\n - if:\n - condition: template\n value_template: '{{ trigger.from_state.state == \"house_only\" }}'\n then:\n - action: number.set_value\n metadata: {}\n data:\n value: '8000'\n target:\n entity_id: number.solax_export_control_user_limit\n - if:\n - condition: template\n value_template: '{{ trigger.from_state.state == \"force_charge_grid_only\" }}'\n then:\n - action: select.select_option\n metadata: {}\n data:\n option: Disabled\n target:\n entity_id:\n - select.solax_modbus_power_control_direct\n - select.solax_remote_control_power_control_mode_direct\n - choose:\n - conditions:\n - condition: trigger\n id:\n - RESET\n sequence:\n - action: number.set_value\n metadata: {}\n data:\n value: '8000'\n target:\n entity_id: number.solax_export_control_user_limit\n - action: select.select_option\n metadata: {}\n data:\n option: Self Use Mode\n target:\n entity_id: select.solax_charger_use_mode\n - action: select.select_option\n metadata: {}\n data:\n option: Disabled\n target:\n entity_id: select.solax_modbus_power_control_direct\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.solax_system_on\n - conditions:\n - condition: trigger\n id:\n - FORCE_CHARGE\n sequence:\n - action: select.select_option\n metadata: {}\n data:\n option: Force Charge\n target:\n entity_id: select.solax_manual_mode_select\n - action: select.select_option\n metadata: {}\n data:\n option: Manual Mode\n target:\n entity_id: select.solax_charger_use_mode\n - conditions:\n - condition: trigger\n id:\n - NORMAL\n sequence:\n - action: select.select_option\n metadata: {}\n data:\n option: Self Use Mode\n target:\n entity_id: select.solax_charger_use_mode\n enabled: true\n - conditions:\n - condition: trigger\n id:\n - FORCE_DISCHARCGE\n sequence:\n - action: select.select_option\n metadata: {}\n data:\n option: Force Discharge\n target:\n entity_id: select.solax_manual_mode_select\n - action: select.select_option\n metadata: {}\n data:\n option: Manual Mode\n target:\n entity_id: select.solax_charger_use_mode\n - conditions:\n - condition: trigger\n id:\n - GRID_ONLY\n sequence:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.solax_system_off\n - conditions:\n - condition: trigger\n id:\n - HOUSE_ONLY\n sequence:\n - action: select.select_option\n metadata: {}\n data:\n option: Self Use Mode\n target:\n entity_id: select.solax_charger_use_mode\n - action: number.set_value\n metadata: {}\n data:\n value: '10'\n target:\n entity_id: number.solax_export_control_user_limit\n - conditions:\n - condition: trigger\n id:\n - FEEDIN\n sequence:\n - action: select.select_option\n metadata: {}\n data:\n option: Feedin Priority\n target:\n entity_id: select.solax_charger_use_mode\n - conditions:\n - condition: trigger\n id:\n - FORCE_CHARGE_GRID_ONLY\n sequence:\n - action: number.set_value\n metadata: {}\n data:\n value: '0'\n target:\n entity_id:\n - number.solax_remotecontrol_timeout_direct\n - number.solax_remotecontrol_active_power_direct\n - number.solax_remotecontrol_charge_discharge_power_direct\n - number.solax_remotecontrol_duration_direct\n - number.solax_remotecontrol_push_mode_power_direct\n - number.solax_remotecontrol_reactive_power_direct\n - number.solax_remotecontrol_target_energy_direct\n - number.solax_remotecontrol_target_soc_direct\n - number.solax_remotecontrol_timeout_8_9_direct\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - action: number.set_value\n metadata: {}\n data:\n value: '100'\n target:\n entity_id: number.solax_remotecontrol_target_soc_9_direct\n - action: number.set_value\n metadata: {}\n data:\n value: '0'\n target:\n entity_id:\n - number.solax_remotecontrol_pv_power_limit_direct\n - action: number.set_value\n metadata: {}\n data:\n value: '-10000'\n target:\n entity_id:\n - number.solax_remotecontrol_push_mode_power_8_9_direct\n - action: select.select_option\n metadata: {}\n data:\n option: Individual Setting Target SOC Mode\n target:\n entity_id:\n - select.solax_modbus_power_control_direct\n - select.solax_remote_control_power_control_mode_direct\n variables:\n old_state: '{{ trigger.from_state.state }}'\n mode: single",
"config": [
{
"name": "PV Control Mode",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.pv_control_mode",
"device_id": null
}
},
{
"name": "Solax System On Button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.solax_system_on",
"device_id": null
}
},
{
"name": "Solax Export Control User Limit",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_export_control_user_limit",
"device_id": null
}
},
{
"name": "Solax Modbus Power Control Direct",
"room": null,
"type": "select",
"id": {
"entity_id": "select.solax_modbus_power_control_direct",
"device_id": null
}
},
{
"name": "Solax Remote Control Power Control Mode Direct",
"room": null,
"type": "select",
"id": {
"entity_id": "select.solax_remote_control_power_control_mode_direct",
"device_id": null
}
},
{
"name": "Solax Charger Use Mode",
"room": null,
"type": "select",
"id": {
"entity_id": "select.solax_charger_use_mode",
"device_id": null
}
},
{
"name": "Solax System Off Button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.solax_system_off",
"device_id": null
}
},
{
"name": "Solax Manual Mode Select",
"room": null,
"type": "select",
"id": {
"entity_id": "select.solax_manual_mode_select",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Timeout Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_timeout_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Active Power Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_active_power_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Charge Discharge Power Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_charge_discharge_power_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Duration Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_duration_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Push Mode Power Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_push_mode_power_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Reactive Power Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_reactive_power_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Target Energy Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_target_energy_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Target SOC Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_target_soc_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Timeout 8 9 Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_timeout_8_9_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Target SOC 9 Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_target_soc_9_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol PV Power Limit Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_pv_power_limit_direct",
"device_id": null
}
},
{
"name": "Solax Remotecontrol Push Mode Power 8 9 Direct",
"room": null,
"type": "number",
"id": {
"entity_id": "number.solax_remotecontrol_push_mode_power_8_9_direct",
"device_id": null
}
}
]
}
]