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

HomeKit Documentation

Posts under HomeKit tag

53 Posts
Sort by:
Post not yet marked as solved
0 Replies
448 Views
I am implementing WAC2 on mu Accessory my accessory is using WiFi my bridge is broadcasting beacons according to the WAC2 requirements. my iPhone is able to see the SSD of my device as HomeKit Accessory and it link me to the home app when I select the device SSID. when redirecting to the home app, it opens directly QR code scanner, I scan the old QR code of my device something like that (X-HM://0024BWBIC2V7B). But this will not proceed to connect to my device. Do I have use another QR code that contains SSID and passphrase? If o ho to generate this QR code ?
Posted
by
Post not yet marked as solved
0 Replies
361 Views
I am a newer to implement Homekit accessory. I got the HomeKit ADK 6.3 and saw the application code have "FirmwareUpdate" part. After traced the code and read the document about ADK's firmware update rule, I have some question about ADK's firmware update: It use the UARP to translate the image file and the image file need to package as the SuperBinary format? the image file will be fetch by controller and push to accessory? the accessory can't download the image file by itself directly? where is the image file path in accessory once the controller push the image to accessory? the firmware update processing should be implemented in the FwUpApplyStagedAssets function? To implement the firmware update feature of HomeKit ADK is must? or I can implement my own firmware update rule for my accessory? I saw the code of ADK's firmware update is enable by the HAVE_FIRMWARE_UPDATE definition. Hope someone can help me to clarify above questions. Thank you.
Posted
by
Post not yet marked as solved
0 Replies
358 Views
I have two MacBook Pro computers. On one, an M1 Max, the HomeKit video palyback will not work on my account. It will work a guest account on the same computer. On the second, an i7 13", no issues at all. I can also view the playback on my iPhone 14 and my iPad Pro. This started when I first began to use the HomeKit Video, well over a year ago and on previous OS versions. There is a HomePod and several AppleTvs around the house, so there is no issue of there not being a HomeKit hub.to function with, and I mentioned, it's only on the M1 that there is an issue. It shows the recordings, but when I click on one to view, it just zooms in on the scene. To confuse things, it will work on occasion, especially if I am calling Apple about it. (yes, it's fickle) Everything is up to date, both machines are running the latest Sonoma and the 13" has never had a problem with the video. It's going to be something so simple that I will do a "DUH" but what's the answer?
Posted
by
Post not yet marked as solved
0 Replies
335 Views
I am looking for a way to get the list of HomeKit secure videos that are stored on iCloud. The objective is to show a list of them, maybe with come information like person or animal identification. I search the Apple doc for API but found nothing (I know the HomeKit doc, and have made several HomeKit apps already). Can anybody point me to a documentation entry point, is that Apple reserved only ?
Posted
by
Post not yet marked as solved
0 Replies
401 Views
Hello everybody. I've got esp-homekit-sdk from Espressif and I built the example "lightbulb". It works fine. I can change led status from may Home App. Now, I want to switch on/off the led also by a mechanical switch. I modified the code for reading a GPIO input connected to this switch. I works, but the iPhone doesn't sense the status changed How to send the changed status notification to the main task? Thanks Andrea
Posted
by
Post not yet marked as solved
0 Replies
624 Views
Our smart home app is integrating Matter as a way to add devices to the user's home. The implementation is pretty standard, here is the main part: Code var setupPayload: MTRSetupPayload? if let onboardingPayload = onboardingPayload { setupPayload = try MTRSetupPayload(onboardingPayload: onboardingPayload) } let topology = MatterAddDeviceRequest.Topology( ecosystemName: ecosystemName, homes: [MatterAddDeviceRequest.Home(displayName: homeDisplayName)]) let request = MatterAddDeviceRequest(topology: topology, setupPayload: setupPayload) do { try await request.perform() print("Success") } catch { print("Failure") } Issue If the user decides to press the close button on the UI, the iOS treats it as a success. This use case messes with our flow as we have different paths in the app for success and failures. I would normally expect that if the user cancels something there is a callback that enables the developers to handle it properly. I've researched a lot on this topic but unfortunately I wasn't able to find anything helpful. Any advice on how to resolve this is much appreciated. Thanks in advance P.S. Yes we have implemented the MatterRequestExtension and all the handlers, the commissioning part works fine, we are able to add a Matter device and control it with our app, this issue happens before scanning the QR code.
Posted
by
Post not yet marked as solved
1 Replies
349 Views
Hi there, I have set in Homekit for camera to send notifications ONLY IF PERSON IS DETECTED. I receive notifications all the time, even if person not detected, like "camera has detected motion" .... This is bug for 3 years.
Posted
by
Post not yet marked as solved
1 Replies
556 Views
We are building a matter wifi thermostat. The device is working well with Google and Alexa. However, when add the device thru iOS Home App, the home app always show room temperature 0.0c. When working with Google Home, the room temperature can show correctly. Is there any problem with iOS Home App with Matter WiFi Thermostat?
Posted
by
Post not yet marked as solved
1 Replies
805 Views
Hello fellow developers, I am in the process of developing an iOS application that support the Matter Framework. My goal is to enable user to commission their Matter-enabled device to a fabric and control them through the fabric. However, I stumbled upon a few questions and areas that I would greatly appreciate guidance on: Commission Process What is the recommended steps to successfully commission a Matter-enabled device? Using the Matter API I have reviewed the provided sample app in the CHIP repo. However, I find it a bit complex to understand fully (background context: I am a junior developer and have never work on iOS development before). I replicated the app using Swift since the sample is written in ObjC but often times got stuck on [connection] nw_read_request_report [C1] Receive failed with error "Operation timed out" log. How to effectively use the Matter API to handle commissioning, device control and other interactions with Matter-enabled devices? Keypair generation I have noticed that the framework doesn't provide an API with the keypair generation (correct me if I am wrong). What is the best practice or resources for handling the keypair generation within the Matter context? Matter Support vs Matter framework I need clarification on the roles of these two framework. From my understanding, MatterSupport adds Matter devices into my ecosystem(?) while Matter framework handles the commission and control in the Matter fabric. And we can use the Matter framework within the MatterSupport using the request handler to commission Matter-enabled device.
Posted
by
Post not yet marked as solved
0 Replies
378 Views
Hi Apple, I have a A vc, in this vc, I call this function to manager user home.manageUsers(completionHandler: { _ in }) But the result, the modalPresentationStyle of HMUserListViewController is overfullscreen. The HMUserListViewController is presented by system. The final UI effect is very strange, because the upper part of vc overlaps with the previous page. How can I fix this problem? Looking forward to your reply. Test device: iPhone 13 Pro iOS15.7
Posted
by
Post not yet marked as solved
1 Replies
583 Views
I had an issue a few days ago with a Schlage Encode Plus lock. Apparently, it had tried to update the firmware and encountered an issue. It dropped off the network with "not responding." I factory reset the lock and reset it back up, but when I try to add it to HomeKit, nothing works. It seems the "add accessory" piece of HomeKit is "stuck." The camera will no longer scan the QR code and when I try to add the device manually, I just get a spinning circle and I'm never given the opportunity to add it. I do see some data in console.log regarding HomeKit: cannot add handler to 3 from 3 - dropping There is another error message but it just says so I'm not sure what that could be. This has been reported in Feedback Manager. Any tips on how to clear this apparent logjam?
Posted
by
Post not yet marked as solved
0 Replies
499 Views
Hello, I'm trying to add matter devices to home kit. It end up saying as "Unable to add accessory" Using: Home Pod Mini Version:16.6 Model: MJ2E3 IOS version: 16.6
Posted
by
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
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
Post not yet marked as solved
1 Replies
600 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
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