41 lines
3.8 KiB
JSON
41 lines
3.8 KiB
JSON
[
|
|
{
|
|
"id": "WattWise - Charge from Grid",
|
|
"result": {
|
|
"structured": "TRIGGER: When Wattwise Battery Charging from Grid [input_boolean.wattwise_battery_charging_from_grid] changes state. CONDITIONS: None. ACTIONS: If Wattwise Battery Charging from Grid [input_boolean.wattwise_battery_charging_from_grid] is on, then send a manual charge command to the E3DC RSCP Device [device_id: de70267c0b7b750fd9b9fc05c960e6af] with a charge amount equal to Wattwise Battery Charge from Grid Sensor [sensor.wattwise_battery_charge_from_grid] value multiplied by 1000. If Wattwise Battery Charging from Grid [input_boolean.wattwise_battery_charging_from_grid] is off, then send a manual charge command to the E3DC RSCP Device [device_id: de70267c0b7b750fd9b9fc05c960e6af] with a charge amount of 0.",
|
|
"natural_language": {
|
|
"trigger": "Whenever the Wattwise Battery Charging from Grid [input_boolean.wattwise_battery_charging_from_grid] is toggled on or off.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "If the toggle is turned on, it triggers a manual battery charge from the grid using the E3DC RSCP Device [device_id: de70267c0b7b750fd9b9fc05c960e6af]. The amount of energy to charge is read from the Wattwise Battery Charge from Grid Sensor [sensor.wattwise_battery_charge_from_grid] and converted from kilowatt-hours to watt-hours. If the toggle is turned off, it sends a command to the same device to stop charging by setting the charge amount to zero."
|
|
},
|
|
"human_like": "Controls battery charging from the grid by starting or stopping a manual charge based on a user toggle, using a pre-configured energy amount.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "WattWise - Discharge Control",
|
|
"result": {
|
|
"structured": "TRIGGER: When Wattwise Maximum Discharge Possible Sensor [sensor.wattwise_maximum_discharge_possible] changes state. CONDITIONS: None. ACTIONS: Call service e3dc_rscp.set_power_limits on device E3DC RSCP Device [device_id: de70267c0b7b750fd9b9fc05c960e6af] with max_discharge set to the value of Wattwise Maximum Discharge Possible Sensor [sensor.wattwise_maximum_discharge_possible] multiplied by 1000 and converted to an integer.",
|
|
"natural_language": {
|
|
"trigger": "Whenever the Wattwise Maximum Discharge Possible Sensor [sensor.wattwise_maximum_discharge_possible] changes its reported value.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "It updates the maximum discharge power limit for the E3DC RSCP Device [device_id: de70267c0b7b750fd9b9fc05c960e6af] by converting the sensor value from kilowatts to watts and sending that value to the device's control service."
|
|
},
|
|
"human_like": "Automatically adjusts the battery's maximum discharge power based on the latest available sensor reading.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "Trigger WattWise Manual Optimization",
|
|
"result": {
|
|
"structured": "TRIGGER: When Wattwise Manual Optimization [input_boolean.wattwise_manual_optimization] turns on. CONDITIONS: None. ACTIONS: Fire the MANUAL_BATTERY_OPTIMIZATION event AND turn off Wattwise Manual Optimization [input_boolean.wattwise_manual_optimization].",
|
|
"natural_language": {
|
|
"trigger": "When the Wattwise Manual Optimization [input_boolean.wattwise_manual_optimization] switch is turned on.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "It fires a custom event named MANUAL_BATTERY_OPTIMIZATION and then immediately turns the Wattwise Manual Optimization [input_boolean.wattwise_manual_optimization] switch back off."
|
|
},
|
|
"human_like": "Triggers a manual battery optimization event when the corresponding switch is flipped on, and then resets the switch.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |