AutomationDataset/WJ4IoT/automation-descriptions.json

15 lines
1.4 KiB
JSON

[
{
"id": "MeshCore - Advert Trigger",
"result": {
"structured": "TRIGGER: When the time matches 03:25 OR When sensor.meshcore_696e4b_node_count_wj_domusip changes state (excluding changes from/to 'unavailable' or 'unknown') (Note: This trigger is disabled). CONDITIONS: (Trigger ID is TIME) OR (The new state value of sensor.meshcore_696e4b_node_count_wj_domusip is numerically greater than its previous state value). ACTIONS: Execute the command 'send_advert true' via meshcore.execute_command.",
"natural_language": {
"trigger": "The automation triggers either at 3:25 AM every day, or when the meshcore node count wj domusip [sensor.meshcore_696e4b_node_count_wj_domusip] changes to a new value, as long as the change is not from or to an 'unavailable' or 'unknown' state. However, the trigger based on the sensor state change is currently disabled.",
"conditions": "For the automation to proceed, it must have been triggered by the scheduled time of 3:25 AM, or the new state value of the sensor must be a number greater than its previous value.",
"action": "Sends a command to the MeshCore system to trigger an advertisement by executing 'send_advert true'."
},
"human_like": "Sends a MeshCore advertisement either at a scheduled time each night or when the node count increases, though the sensor-based trigger is currently turned off.",
"complexity": "medium"
}
}
]