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

Posts under HomeKit tag

200 Posts

Post

Replies

Boosts

Views

Activity

HomeKit is broken on macOS Ventura
If you build any HomeKit app against the iOS 16 / macOS Ventura SDK with Mac Catalyst (or run it with the Designed for iPhone / iPad destination on Apple Silicon) they are broken and the HMHomeManagerDelegate.homeManagerDidUpdateHomes() method is never called on the manager delegate. This is an issue since macOS Ventura Beta 1 and keeps happening on Beta 3. Any idea how to solve this issue?
7
0
2.5k
Sep ’22
Home app stuck on “loading accesories and scenes”
i tried numerous options in trying to fix it. left it open aver the night, i read somewhere that after a long time it will appear a option that is taking to long and i can press reset, but after almost 10 hours, nothing popped up. i tried deactivating the icloud synt to Home. no help i tried off and on keychain, still no halp i tried hard reboot after uninstalling and after the reboot reinstalled the home app, still no help i tried reinstalling the os on my phone, from scratch, no help -i tried updating to ios 16 beta, stil no help i really don’t know what my next step should be in fixing this issue from my wife’s iphone the home that i shared with her works perfectly fine, on my 2 devices(iphone 14 and a iphone 7) when i try to open it get stuck in loading app and scenes. please help
0
1
900
Sep ’22
Is HomeKit Temperature Sensor Resolution ±0.5 °C ?
Hi, I am using Homebridge on Raspberry Pi platform to get temperature from my sensors. I successfully update temperature data from Raspberry Pi to HomeKit application on my iPhone. The problem is, even I update temperature value using 0.1 °C resolution (like 23.3, 23.4, 23.5, 23.6) HomeKit just shows this values 0.5 °C resolution (like 23.0, 23.0, 23.5, 23.5 respectively). Is there any way to decrease rosolution to 0.1 °C ? Many thank for help. Regards,
2
0
2.2k
Sep ’22
Is there a full documentation about HomeKit integration in an app?
I would like to create a personal SwiftUI app to control my RGB HomeKit-compatible led strip. I found this on Apple Developer Documentation but is reductive. I downloaded the app example but it's developed in UIKit and without an appropriate documentation is difficult to apply. My difficult is especially in how to create HomeKit models to manage homes, rooms, accessory and above all how to comunicate with the led strip. My idea is to create a page when setting manually RGB parameters with three slider and some buttons with some effects. I attach an imaged to show you my idea: So, is there somewhere more accurate documentation that I can follow? Thanks in advance!
1
0
687
Aug ’22
Matter API names (renamed)
Hi, The WWDC2021 Video Add support for Matter in your smart home app has a bunch of code examples referencing APIs that are no longer present or deprecated, e.g. this one. Unfortunately the documentation doesn't give any hint on the replacement APIs. Most of them are to be found in HMMatter* objects. But in the video at 14:27 an API for CHIPDeviceController is shown. Unfortunately that one cannot be found anymore. Does anybody know how to achieve the described task (managing state and control of a matter accessory)
1
0
2.3k
Aug ’22
HomePod Mini Beta 16
HomePod Mini Beta 16 has disabled Personal Requests. "Sorry, I'm still setting up Personal Requests on this device" is Siri's response for over a week since downloading the beta for HomePod Mini when the public beta was released. Have Reset, changed settings, Removed Accessory, all to no avail. Even tried to set to factory defaults by connecting to the iMac and erasing, but couldn't connect to server for "16." Anyone else have this problem? Is there something I'm missing, or is it a result of the Beta? Personal Requests worked flawlessly prior to Public Beta 16 download. I have a large HomePod (the original) running 15.6 with no problems. Would be content to wipe the device and go back to ground zero if I were able.
3
0
949
Aug ’22
MFI portal login fail
I am trying to login to mfi.apple.com to check some information about Homekit compatible product development. When I log in after 2FA I get redirected to the page https://mfi.apple.com/account/new-enrollment and I stuck there until browser timeout. I have tried logging in with both Edge and Chrome and also different laptops using different developer account in our company and get the same result. May I know is the MFI portal down now or it's just us?
1
0
944
Aug ’22
Does Home app support creation of Matter groups?
Hi, I commissioned an ESP32C3 device running Matter using the Home app. The iPhone is on iOS version 16 beta 2. For this I used the all-clusters-app/esp32 example from the connectedhomeip repo. Commit ID for connectedhomeip: cfc35951be66a664a6efdadea56d1b8ea6e63e96 I cannot on the accessory screen see any option to create matter groups. Is there any such option available on the home app? Thanks, Ajay Gantayet
0
0
1k
Jul ’22
HMErrorDomain code 10 on AppleTV
Hi, I have an app where i am controlling various homekit devices. I runs on AppleWatch, iPhone/iPad and AppleTV. I use the exact same code on all platforms for locking and unlocking a Danalock V3 Homekit verison door lock. I workes fine on all platforms but the AppleTV. There i get error 10 ("No access") when calling ".characteristic.writeValue" . All other Homekit devices i have works on the AppleTV. Any idea what could cause the error? Magne Roald Oslo, Norway
1
1
695
Jul ’22
ADK doesn't have NFCAccess characteristics
Hello everyone, I'm trying to look for documentation to implement Home Key, but unfortunately I haven't found anything. In the ADK and HAP noncommercial doc there aren't any mentions of NFCAccess and such. Only mentions I've found are in the NodeHAP (https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.9.5), nrchkb (https://nrchkb.github.io/wiki/service/nfcaccess/#characteristics) and a Nordic semi devzone post where it mentions the files (HAPRequestHandlers+NfcAccess.c) in the logs (https://devzone.nordicsemi.com/f/nordic-q-a/78335/keil-internal-fault-0xb3b91b-5060750) Is Home Key MFi only for now? Thanks, David.
0
0
661
Jul ’22
XCode signing says NSHomeKitUsageDescription not supplied, how do I do that?
I get the error: "Provisioning profile "iOS Team Provisioning Profile: xxx.xxx.homekitexporter" doesn't include the NSHomeKitUsageDescription entitlement." I have HomeKit enabled in the .entitlements file and I added the NSHomeKitUsageDescription to that also. I looked at the profile under my development account and I can see the HomeKit entitlement but I see nowhere to add the usage description key and string other than in the .entitlements file. I also tried adding the key and string to the Custom IOS Properties for my Target APP but that didn't work either. What am I missing?
8
0
1.6k
Jul ’22
Window Covering and Home App Problems
Hi guys,I've been working on getting some accessories working nicely with the Home App. When dealing with Window Coverings I came across some observations that don't seem to make sense to me and I'd be very thankful if someone would either confirm those observations or tell me, where I am going wrong.Summary: The Home App does not seem to properly use/display the available characteristics for the "Window Covering" serviceThe accessory uses a "Window Covering" service with the default characteristics (Current Position, Target Position, Position State) as well as two optional ones (Target Horizontal Tilt Angle & Current Horizontal Tilt Angle) and has been setup in the HomeKit Accessory Simulator.After adding the accessory to the Home App on my iPad (iOS11.1.2) it properly shows up and I can interact with it while observing the changes in real time in the Simulator.Now for my observations:1. The Home App does NOT show the value of "Current Position" anywhere - the only thing that is displayed is "Target Position"2. The Home App does NOT show the value of "Position State" anywhere - it derives the current state from the delta of "Current Position" and "Target Position". If "Current Position" > "Target Position" it displays "Closing", if "Current Position" < "Opening" and if they are the same, it displays the current value as %.Is this how it is supposed to work? Am I missing something?I intend to connect a real accessory via Home Kit Protocol that can be controlled in two ways:a) by changing the moving direction (up, down, stop)b) setting a desired target positionWith the above observations this leads to the following questions:1. If I set a target position on the accessory, the accessory will a) broadcast the change to "Target Position" and b) broadcast a series of changes to "Current Position" until it has reached the desired target position. This is properly reflected in the Home App when viewing the control in its small form (Showing "Opening" or "Closed"). Is there any way to make this process visible in the Home App when the the control is opened in full screen as well? As far as I could see it will jump right to the "Target Position" in the slider and not show anything regarding the updates to "Current Position" - even when opening the "Details" dialog.2. If I change the accessory by using directional controls, the accessory will a) broadcast the change to "Position State" and b) broadcast a series of changes to "Current Position" until it is stopped again. It will NOT broadcast a change to "Target Position", since it is not known when just using directional interaction. This leads to a problem in the Home App. Since the App does NOT check the "Position State", but calculates the value by itself, it ends up with inverted directions when "Current Position" starts changing without changes to "Target Position".Example: Blind is fully closed ("Current Position" and "Target Position" both being 0). Now the accessory is changed by using directional controls to open. This leads i.e. to "Current Position" to change to 5. Now the Home App does it's math (now "Current Position" > "Target Position") and displays "Closing", which is wrong.Is there a way to get the Home App to properly display the direction by examining the "PositionState" characteristic?Please let me know, if you need any additional information - I'll be happy to provide it.Thanks in advance,Kind regards,Michael.
3
0
4.4k
Jul ’22
kRTCReportingSessionInfoClientBundleID Error writing HomeKit Characteristic Value
In my app I'm writing the value of a characteristic (the value written is a string). When I write this characteristic with this code: characteristic.writeValue(uuidString) { error in } The error message below is printed to the debug console. The value *is* written, it seems. If I follow up with the following readValue, the characteristic.value is correct. characteristic.readValue { error in print(characteristic.value) } I can't find a reference to what this error root cause is, or how to "specify the bundle id" for the referenced key value. Does anyone know what this means--and is it something I need to address before shipping the app (and how to do that)? 2021-05-17 14:29:14.321834-0400 XXXXXX[3509:2934697] validateSessionInfo: bundleID is invalid. Please specify the bundleID for kRTCReportingSessionInfoClientBundleID
5
0
2.1k
Jul ’22
Home app unresponsive and stuck in update
Hi there, the home app on my phone is unresponsive. I am unable to select add new device as it goes back to main window without opening new device window after selecting new device. I am unable to make any changes as they all revert back when I reopen the app and I m unable to remove home from the iPhone app. home works on my iPad and I have even removed home using my iPad but on my iPhone it still shows the same home with devices stuck in updating. So the app is not updating via iCloud. i have tried signing out of iCloud on my phone, restarting, switching off all devices and remove home from iPhone but selecting it doesn’t remove home. It still stays locked into the same home with devices that are still saying updating. I am also unable to delete the app as I am unable to remove the home pod from the app itself. When I select remove accessory from within the app nothing happens and I have already removed the home pod mini using my iPad. So the app is frozen and due to this I am unable to delete the app itself as I get a message to first remove any home pod before deleting and no option to delete anyway. has anyone else had this specific issue?
0
0
648
Jul ’22
How can sync devices from my iOS Application to Apple Home
I am Switch Manufacturer, I have an iOS application, where all switches can operate, it is light or fan now. I also have Alexa skill and Google Home Action where I operate devices through echo devices. Now I need to develop and operate the device from Siri for that I need to sync devices from the Application to Apple Home. Can you please guide how I can start? or which SDK I need to use for development?
0
0
502
Jun ’22
Window cover homekit (ADK)
I am trying to build windows cover sample from adk 6.1 and after adding to homekit I got the error that this device is not compatible with homekit. I have found one bug that primary service was false, but changing it to true doesn't works :/ does anyone has the same problem ?
0
0
606
Jun ’22
HomeKit is broken on macOS Ventura
If you build any HomeKit app against the iOS 16 / macOS Ventura SDK with Mac Catalyst (or run it with the Designed for iPhone / iPad destination on Apple Silicon) they are broken and the HMHomeManagerDelegate.homeManagerDidUpdateHomes() method is never called on the manager delegate. This is an issue since macOS Ventura Beta 1 and keeps happening on Beta 3. Any idea how to solve this issue?
Replies
7
Boosts
0
Views
2.5k
Activity
Sep ’22
Connecting to Matter device on iOS 16
Hi, Was anybody able to connect Matter device with iOS 16 phone? I've tried ESP32 board with m5stack. The ESP32 device was in commissioning mode, but Apple Home app was not recognising it (neither by QR code nor as nearby device).
Replies
5
Boosts
1
Views
4.6k
Activity
Sep ’22
HomeKit Certification Test Case TCR034
The colors of led indicator mentioned are blue and red, but we are currently using blue and orange. I like to confirm that is it mandatory to be blue/red, or we can keep blue/orange instead and use orange led to follow the behavior of red led in the test case?
Replies
0
Boosts
0
Views
1.1k
Activity
Sep ’22
Home app stuck on “loading accesories and scenes”
i tried numerous options in trying to fix it. left it open aver the night, i read somewhere that after a long time it will appear a option that is taking to long and i can press reset, but after almost 10 hours, nothing popped up. i tried deactivating the icloud synt to Home. no help i tried off and on keychain, still no halp i tried hard reboot after uninstalling and after the reboot reinstalled the home app, still no help i tried reinstalling the os on my phone, from scratch, no help -i tried updating to ios 16 beta, stil no help i really don’t know what my next step should be in fixing this issue from my wife’s iphone the home that i shared with her works perfectly fine, on my 2 devices(iphone 14 and a iphone 7) when i try to open it get stuck in loading app and scenes. please help
Replies
0
Boosts
1
Views
900
Activity
Sep ’22
Is HomeKit Temperature Sensor Resolution ±0.5 °C ?
Hi, I am using Homebridge on Raspberry Pi platform to get temperature from my sensors. I successfully update temperature data from Raspberry Pi to HomeKit application on my iPhone. The problem is, even I update temperature value using 0.1 °C resolution (like 23.3, 23.4, 23.5, 23.6) HomeKit just shows this values 0.5 °C resolution (like 23.0, 23.0, 23.5, 23.5 respectively). Is there any way to decrease rosolution to 0.1 °C ? Many thank for help. Regards,
Replies
2
Boosts
0
Views
2.2k
Activity
Sep ’22
Is there a full documentation about HomeKit integration in an app?
I would like to create a personal SwiftUI app to control my RGB HomeKit-compatible led strip. I found this on Apple Developer Documentation but is reductive. I downloaded the app example but it's developed in UIKit and without an appropriate documentation is difficult to apply. My difficult is especially in how to create HomeKit models to manage homes, rooms, accessory and above all how to comunicate with the led strip. My idea is to create a page when setting manually RGB parameters with three slider and some buttons with some effects. I attach an imaged to show you my idea: So, is there somewhere more accurate documentation that I can follow? Thanks in advance!
Replies
1
Boosts
0
Views
687
Activity
Aug ’22
Matter API names (renamed)
Hi, The WWDC2021 Video Add support for Matter in your smart home app has a bunch of code examples referencing APIs that are no longer present or deprecated, e.g. this one. Unfortunately the documentation doesn't give any hint on the replacement APIs. Most of them are to be found in HMMatter* objects. But in the video at 14:27 an API for CHIPDeviceController is shown. Unfortunately that one cannot be found anymore. Does anybody know how to achieve the described task (managing state and control of a matter accessory)
Replies
1
Boosts
0
Views
2.3k
Activity
Aug ’22
HomePod Mini Beta 16
HomePod Mini Beta 16 has disabled Personal Requests. "Sorry, I'm still setting up Personal Requests on this device" is Siri's response for over a week since downloading the beta for HomePod Mini when the public beta was released. Have Reset, changed settings, Removed Accessory, all to no avail. Even tried to set to factory defaults by connecting to the iMac and erasing, but couldn't connect to server for "16." Anyone else have this problem? Is there something I'm missing, or is it a result of the Beta? Personal Requests worked flawlessly prior to Public Beta 16 download. I have a large HomePod (the original) running 15.6 with no problems. Would be content to wipe the device and go back to ground zero if I were able.
Replies
3
Boosts
0
Views
949
Activity
Aug ’22
MFI portal login fail
I am trying to login to mfi.apple.com to check some information about Homekit compatible product development. When I log in after 2FA I get redirected to the page https://mfi.apple.com/account/new-enrollment and I stuck there until browser timeout. I have tried logging in with both Edge and Chrome and also different laptops using different developer account in our company and get the same result. May I know is the MFI portal down now or it's just us?
Replies
1
Boosts
0
Views
944
Activity
Aug ’22
Does Home app support creation of Matter groups?
Hi, I commissioned an ESP32C3 device running Matter using the Home app. The iPhone is on iOS version 16 beta 2. For this I used the all-clusters-app/esp32 example from the connectedhomeip repo. Commit ID for connectedhomeip: cfc35951be66a664a6efdadea56d1b8ea6e63e96 I cannot on the accessory screen see any option to create matter groups. Is there any such option available on the home app? Thanks, Ajay Gantayet
Replies
0
Boosts
0
Views
1k
Activity
Jul ’22
HMErrorDomain code 10 on AppleTV
Hi, I have an app where i am controlling various homekit devices. I runs on AppleWatch, iPhone/iPad and AppleTV. I use the exact same code on all platforms for locking and unlocking a Danalock V3 Homekit verison door lock. I workes fine on all platforms but the AppleTV. There i get error 10 ("No access") when calling ".characteristic.writeValue" . All other Homekit devices i have works on the AppleTV. Any idea what could cause the error? Magne Roald Oslo, Norway
Replies
1
Boosts
1
Views
695
Activity
Jul ’22
ADK doesn't have NFCAccess characteristics
Hello everyone, I'm trying to look for documentation to implement Home Key, but unfortunately I haven't found anything. In the ADK and HAP noncommercial doc there aren't any mentions of NFCAccess and such. Only mentions I've found are in the NodeHAP (https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.9.5), nrchkb (https://nrchkb.github.io/wiki/service/nfcaccess/#characteristics) and a Nordic semi devzone post where it mentions the files (HAPRequestHandlers+NfcAccess.c) in the logs (https://devzone.nordicsemi.com/f/nordic-q-a/78335/keil-internal-fault-0xb3b91b-5060750) Is Home Key MFi only for now? Thanks, David.
Replies
0
Boosts
0
Views
661
Activity
Jul ’22
XCode signing says NSHomeKitUsageDescription not supplied, how do I do that?
I get the error: "Provisioning profile "iOS Team Provisioning Profile: xxx.xxx.homekitexporter" doesn't include the NSHomeKitUsageDescription entitlement." I have HomeKit enabled in the .entitlements file and I added the NSHomeKitUsageDescription to that also. I looked at the profile under my development account and I can see the HomeKit entitlement but I see nowhere to add the usage description key and string other than in the .entitlements file. I also tried adding the key and string to the Custom IOS Properties for my Target APP but that didn't work either. What am I missing?
Replies
8
Boosts
0
Views
1.6k
Activity
Jul ’22
Window Covering and Home App Problems
Hi guys,I've been working on getting some accessories working nicely with the Home App. When dealing with Window Coverings I came across some observations that don't seem to make sense to me and I'd be very thankful if someone would either confirm those observations or tell me, where I am going wrong.Summary: The Home App does not seem to properly use/display the available characteristics for the "Window Covering" serviceThe accessory uses a "Window Covering" service with the default characteristics (Current Position, Target Position, Position State) as well as two optional ones (Target Horizontal Tilt Angle & Current Horizontal Tilt Angle) and has been setup in the HomeKit Accessory Simulator.After adding the accessory to the Home App on my iPad (iOS11.1.2) it properly shows up and I can interact with it while observing the changes in real time in the Simulator.Now for my observations:1. The Home App does NOT show the value of "Current Position" anywhere - the only thing that is displayed is "Target Position"2. The Home App does NOT show the value of "Position State" anywhere - it derives the current state from the delta of "Current Position" and "Target Position". If "Current Position" > "Target Position" it displays "Closing", if "Current Position" < "Opening" and if they are the same, it displays the current value as %.Is this how it is supposed to work? Am I missing something?I intend to connect a real accessory via Home Kit Protocol that can be controlled in two ways:a) by changing the moving direction (up, down, stop)b) setting a desired target positionWith the above observations this leads to the following questions:1. If I set a target position on the accessory, the accessory will a) broadcast the change to "Target Position" and b) broadcast a series of changes to "Current Position" until it has reached the desired target position. This is properly reflected in the Home App when viewing the control in its small form (Showing "Opening" or "Closed"). Is there any way to make this process visible in the Home App when the the control is opened in full screen as well? As far as I could see it will jump right to the "Target Position" in the slider and not show anything regarding the updates to "Current Position" - even when opening the "Details" dialog.2. If I change the accessory by using directional controls, the accessory will a) broadcast the change to "Position State" and b) broadcast a series of changes to "Current Position" until it is stopped again. It will NOT broadcast a change to "Target Position", since it is not known when just using directional interaction. This leads to a problem in the Home App. Since the App does NOT check the "Position State", but calculates the value by itself, it ends up with inverted directions when "Current Position" starts changing without changes to "Target Position".Example: Blind is fully closed ("Current Position" and "Target Position" both being 0). Now the accessory is changed by using directional controls to open. This leads i.e. to "Current Position" to change to 5. Now the Home App does it's math (now "Current Position" > "Target Position") and displays "Closing", which is wrong.Is there a way to get the Home App to properly display the direction by examining the "PositionState" characteristic?Please let me know, if you need any additional information - I'll be happy to provide it.Thanks in advance,Kind regards,Michael.
Replies
3
Boosts
0
Views
4.4k
Activity
Jul ’22
kRTCReportingSessionInfoClientBundleID Error writing HomeKit Characteristic Value
In my app I'm writing the value of a characteristic (the value written is a string). When I write this characteristic with this code: characteristic.writeValue(uuidString) { error in } The error message below is printed to the debug console. The value *is* written, it seems. If I follow up with the following readValue, the characteristic.value is correct. characteristic.readValue { error in print(characteristic.value) } I can't find a reference to what this error root cause is, or how to "specify the bundle id" for the referenced key value. Does anyone know what this means--and is it something I need to address before shipping the app (and how to do that)? 2021-05-17 14:29:14.321834-0400 XXXXXX[3509:2934697] validateSessionInfo: bundleID is invalid. Please specify the bundleID for kRTCReportingSessionInfoClientBundleID
Replies
5
Boosts
0
Views
2.1k
Activity
Jul ’22
Home app unresponsive and stuck in update
Hi there, the home app on my phone is unresponsive. I am unable to select add new device as it goes back to main window without opening new device window after selecting new device. I am unable to make any changes as they all revert back when I reopen the app and I m unable to remove home from the iPhone app. home works on my iPad and I have even removed home using my iPad but on my iPhone it still shows the same home with devices stuck in updating. So the app is not updating via iCloud. i have tried signing out of iCloud on my phone, restarting, switching off all devices and remove home from iPhone but selecting it doesn’t remove home. It still stays locked into the same home with devices that are still saying updating. I am also unable to delete the app as I am unable to remove the home pod from the app itself. When I select remove accessory from within the app nothing happens and I have already removed the home pod mini using my iPad. So the app is frozen and due to this I am unable to delete the app itself as I get a message to first remove any home pod before deleting and no option to delete anyway. has anyone else had this specific issue?
Replies
0
Boosts
0
Views
648
Activity
Jul ’22
How does one acquire and install HomePod beta software for testing?
How does one acquire and install HomePod beta software for testing?
Replies
1
Boosts
0
Views
944
Activity
Jun ’22
How can sync devices from my iOS Application to Apple Home
I am Switch Manufacturer, I have an iOS application, where all switches can operate, it is light or fan now. I also have Alexa skill and Google Home Action where I operate devices through echo devices. Now I need to develop and operate the device from Siri for that I need to sync devices from the Application to Apple Home. Can you please guide how I can start? or which SDK I need to use for development?
Replies
0
Boosts
0
Views
502
Activity
Jun ’22
Response about ThreadNetwork Framework Entitlement Request
Hi, Please take a response to me about my ThreadNetwork Framework Entitlement Request. I have requested 2 times but i didn't get any repsonses. Please check my case and leave a response as soon as. Thanks,
Replies
0
Boosts
0
Views
1.1k
Activity
Jun ’22
Window cover homekit (ADK)
I am trying to build windows cover sample from adk 6.1 and after adding to homekit I got the error that this device is not compatible with homekit. I have found one bug that primary service was false, but changing it to true doesn't works :/ does anyone has the same problem ?
Replies
0
Boosts
0
Views
606
Activity
Jun ’22