HMAccessorySetupRequest.homeUniqueIdentifier dont work
let setupRequest = HMAccessorySetupRequest() setupRequest.homeUniqueIdentifier = home.uniqueIdentifier setupRequest.suggestedRoomUniqueIdentifier = home.rooms.first?.uniqueIdentifier setupRequest.suggestedAccessoryName = “test light” let hmSetupManager = HMAccessorySetupManager() hmSetupManager.performAccessorySetup(using: setupRequest, completionHandler: { result, error in print(“result:(result)”) print(“error:(error)”) }) I use HMAccessorySetupRequest and set other home. But the accessory alaways add to primary home. Why? ios swift homekit New contributor 张杰华 is a new contributor to […]
HMAccessorySetupRequest.homeUniqueIdentifier dont work
let setupRequest = HMAccessorySetupRequest() setupRequest.homeUniqueIdentifier = home.uniqueIdentifier setupRequest.suggestedRoomUniqueIdentifier = home.rooms.first?.uniqueIdentifier setupRequest.suggestedAccessoryName = “test light” let hmSetupManager = HMAccessorySetupManager() hmSetupManager.performAccessorySetup(using: setupRequest, completionHandler: { result, error in print(“result:(result)”) print(“error:(error)”) }) I use HMAccessorySetupRequest and set other home. But the accessory alaways add to primary home. Why? ios swift homekit New contributor 张杰华 is a new contributor to […]
iOS Connect to Matter device without Apple Home
I want to make an application connect and control the Matter device (Ex: Lightbulb) without Apple Home.
But, I cannot step to make it.
I refer the Apple document “https://developer.apple.com/documentation/matter/onboarding_a_matter_device”
But, it’s stuck at Setup matter device and waiting forever.
Pls help me .
Thanks.