Communicate with, configure, and control home automation accessories using HomeKit.

HomeKit Documentation

Posts under HomeKit tag

53 Posts
Sort by:
Post marked as solved
5 Replies
7.1k Views
Hi,I have multiple Hue bridges set up in Homekit. Nearly 200 devices in all.When I get over about 170 devices Homekit stops syncing between my iPad and iPhone.I can see no documentation around what the maximum number of devices allowed in Homekit is, is anyone able to point me in the right direction?Many thanks!
Posted
by dgburton.
Last updated
.
Post not yet marked as solved
2 Replies
1.2k Views
Hello there, I recently updated both my iPhone and HomePod to the latest iOS 17 Public Beta and have been encountering an issue with Siri activation. In particular, I am unable to activate Siri just by saying "Siri". Specifically, I have adjusted the settings on my HomePod to allow activation via either "Siri" or "Hey Siri" (in my case, "Oye Siri", since I'm using Siri in Spanish). After saving these settings and rebooting all of my devices, I have found that Siri will not activate unless I use the full "Hey Siri" prompt ("Oye Siri"). I would expect that, following the update and the adjustment to these settings, I should be able to activate Siri just by saying just "Siri" but this does not appear to be the case. I would appreciate any assistance with rectifying this issue. To summarize: I've updated to iOS 17 Public Beta on all of my Apple devices. The "Activate via "Siri" or "Hey Siri"" option is set to "Yes". Even after saving and restarting, Siri only activates with "Hey Siri" ("Oye Siri"). If anyone has encountered similar issues or has any advice or potential solutions, I would greatly appreciate your input. Also, if you feel I should be reporting this as a possible bug in the beta software, please let me know. Thank you all for your time and help.
Posted
by ignfv.
Last updated
.
Post not yet marked as solved
2 Replies
799 Views
Sorry if this is a stupid question but I haven't been able to find any information on whether an app can request and receive weatherKit data - the weather - while in the background. My app (AirCompare) makes extensive use of background URL sessions to fetch and process weather data. If certain conditions are met, a notification alert is sent to the user so the user can decide whether to activate the app. For instance if rain is in the forecast, the app alerts the user that they might want to close their windows. Making the app active will execute HomeKit control and accomplish that. Will I be able to replace the background URL session with the appropriate code and be able to fetch weather data in the background?
Posted
by waynehend.
Last updated
.
Post not yet marked as solved
0 Replies
850 Views
I'm attempting to control a television (an recent LGTV) via HomeKit. When I scan all of the accessories (through HMHome.accessories, and also by querying each room separately) most of my devices show up -- but not my TVs or Apple TVs, and a couple of other things like an AVR. These devices show up on my Home app, assigned to specific rooms, and I can use that app and Shortcuts, to control the TV. Is there any way to find these devices through the HomeKit API? Or are there other APIs which I need to use for them, perhaps AirPlay?
Posted
by aragog88.
Last updated
.
Post not yet marked as solved
1 Replies
599 Views
I can bind the light bulb to the light switch through chip-tool software But when I added the light bulb to the apple home app, I noticed two problems (1) The light switch is displayed as an unsupported accessory, note that it is an unsupported accessory, not an uncertified device, because the light bulb can be normally added to the home app and is only displayed as an uncertified device (2) If the light switch can be added to the home app, then I do not know how to bind the light bulb to the light switch
Posted
by Chuckrui.
Last updated
.
Post marked as solved
3 Replies
2.7k Views
I'm trying to pair the Matter by calling HomeKit from within our app, I can successfully pair and the matter device is discovered via bonjour, but after the HomeKit pairing success callback, I can't get a similar UUID or other identifier. I invoked HomeKit with the following code - (void)addAccessoriesWithCompletion:(void (^)(NSError * _Nullable))completion {     if(@available(iOS 15.4, *)) {         HMAccessorySetupRequest *setupRequest = [[HMAccessorySetupRequest alloc] init];         setupRequest.homeUniqueIdentifier = self.currentHome.uniqueIdentifier;         [self.setupManager performAccessorySetupUsingRequest:setupRequest completionHandler:^(HMAccessorySetupResult * _Nullable result, NSError * _Nullable error) {                    completion(error);         }];     }     else {         [self.currentHome addAndSetupAccessoriesWithCompletionHandler:completion];     } } - (HMAccessorySetupManager *)setupManager {     if (_setupManager == nil) {         _setupManager = [[HMAccessorySetupManager alloc] init];     }     return _setupManager; } HomeKit successfully added device delegate - (void)home:(HMHome *)home didAddAccessory:(HMAccessory *)accessory {     if (self.homeDidAddAccessoryBlock) {         self.homeDidAddAccessoryBlock(accessory);     }     accessory.delegate = self; } Multiple matter devices may be discovered through bonjour, and I need to know which matter device I just added in order to bind to our user system. So I need to get the device id from the HomeKit pairing success callback so I can filter the matter device. Or do we need to set something on our matter firmware?
Posted
by PandaEye.
Last updated
.
Post not yet marked as solved
1 Replies
736 Views
When viewing this webpage, hobbyists, like me, are told to visit this website to download the non-commercial HAP specification. Unfortunately that website just redirects here, which does not say anything about the non-commercial specification.
Posted
by cgould.
Last updated
.
Post not yet marked as solved
1 Replies
804 Views
Updated version of this post My HomePod mini is now on version 16.4, so the the temperature and humidity sensors are enabled. The data properly shows up in the Home app on my various devices. In my HomeKit iPad app running on Mac Catalyst, however, the data does not show up. I would expect the HomePod mini to show up in HMHome.accessories with a service of type HMServiceTypeTempatureSensor. I see all of my other HomeKit accessories, just not the HomePod mini. I have tried with the latest Xcode (14.3) and highest available iOS Target and Minimum Deployment (16.4), macOS version 13.3. I have not, as of this writing, upgraded my HomeKit architecture, however. Note that I haven't tried the app on an actual iPad (and the iOS simulator doesn't expose my HomeKit environment.)
Posted
by shawkinaw.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
Hi community, my test iPhone running the IOS 17 beta crashed after removing an item from Homekit. It is now stuck in a boot loop - showing the home screen for a split second before then a turning wheel for about 5 seconds and again the home screen for a split second. Entering DFU mode and recovery mode is possible, but the device doesn't pop up on either of my two Macs (tested on macOS 16 and 17) - the device also doesn't pop up under 'system report's USB page or via Apple Configurator. Of course I tried three different cables as well. What can I do? Is this iPhone bricked? Have a Genius appointment for Tuesday - but if we can solve before together, even better.
Posted
by MagnusHue.
Last updated
.
Post not yet marked as solved
0 Replies
610 Views
We developed a HomeKit bridge for our client to bridge their BLE-based dimmers to HomeKit. One end customer found that, on every 1 or 2 days, the bridged accessories that he already moved to different rooms and had automation set up were moved back to the Default Room, and related automation lost. It’s like the bridged accessories were removed and re-added to HomeKit. We traced the problem on the bridge side, but couldn’t find any hint. The bridge just received various requests from HomeKit clients (probably Apple TV, HomePod or iPhone), and the bridge replied correctly on the number of bridged accessories and their information. Anyone with HomeKit bridge (such as Philips Hue hub?) experience this too?
Posted
by alam333.
Last updated
.
Post not yet marked as solved
1 Replies
630 Views
A new feature in Settings > privacy & Security> Location Services that allows users to disable location access for all installed 3rd party applications. I think this is a great idea. It would save battery life and improve privacy for users. It would also be helpful for tracking kids and teenagers, as well as for people with Alzheimer's or dementia and syndrome down people. Apple and Google should store children and teenagers' school locations on their Apple or Google accounts. I think this is a good idea, but I don't think it should be mandatory. Parents should have the option of whether or not to share their child's school location. this helps to protect our teenagers to be safe. Apple should distinguish between known locations, such as home, work, and school. This would be a helpful feature for apps that need to know where the user is located. For example, a delivery app or Amazon iOS App could use this information to let the user know when their package is expected to arrive. Apple should create a Location Known Kit for Location access. This would allow apps to share location information with each other. and there is no need to check over and over by different 3rd party who installed multiple and different applications to check the Locations over and over and it's a disaster that if users are at home or at workplace or at school most majority of the time. please note above new enhancement might help a lot of Apple home and Google Home's routine and automation feature to make them possible This would save battery life and improve performance. I think these are all great ideas. I hope that Apple will consider implementing them in future versions of iOS and iPadOs and Watch OS. Thanks in advance. Best Pooya Mohammadhossein Pooya M
Posted
by pooya.m.
Last updated
.
Post not yet marked as solved
0 Replies
774 Views
I am trying to read register values from an MFi Authentication Coprocessor 3.0 chip MFI343S0017 by I2C. But all the return values are 0x00 instead of the expected values.What can possibly be going wrong?
Posted
by zh1986.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
I recently updated my HomePod mini to version 16.3, which enables the temperature and humidity sensors. However, in the HomeKit iPad app I've developed, the HomePod mini does not show up in HMHome.accessories. I expected it show up there with a service of type HMServiceTypeTempatureSensor.
Posted
by shawkinaw.
Last updated
.