Skip to content

Unnecessary EVENT message / performance issue #83

Closed

Description

@yfre

According to HAP spec. the controller should confirm subscription to an event with a 204 No Content HTTP status code and an empty body.

An EVENT message should be only send on value changes.

Currently we send EVENT message on subscription, i.e. current sequence:
Receive: /characteristics
Send: 204 No Content
Send: EVENT

the last one is not required and leads to performance issues

Activity

  1. ccutrer commented on Sep 30, 2019

    @ccutrer
    Member

    Do you think this is related or exacerbated in iOS 13? My OpenHAB/HomeKit has gone to craps in iOS 13, causing constant reconnection issues.

  2. yfre commented on Sep 30, 2019

    @yfre
    ContributorAuthor

    exactly. in ios12 it was an unnecessary message but it was working.
    but with ios13 it become unusable, home app was keeping refreshing and reconnecting all the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions