# US 2025/0168030 A1 · Consistency checking of a delegated trigger in an automated environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0168030 A1
- Document ID: US20250168030A1
- Status: Published application
- Kind: A1
- Application number: 19/030,263
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2015-07-31
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Anush G. Nadathur; Kevin P. McLaughlin; Nathan E. Carroll
- Web page: https://patentgrep.com/patent/US20250168030A1

## CPC

- G06F 9/54: Interprogram communication
- H04L 12/2816: {Controlling appliance services of a home automation network by calling their functionalities (arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station; in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom H04Q9/00)}
- H04L 12/2803: {Home automation networks}
- H04L 12/2814: {Exchanging control software or macros for controlling appliance services in a home automation network (arrangements for maintenance or administration involving configuration of the network and network elements H04L41/08)}
- H04L 12/283: {Processing of data at an internetworking point of a home automation network}
- H04L 41/0681: Configuration of triggering conditions
- H04L 67/125: involving control of end-device applications over a network
- H04L 67/59: Providing operational support to end devices by off-loading in the network or by emulation, e.g. when they are unavailable
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A first device can identify a trigger. The trigger can include a triggering event and an action to be performed on an accessory device in response to detecting the triggering event. When the trigger is delegated to the first electronic device, the first electronic device can execute the trigger by monitoring for the triggering event and transmitting a control message to the accessory device in response to detecting the triggering event. When the trigger is delegated to a second electronic device, the first electronic device can monitor a status of the second electronic device for a condition indicating that the second electronic device is unavailable to execute the trigger and execute the trigger in response to detecting the condition.

## Claims

### Claim 1

A method, the method comprising:
receiving a trigger data object created by a second electronic device, the trigger data object defining a trigger, the trigger including a triggering event and an action to be performed on an accessory device in response to detecting the triggering event, wherein the action is performable by sending a control message to the accessory device, and wherein receiving the trigger data object comprises receiving an indication that the trigger data object is delegated to the first electronic device;
identifying a most effective device for executing the trigger, wherein the most effective device is either the first electronic device or a third electronic device;
in accordance with a determination that the third electronic device is the most effective device, re-delegating the trigger to the third electronic device; and
in accordance with a determination that the first electronic device is the most effective device, executing the trigger, wherein executing the trigger comprises detecting the triggering event and sending the control message to the accessory in response to detecting the triggering event.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in accordance with the trigger being re-delegated, notifying the second electronic device that the trigger has been re-delegated to the third electronic device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the most effective device is identified based at least in part on which of the first electronic device or the third electronic device has a more direct communication channel with the accessory device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining an effectiveness score for each of the first electronic device and the third electronic device; and
identifying the most effective device based at least in part on the effectiveness score.

### Claim 5 (depends on 4)

The method of claim 4, wherein the effectiveness score is determined based at least in part on at least one of an ability to detect the triggering event, a reliability of a communication channel with the accessory device, a relative directness of the communication channel with the accessory device, or an ability to execute the trigger according to power or connectivity constraints.

### Claim 6 (depends on 4)

The method of claim 4, wherein the most effective device is identified based at least in part on a highest effectiveness score.

### Claim 7 (depends on 1)

The method of claim 1, further comprising, in accordance with the determination that the third electronic device is the most effective device, receiving a confirmation response from the third electronic device prior to completion of the re-delegation of the trigger.

### Claim 8 (depends on 1)

The method of claim 1, further comprising updating the trigger data object with information that identifies a current delegate of the trigger in accordance with a change to the current delegate, wherein the current delegate is identified as the most effective device.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first electronic device and the third electronic devices are both devices that are resident in a local environment where the accessory is located.

### Claim 10 (depends on 1)

The method of claim 1, wherein the second electronic device is a mobile device.

### Claim 11 (depends on 1)

The method of claim 1, wherein the third electronic device is a resident device that is stationary within an area associated with the accessory device.

### Claim 12

A first electronic device comprising:
a communications interface; and
a processor coupled to the communications interface, the processor being configured to:
receive a trigger data object created by a second electronic device, the trigger data object defining a trigger, the trigger including a triggering event and an action to be performed on an accessory device in response to detecting the triggering event, wherein the action is performable by sending a control message to the accessory device, and wherein receiving the trigger data object comprises receiving an indication that the trigger data object is delegated to the first electronic device;
identify a most effective device for executing the trigger, wherein the most effective device is either the first electronic device or a third electronic device; and
in accordance with a determination that the third electronic device is the most effective device, re-delegate the trigger to the third electronic device; or
in accordance with a determination that the first electronic device is the most effective device, execute the trigger, wherein executing the trigger comprises detecting the triggering event and sending the control message to the accessory in response to detecting the triggering event.

### Claim 13 (depends on 12)

The first electronic device of claim 12, wherein the processor is further configured to:
in accordance with the trigger being re-delegated, notify the second electronic device that the trigger has been re-delegated to the third electronic device.

### Claim 14 (depends on 12)

The first electronic device of claim 12, wherein the most effective device is identified based at least in part on which of the first electronic device or the third electronic device has a more direct communication channel with the accessory device.

### Claim 15 (depends on 12)

The first electronic device of claim 12, wherein the processor is further configured to:
determine an effectiveness score for each of the first electronic device and the third electronic device; and
identify the most effective device based at least in part on the effectiveness score.

### Claim 16 (depends on 15)

The first electronic device of claim 15, wherein the effectiveness score is determined based at least in part on at least one of an ability to detect the triggering event, a reliability of a communication channel with the accessory device, a relative directness of the communication channel with the accessory device, or an ability to execute the trigger according to power or connectivity constraints.

### Claim 17

A non-transitory computer readable storage medium having stored therein program code that, when executed by a processor in a first electronic device, cause the first electronic device to perform operations comprising:
receiving a trigger data object created by a second electronic device, the trigger data object defining a trigger, the trigger including a triggering event and an action to be performed on an accessory device in response to detecting the triggering event, wherein the action is performable by sending a control message to the accessory device, and wherein receiving the trigger data object comprises receiving an indication that the trigger data object is delegated to the first electronic device;
identifying a most effective device for executing the trigger, wherein the most effective device is either the first electronic device or a third electronic device; and
in accordance with a determination that the third electronic device is the most effective device, re-delegating the trigger to the third electronic device; or
in accordance with a determination that the first electronic device is the most effective device, executing the trigger, wherein executing the trigger comprises detecting the triggering event and sending the control message to the accessory in response to detecting the triggering event.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the first electronic device is further caused to perform operations comprising:
determining an effectiveness score for each of the first electronic device and the third electronic device; and
identifying the most effective device based at least in part on the effectiveness score.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the effectiveness score is determined based at least in part on at least one of an ability to detect the triggering event, a reliability of a communication channel with the accessory device, a relative directness of the communication channel with the accessory device, or an ability to execute the trigger according to power or connectivity constraints.

### Claim 20 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the most effective device is identified based at least in part on which of the first electronic device or the third electronic device has a more direct communication channel with the accessory device.
