80 lines
9.0 KiB
JSON
80 lines
9.0 KiB
JSON
[
|
|
{
|
|
"id": "toggle_office_lamp_light",
|
|
"result": {
|
|
"structured": "TRIGGER: When smartthings button [device_id: d11abf41-3b05-4389-865d-90272f94d0fe] sends a 'pushed' event. CONDITIONS: None. ACTIONS: Toggle office lamp light [light.15ae762e8d5c402c6a1251d3cb762e27].",
|
|
"natural_language": {
|
|
"trigger": "When the smartthings button [device_id: d11abf41-3b05-4389-865d-90272f94d0fe] is pushed.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "Toggles the office lamp light [light.15ae762e8d5c402c6a1251d3cb762e27] on or off."
|
|
},
|
|
"human_like": "Toggles the office lamp on or off when the smart button is pressed.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "sync_filter_counters",
|
|
"result": {
|
|
"structured": "TRIGGER: When water filter custom number [input_text.water_filter_custom_number] changes state OR When furnace filter custom number [input_text.furnace_filter_custom_number] changes state OR When litter box litter custom number [input_text.litter_box_litter_custom_number] changes state OR When litter box pee pad custom number [input_text.litter_box_pee_pad_custom_number] changes state. CONDITIONS: None. ACTIONS: Choose action based on which entity triggered: If water filter custom number [input_text.water_filter_custom_number] triggered, set water filter counter [counter.water_filter_counter] to its new integer value (default 0). If furnace filter custom number [input_text.furnace_filter_custom_number] triggered, set furnace filter counter [counter.furnace_filter_counter] to its new integer value (default 0). If litter box litter custom number [input_text.litter_box_litter_custom_number] triggered, set litter box litter counter [counter.litter_box_litter_counter] to its new integer value (default 0). If litter box pee pad custom number [input_text.litter_box_pee_pad_custom_number] triggered, set litter box pee pad counter [counter.litter_box_pee_pad_counter] to its new integer value (default 0).",
|
|
"natural_language": {
|
|
"trigger": "Whenever the value of any of the following text inputs changes: water filter custom number [input_text.water_filter_custom_number], furnace filter custom number [input_text.furnace_filter_custom_number], litter box litter custom number [input_text.litter_box_litter_custom_number], or litter box pee pad custom number [input_text.litter_box_pee_pad_custom_number].",
|
|
"conditions": "There are no conditions that must be met for the action to run.",
|
|
"action": "Depending on which specific text input changed, the corresponding counter is updated. If the water filter custom number changes, the water filter counter [counter.water_filter_counter] is set to its new numeric value. If the furnace filter custom number changes, the furnace filter counter [counter.furnace_filter_counter] is updated. If the litter box litter custom number changes, the litter box litter counter [counter.litter_box_litter_counter] is set. If the litter box pee pad custom number changes, the litter box pee pad counter [counter.litter_box_pee_pad_counter] is set. Non-numeric values default to zero."
|
|
},
|
|
"human_like": "Keeps various filter and litter box counters in sync with their corresponding manual input fields.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "update_days_since_reset",
|
|
"result": {
|
|
"structured": "TRIGGER: Daily at 00:01:00. CONDITIONS: None. ACTIONS: For water filter counter [counter.water_filter_counter]: IF water filter last reset [input_datetime.water_filter_last_reset] is not unknown/unavailable/empty AND the date difference between now and the reset date is greater than 0 days, THEN increment water filter counter [counter.water_filter_counter]. For furnace filter counter [counter.furnace_filter_counter]: IF furnace filter last reset [input_datetime.furnace_filter_last_reset] is not unknown/unavailable/empty, THEN increment furnace filter counter [counter.furnace_filter_counter]. For litter box litter counter [counter.litter_box_litter_counter]: IF litter box litter last reset [input_datetime.litter_box_litter_last_reset] is not unknown/unavailable/empty, THEN increment litter box litter counter [counter.litter_box_litter_counter]. For litter box pee pad counter [counter.litter_box_pee_pad_counter]: IF litter box pee pad last reset [input_datetime.litter_box_pee_pad_last_reset] is not unknown/unavailable/empty, THEN increment litter box pee pad counter [counter.litter_box_pee_pad_counter].",
|
|
"natural_language": {
|
|
"trigger": "Every day at one minute past midnight.",
|
|
"conditions": "There are no global conditions; each counter has its own independent check.",
|
|
"action": "The automation checks and potentially increments four different counters. For the water filter counter, it increments only if a valid reset date exists and at least one day has passed since that reset. For the furnace filter, litter box litter, and litter box pee pad counters, they are incremented only if a valid reset date exists for each respective item."
|
|
},
|
|
"human_like": "Updates the day counters for various household filters and supplies each night, but only if a reset date has been recorded.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "sync_litter_box_days",
|
|
"result": {
|
|
"structured": "TRIGGER: When litter box litter days [input_number.litter_box_litter_days] changes state. CONDITIONS: None. ACTIONS: Set the value of litter box litter counter [counter.litter_box_litter_counter] to the integer value of litter box litter days [input_number.litter_box_litter_days].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the value of the input number litter box litter days [input_number.litter_box_litter_days] changes.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Updates the litter box litter counter [counter.litter_box_litter_counter] to match the current integer value of the litter box litter days [input_number.litter_box_litter_days] input."
|
|
},
|
|
"human_like": "Keeps the litter box day counter synchronized with a user-adjustable input number.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "sync_pee_pad_days",
|
|
"result": {
|
|
"structured": "TRIGGER: When litter box pee pad days [input_number.litter_box_pee_pad_days] changes state. CONDITIONS: None. ACTIONS: Set the value of litter box pee pad counter [counter.litter_box_pee_pad_counter] to the integer value of litter box pee pad days [input_number.litter_box_pee_pad_days].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the value of the input number litter box pee pad days [input_number.litter_box_pee_pad_days] changes.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Updates the litter box pee pad counter [counter.litter_box_pee_pad_counter] to match the current integer value of the litter box pee pad days [input_number.litter_box_pee_pad_days]."
|
|
},
|
|
"human_like": "Keeps the pee pad day counter synchronized with the corresponding input number.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "reset_counters_via_nfc",
|
|
"result": {
|
|
"structured": "TRIGGER: When any NFC tag is scanned (event tag_scanned). CONDITIONS: None. ACTIONS: Choose based on the scanned tag ID: IF tag ID equals 72386f3a-3089-4ca9-a90c-a7c3f26d7847 THEN send a notification to mobile app your iphone [notify.mobile_app_your_iphone] asking for confirmation to reset the litter counter, wait up to 30 minutes for a 'RESET_LITTER' action response, then reset litter box litter counter [counter.litter_box_litter_counter] and send a confirmation notification to mobile app iHefe [notify.mobile_app_iHefe]. IF tag ID equals 8b2662cc-3e35-47c8-a5df-3f9f63b31b9b THEN reset litter box pee pad counter [counter.litter_box_pee_pad_counter]. IF tag ID equals 9d3bd791-8e1c-43f3-939a-716695092f24 THEN reset water filter counter [counter.water_filter_counter]. IF tag ID equals fb0949aa-ed18-46f0-bea2-e5c47116528a THEN reset furnace filter counter [counter.furnace_filter_counter].",
|
|
"natural_language": {
|
|
"trigger": "The automation runs whenever any NFC tag is scanned.",
|
|
"conditions": "There are no conditions that must be met before proceeding with the actions.",
|
|
"action": "Depending on which specific NFC tag is scanned, a different counter is reset. Scanning the litter reset tag sends a push notification to your iPhone asking for confirmation to reset the litter counter. If you confirm within 30 minutes, it resets the litter box litter counter [counter.litter_box_litter_counter] and sends a success message. Scanning the pee pad reset tag immediately resets the litter box pee pad counter [counter.litter_box_pee_pad_counter]. Scanning the water filter reset tag immediately resets the water filter counter [counter.water_filter_counter]. Scanning the furnace filter reset tag immediately resets the furnace filter counter [counter.furnace_filter_counter]."
|
|
},
|
|
"human_like": "Resets different household maintenance counters by scanning specific NFC tags, with a confirmation prompt for the litter box counter.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |