hc
hc copied to clipboard
Accessory name shound't contain "_"
It seems like hc converts spaces into underlines, but homekit doesn't like it. HAS actually uses spaces on names so I guess it's the way to go.
That's because of http://openradar.appspot.com/radar?id=4931940373233664
I see. Hope it gets fixed soon, the fact home.app hates _
is actually what makes this issue a bigger problem than it should be.
Great work on the library btw, been using it flawlessly.
hc
only replaces spaces with "_" for the published dns-sd service name. The accessory should still appear without spaces in HomeKit. Can you please check that.
Last time I checked (long time ago, iOS12) it was showing up "_"s at the Home.app. Gonna try again with the latest hc
version.
Apple Home should only show an underscore when you add the accessory to HomeKit. Once added to HomeKit, the name should be correct.
Something in iOS12 may have changed recently to make this worse. Yesterday, with hc
v1.2.1
I added my bridge accessory to HomeKit and it complained about the underscore in the name. It would not let me click Next unless I changed the name in the UI. This wasn't happening when I was testing a couple weeks back.
I was able to rename my bridge accessory to have hyphens instead of spaces, so that works for me.
Hm, I never seen that error. I will try to reproduce it.