Bug : Home App renames Services even if Name Characteristic is set

When a JSON is response is sent to the Home App / HAP Controller as response to a GET /accessories, and when Services contain the optional Name Characteristic, then the Home App initially displays the name of the newly added accessories (and services) correctly in the UI, but as soon as the first EVENT is received by the Home App for a Characteristic then the app automatically renames the Service that Characteric belong to, to a generic name.


For example, a Light Bulb Service with a Name Characteric holding the value "My Lamp blablah", will be renamed "Ligh Bulb", thereby overriding the set name provided by the HAP Accessory Server, as soon as an EVENT is sent for the On Characteristic for that LighBulb


Since there is no Event permission on the Name Characteristic, there is no way for the HAP Accessory Server to "re-set" that Service's name to its original value.


When the Home App is doing a subsequent GET /Accessories (e.g. after restarting the iOS client or alike), and the original information is sent back, then the Home App is simply discarding the value of the Name Characteristic that is part of the response to /Accessories


Is this by design, or just a plain bug?

Replies

>just a plain bug?


File oneand see what comes back, being sure to add your FA# to your thread for reference.