AutomationDataset/Pigensworth/automation-descriptions.json

28 lines
3.2 KiB
JSON

[
{
"id": "Delay Start",
"result": {
"structured": "TRIGGER: When the time reaches the value set in start date time [input_datetime.start_date_time] OR When start now [input_boolean.start_now] changes from off to on. CONDITIONS: (start print [input_boolean.start_print] is on) AND (Trigger is start now [input_boolean.start_now] OR start print [input_boolean.start_print] is on). ACTIONS: Set variables file_name, ams1, ams2, ams3, ams4 from corresponding input entities. Send a print command to the bambu lab printer [device_id: a1e36477740434fe8c9dba83272173fb] with parameters from timelapse [input_boolean.timelapse], bed leveling [input_boolean.bed_leveling], ams toggle [input_boolean.ams_toggle], and the file name. Then, if start print [input_boolean.start_print] is on, toggle it off; otherwise if start now [input_boolean.start_now] is on, toggle it off.",
"natural_language": {
"trigger": "The automation can be triggered in two ways: either at a specific scheduled time defined by start date time [input_datetime.start_date_time], or immediately when the start now [input_boolean.start_now] switch is turned on from an off state.",
"conditions": "The automation requires that the start print [input_boolean.start_print] switch is on. Additionally, it must be the case that either the trigger was the start now switch being turned on, or the start print switch is already on. (Note: The first condition checking start print is on is disabled, so only the second OR condition is effectively active).",
"action": "First, it captures the current values of several inputs: the file name [input_text.file_name] and the AMS slot numbers [input_number.ams1, ams2, ams3, ams4]. Then, it sends a command to start printing a specific file on the bambu lab printer [device_id: a1e36477740434fe8c9dba83272173fb], using settings for timelapse [input_boolean.timelapse], bed leveling [input_boolean.bed_leveling], and AMS usage [input_boolean.ams_toggle]. Finally, it toggles off either the start print [input_boolean.start_print] or start now [input_boolean.start_now] switch, depending on which one is currently on, to reset the trigger state."
},
"human_like": "Starts a 3D print job either at a scheduled time or immediately upon request, using pre-configured file and printer settings, and then resets the start switches.",
"complexity": "medium"
}
},
{
"id": "Update Print Object",
"result": {
"structured": "TRIGGER: When part [input_select.part] changes state. CONDITIONS: None. ACTIONS: Set variable 'object' to the current state of part [input_select.part]. Then, set the value of file name [input_text.file_name] to the value of the variable 'object'.",
"natural_language": {
"trigger": "Whenever the selected option in the part [input_select.part] dropdown changes.",
"conditions": "There are no conditions; the action runs immediately after the trigger.",
"action": "The automation reads the newly selected value from the part [input_select.part] dropdown and updates the text field file name [input_text.file_name] to match that value."
},
"human_like": "Updates a text field to match the currently selected part.",
"complexity": "low"
}
}
]