Skip to content

NAME characteristics showing on IOS just at time of pairing and then ESP name #132

@simkard69

Description

@simkard69

Hello,

Seems like something is acting weird in IOS as I successfully define the NAME of my services using this line :

SERVICE1 =  hap_add_hvac_service("SERVICE_NAME_1", CALLBACK_FUNCTION, 0);
SERVICE2 =  hap_add_hvac_service("SERVICE_NAME_2", CALLBACK_FUNCTION, 0);
SERVICE3 =  hap_add_hvac_service("SERVICE_NAME_3", CALLBACK_FUNCTION, 0);
SERVICE4 =  hap_add_hvac_service("SERVICE_NAME_4", CALLBACK_FUNCTION, 0);

Fact is that, at time of pairing in IOS, I can see the names given to my services but then, when I enter the paired accessory containing all the services, I just see my ESP32 hostname.

Any idea of what is going on here ?
Do I need to define a new characteristic on each of the services ?
Logically it should be OK as long as it is defined using this line on each service in homeintegration.c :
NEW_HOMEKIT_CHARACTERISTIC(NAME, szname)

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