这是indexloc提供的服务,不要输入任何密码
Skip to content

Siri times out after three seconds #85

@AlexGustafsson

Description

@AlexGustafsson

In version 4.0.0+ everything is asynchronous and waited for. This includes the grace times. When Siri is used to invoke a command to start a computer, she will time out after three seconds responding that the accessory did not respond. The plugin still works as intended however.

Unfortunately there are only two options, since Siri cannot be configured to wait for longer:

  1. Let the accessory respond immediately which lets Siri work as intended but she may respond with the wrong status. There may be an increased possibility of race conditions resulting in weird behavior.

  2. Let the plugin work as intended and wait for asynchronous code to finish, which will allow the Home app to work as intended, but in turn result in Siri responding that the accessory is not responding. One can play with the grace times in order to get around the Siri issue.

This issue will likely not be fixed (only Apple can change things), rather mitigated by being able to configure which of the above two solutions one wants to use, with the second being the default due to it technically being more correct in terms of plugin function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions