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

Posts under HomeKit tag

200 Posts

Post

Replies

Boosts

Views

Activity

IP Subnets / VLANs / Network Segmentation
I can't seem to find any details on how communication really happens in homekit, is there a session diagram somewhere? I would like to create an app, but want to undestand this question.I have configured my home/testing lab with several networks/subnets on VLANs, and my Homekit devices are in my internet-of-things (IOT), and segmented for security reasons into their own network. I have created firewall rules to allow my computers and iOS devices/Homekit Hubs to initiate IP sessions through to the IOT network, but disallow (new) connections from IOT to the other VLANs. I also have mDNS reflection configured to rebroadcast across the VLAN boundaries. This appears to mostly work, but occasionally have accessories go "Unresponsive" and can't tell if that's because they truly need to be able to initiate a IP conversation/session or if their WiFi connection is just unreliable as many Accessories seem to do just fine.So, can anyone answer:Do all Sessions initiate from the iPad/iPhone/HomePod/AppleTV, or do the Accessories need be able to initiate? If so, I'll have to move them out of the IOT network, but I was really hoping to avoid that.Thanks for any pointers!Brett
1
0
3.3k
Jan ’23
Im interested to make HomeKit enabled accessory
As I’m interested to make HomeKit accessory while searching in the internet i found out that hobbyist can make HomeKit accessary without MFI license the link is given below https://mfi.apple.com/en/who-should-join.html but it says to download HAP Specification which is pdf containing all the information regarding interacting with Apple devices with HomeKit Accessories but im not able to see any pdf in the give link can anyone say where will be the pdf is present to download Thank you in advance
2
0
1.3k
Jan ’23
Remote control for iPad from BLE device
I need to implement a remote control for a SwiftUI app running on iPad. I would need to handle 2 different events like Start / Stop. On software side, I plan to use .onReceive to listen to BLE device. So my questions: I need realtime reaction (a few 1/100 s max) can any BLE remote control do the job ? If anyone has tested some low cost remote, I am interested to know. Or should I look for Homekit solutions ? Or use an iPhone as remote controller ?
0
0
1.1k
Dec ’22
HomeKit CircleView Logitech Camera Data
I was hoping someone could tell me how I could acquire the Circle View Camera feed from my home in Oklahoma City. I would like to use that feed data for the development of some new ideas. I am not opposed of using or purchasing software in order to gain access. Just haven't had much luck when seeking more information on this information. Thank you for any guidance in advance -
0
0
684
Dec ’22
HomeKit Camera Streaming Not Working in Swift
0 I've tried building a simple HomeKit app to stream video from a HomeKit Camera and while it appears to be working - the stream is not showing on the View Controller. Any help appreciated. @IBOutlet weak var liveStreamView: HMCameraView! // var liveStreamView: HMCameraView? func startCameraStream(for accessory: HMAccessory) { // Ensure this is a camera accessory guard let cameraStreamControl = accessory.cameraProfiles?.first?.streamControl else { return } cameraStreamControl.delegate = self cameraStreamControl.startStream() let liveStreamView = HMCameraView() self.view.addSubview(liveStreamView) self.liveStreamView = liveStreamView self.liveStreamView.cameraSource = cameraStreamControl.cameraStream self.liveStreamView?.setNeedsDisplay() self.view.layoutIfNeeded() } extension ViewController: HMCameraStreamControlDelegate { func cameraStreamControlDidStartStream(_ cameraStreamControl: HMCameraStreamControl) { liveStreamView?.cameraSource = cameraStreamControl.cameraStream } }
0
0
821
Dec ’22
New HomeKit devices won't connect to Wifi. Confirmed with Eero the devices are sending a bad password
Hi, I have a network with 20+ HomeKit devices and I am very familiar with the technical details here. I have three different brands of SmartPlugs that I cannot get to setup and connect to my Eero network. (WeMo, Meross, TP Link). All are failing to join the network. I spoke with Eero, and they confirmed that all of the devices are attempting to join but sending a bad password. It appears that Apple is passing off a bad password to these devices during the HomeKit setup process, and they never are able to join the Network. I am currently running iOS 16.1.1. I'm about to update to a beta to see if there is any difference there. The Wifi password do not contain any special characters. Does anyone have anymore troubleshooting insight here?
5
1
2.7k
Dec ’22
AirTag Homekit Integration to Trigger Automations / Famili usage.
Hi, would like to Have AirTags into HomeKit or Shortcuts to trigger automations. So we can Take our Car Key and bikes to be showed at home. May we can Trigger Automations. The Kids can Carry a AirTag with their schoolbag and they can trigger automations with their AirTag. Please make it possible to get the AirTag into our Family release. Get every day messages when using the car key of my wife that an AirTag is with me! So my wife and I can see where the car key is located. Thanks
0
0
1k
Dec ’22
HomeKit Restriction for Children
Hi, I would like some Options for Kids in our HomeKit. We Work a lot with smart home and HomeKit. But would wish a lot of more HomeKit features as Family. Kids Account an voice with more Restictions that I can choose as Adult. Select Service / Device or Time for the Children when they are allowed to use Siri. Not allowed to Lock the door ... and many more Things! I hope that the HomeKit will not be a place for a single nerd. Please make HomeKit more Family Friendly. Integrate the AirTags into HomeKit. We can do a lot of testing for you, so feel Free to contact us. Thanks... we have: 8x HomePod mini Tv4k Iphone 14 Pro Iphone 12 Pro 2x Watch4 2x iPad 6x AirTag MacBook Pro 14 M1 MacBook Air 13 M1
0
0
1.8k
Dec ’22
HomeKit Controller not exposing LUX sensor for Aqara devices
Hi, I would like to use the illuminance sensor value of my Aqara Motion Sensor P1 device in Home Assistant. The HomeKit Controller integration already makes it possible to connect the device and use its motion sensor, but it seems like HomeKit Controller does not expose the illuminance sensor of the device according to this closed issue from the Home Assistant repository: https://github.com/home-assistant/core/issues/77379 I can confirm that the native Aqara app supports the illuminance sensor and automations can be created according to its value. Please see attached the diagnostic data of my device integration: HomeAssistant Aqara Motion Sensor P1 diagnostic data The Illuminance Sensor node is missing from the data.device.entities block. Kind regards, Marcell
0
1
1.6k
Nov ’22
Any way to reset HomeKit for one iOS device only?
I share my HomeKit config over iCloud to two devices: an iPhone and an iPad. At some point, through adding and changing some devices, I wound up with a corruption on the iPad alone. A Lutron SmartBridge and all of its devices are fully reachable on my iPhone. On my iPad, the bridge and all devices are "not reachable." I cannot delete the bridge from the iPad as it comes right back. If I delete it on my iPhone, it remains on the iPad. I know I could resolve this if I reset the HomeKit configuration in the privacy settings. However, this would reset the config on my iPhone as well. I don't want to do that because I have over 100 devices, and it would be a nightmare to setup again. Here's a video showing some of them: https://youtu.be/-2kc6M1fJPE Having to reset the entire HomeKit configuration due to these minor problems is going to become unfeasible for users the more devices they have. (One should not have to blow up the entire thing every time there's a problem, but I disgress). This problem survived restoring from a backup what I got my new iPad pro instead of the iPad air too I had before. suppose I could do a clean restore on my iPad. But that, too, is more than I want to do. Does anyone know precisely where in the filesystem this HomeKit data is stored? One can sometimes manipulate data in their iTunes backups using a tool like iBackupBot: http://9to5mac.com/2016/04/09/how-to-backup-restore-sms-texts-imessages-clean-ios-install/ I'm wondering if I could back up my iPad, delete the folder containing the HomeKit configuration from just the iPad, then restore that back up. At that point maybe it would repopulate the correct data.
3
0
12k
Oct ’22
HomeKit HAP Software Token Authentication - how to enforce uniqueness of UUID
Hi, we are developing a HomeKit device which will use Software Tokens for provisioning. In the Software Token Authentication Server Specification, section 3.2.1 we as developers are required to generate a UUID which is linked to a Software Token. It is required to enforce UUID uniqueness and also that UUIDs which have been used need to be deleted from our server. How do we enforce UUID uniqueness? Should we just rely on the fact, that the probability of two UUIDs colliding is very small? Or should we check for collisions by comparing a new UUID with all past UUIDs that were issued? For this to be possible, we need to hold all issued UUIDs on our server.
0
0
1.1k
Oct ’22
12v lighting control
Does anyone know of a controller and remote that could be used to turn on and off a 12v led light?
Replies
0
Boosts
0
Views
960
Activity
Jan ’23
IP Subnets / VLANs / Network Segmentation
I can't seem to find any details on how communication really happens in homekit, is there a session diagram somewhere? I would like to create an app, but want to undestand this question.I have configured my home/testing lab with several networks/subnets on VLANs, and my Homekit devices are in my internet-of-things (IOT), and segmented for security reasons into their own network. I have created firewall rules to allow my computers and iOS devices/Homekit Hubs to initiate IP sessions through to the IOT network, but disallow (new) connections from IOT to the other VLANs. I also have mDNS reflection configured to rebroadcast across the VLAN boundaries. This appears to mostly work, but occasionally have accessories go "Unresponsive" and can't tell if that's because they truly need to be able to initiate a IP conversation/session or if their WiFi connection is just unreliable as many Accessories seem to do just fine.So, can anyone answer:Do all Sessions initiate from the iPad/iPhone/HomePod/AppleTV, or do the Accessories need be able to initiate? If so, I'll have to move them out of the IOT network, but I was really hoping to avoid that.Thanks for any pointers!Brett
Replies
1
Boosts
0
Views
3.3k
Activity
Jan ’23
HomePod stuck on downloading update
Our HomePod minis are stuck downloading 14.5 yet the software version number shows 14.5. Any suggestions how to stop the download / update
Replies
14
Boosts
3
Views
24k
Activity
Jan ’23
Im interested to make HomeKit enabled accessory
As I’m interested to make HomeKit accessory while searching in the internet i found out that hobbyist can make HomeKit accessary without MFI license the link is given below https://mfi.apple.com/en/who-should-join.html but it says to download HAP Specification which is pdf containing all the information regarding interacting with Apple devices with HomeKit Accessories but im not able to see any pdf in the give link can anyone say where will be the pdf is present to download Thank you in advance
Replies
2
Boosts
0
Views
1.3k
Activity
Jan ’23
Homekit Accessory Develop on Ventura
After i update macOS to Ventura, I found it could not open Homekit Accessory Tester. The error message show 'Could not obtain authorization to capture network traffic'. I have tried to run app from terminal with sudo, but it did not work.
Replies
0
Boosts
0
Views
714
Activity
Dec ’22
HomeKit Accessory Tester could not be installed
Prompt during installation: Could not obtain authorization to capture network traffic. Please close this application and run the “Uninstall_TKCaptureAssistant.sh” script included in the zip file containing this version of the tool.Then after I run this file, I still can't install the program
Replies
4
Boosts
0
Views
1.7k
Activity
Dec ’22
Remote control for iPad from BLE device
I need to implement a remote control for a SwiftUI app running on iPad. I would need to handle 2 different events like Start / Stop. On software side, I plan to use .onReceive to listen to BLE device. So my questions: I need realtime reaction (a few 1/100 s max) can any BLE remote control do the job ? If anyone has tested some low cost remote, I am interested to know. Or should I look for Homekit solutions ? Or use an iPhone as remote controller ?
Replies
0
Boosts
0
Views
1.1k
Activity
Dec ’22
Matter.framework API
I don't find any API documentation of the Matter.framework. Is it going to be private or can we use it to create custom controllers, which are independent of HomeKit?
Replies
1
Boosts
0
Views
1.5k
Activity
Dec ’22
Where to find HomeKey documentation?
Just wondering if anyone has found any documentation pertaining to Apple HomeKey? I've looked around and haven't been able to find much out there, though some products are being released utilizing them.
Replies
0
Boosts
1
Views
1.1k
Activity
Dec ’22
HomeKit CircleView Logitech Camera Data
I was hoping someone could tell me how I could acquire the Circle View Camera feed from my home in Oklahoma City. I would like to use that feed data for the development of some new ideas. I am not opposed of using or purchasing software in order to gain access. Just haven't had much luck when seeking more information on this information. Thank you for any guidance in advance -
Replies
0
Boosts
0
Views
684
Activity
Dec ’22
HomeKit Camera Streaming Not Working in Swift
0 I've tried building a simple HomeKit app to stream video from a HomeKit Camera and while it appears to be working - the stream is not showing on the View Controller. Any help appreciated. @IBOutlet weak var liveStreamView: HMCameraView! // var liveStreamView: HMCameraView? func startCameraStream(for accessory: HMAccessory) { // Ensure this is a camera accessory guard let cameraStreamControl = accessory.cameraProfiles?.first?.streamControl else { return } cameraStreamControl.delegate = self cameraStreamControl.startStream() let liveStreamView = HMCameraView() self.view.addSubview(liveStreamView) self.liveStreamView = liveStreamView self.liveStreamView.cameraSource = cameraStreamControl.cameraStream self.liveStreamView?.setNeedsDisplay() self.view.layoutIfNeeded() } extension ViewController: HMCameraStreamControlDelegate { func cameraStreamControlDidStartStream(_ cameraStreamControl: HMCameraStreamControl) { liveStreamView?.cameraSource = cameraStreamControl.cameraStream } }
Replies
0
Boosts
0
Views
821
Activity
Dec ’22
New HomeKit devices won't connect to Wifi. Confirmed with Eero the devices are sending a bad password
Hi, I have a network with 20+ HomeKit devices and I am very familiar with the technical details here. I have three different brands of SmartPlugs that I cannot get to setup and connect to my Eero network. (WeMo, Meross, TP Link). All are failing to join the network. I spoke with Eero, and they confirmed that all of the devices are attempting to join but sending a bad password. It appears that Apple is passing off a bad password to these devices during the HomeKit setup process, and they never are able to join the Network. I am currently running iOS 16.1.1. I'm about to update to a beta to see if there is any difference there. The Wifi password do not contain any special characters. Does anyone have anymore troubleshooting insight here?
Replies
5
Boosts
1
Views
2.7k
Activity
Dec ’22
HomePod mini flashing orange after Update 16.2 Beta 4
Hello everyone, I updated today my HomePod mini to 16.2 Beta 4 and after that my HomePod mini is in flashing orange light. I tried to change the power adapter and the socket, but it is still flashing. Next I connected it to the Mac and tried to reset the HomePod, but it wasn't possible. Any idea? Greetings and thx.
Replies
1
Boosts
0
Views
894
Activity
Dec ’22
AirTag Homekit Integration to Trigger Automations / Famili usage.
Hi, would like to Have AirTags into HomeKit or Shortcuts to trigger automations. So we can Take our Car Key and bikes to be showed at home. May we can Trigger Automations. The Kids can Carry a AirTag with their schoolbag and they can trigger automations with their AirTag. Please make it possible to get the AirTag into our Family release. Get every day messages when using the car key of my wife that an AirTag is with me! So my wife and I can see where the car key is located. Thanks
Replies
0
Boosts
0
Views
1k
Activity
Dec ’22
HomeKit Restriction for Children
Hi, I would like some Options for Kids in our HomeKit. We Work a lot with smart home and HomeKit. But would wish a lot of more HomeKit features as Family. Kids Account an voice with more Restictions that I can choose as Adult. Select Service / Device or Time for the Children when they are allowed to use Siri. Not allowed to Lock the door ... and many more Things! I hope that the HomeKit will not be a place for a single nerd. Please make HomeKit more Family Friendly. Integrate the AirTags into HomeKit. We can do a lot of testing for you, so feel Free to contact us. Thanks... we have: 8x HomePod mini Tv4k Iphone 14 Pro Iphone 12 Pro 2x Watch4 2x iPad 6x AirTag MacBook Pro 14 M1 MacBook Air 13 M1
Replies
0
Boosts
0
Views
1.8k
Activity
Dec ’22
After HomeKit update and upgrade; can't pair WEMO Modules
WEMO modules won't connect to HomeKit (or the WEMO app) after the 16.2 beta 1 update and the HomeKit updates. Is this a known Bug? Any solutions? Thanks
Replies
1
Boosts
0
Views
981
Activity
Nov ’22
HomeKit Controller not exposing LUX sensor for Aqara devices
Hi, I would like to use the illuminance sensor value of my Aqara Motion Sensor P1 device in Home Assistant. The HomeKit Controller integration already makes it possible to connect the device and use its motion sensor, but it seems like HomeKit Controller does not expose the illuminance sensor of the device according to this closed issue from the Home Assistant repository: https://github.com/home-assistant/core/issues/77379 I can confirm that the native Aqara app supports the illuminance sensor and automations can be created according to its value. Please see attached the diagnostic data of my device integration: HomeAssistant Aqara Motion Sensor P1 diagnostic data The Illuminance Sensor node is missing from the data.device.entities block. Kind regards, Marcell
Replies
0
Boosts
1
Views
1.6k
Activity
Nov ’22
HomePod Software Update Required (16.2)
I've been unsuccessful updating HomePod software, required to migrate to the new architecture. I have 4 original HomePods and one mini. It doesn't appear to see all of the devices. Anybody have any luck with a similar situation?
Replies
1
Boosts
0
Views
923
Activity
Oct ’22
Any way to reset HomeKit for one iOS device only?
I share my HomeKit config over iCloud to two devices: an iPhone and an iPad. At some point, through adding and changing some devices, I wound up with a corruption on the iPad alone. A Lutron SmartBridge and all of its devices are fully reachable on my iPhone. On my iPad, the bridge and all devices are "not reachable." I cannot delete the bridge from the iPad as it comes right back. If I delete it on my iPhone, it remains on the iPad. I know I could resolve this if I reset the HomeKit configuration in the privacy settings. However, this would reset the config on my iPhone as well. I don't want to do that because I have over 100 devices, and it would be a nightmare to setup again. Here's a video showing some of them: https://youtu.be/-2kc6M1fJPE Having to reset the entire HomeKit configuration due to these minor problems is going to become unfeasible for users the more devices they have. (One should not have to blow up the entire thing every time there's a problem, but I disgress). This problem survived restoring from a backup what I got my new iPad pro instead of the iPad air too I had before. suppose I could do a clean restore on my iPad. But that, too, is more than I want to do. Does anyone know precisely where in the filesystem this HomeKit data is stored? One can sometimes manipulate data in their iTunes backups using a tool like iBackupBot: http://9to5mac.com/2016/04/09/how-to-backup-restore-sms-texts-imessages-clean-ios-install/ I'm wondering if I could back up my iPad, delete the folder containing the HomeKit configuration from just the iPad, then restore that back up. At that point maybe it would repopulate the correct data.
Replies
3
Boosts
0
Views
12k
Activity
Oct ’22
HomeKit HAP Software Token Authentication - how to enforce uniqueness of UUID
Hi, we are developing a HomeKit device which will use Software Tokens for provisioning. In the Software Token Authentication Server Specification, section 3.2.1 we as developers are required to generate a UUID which is linked to a Software Token. It is required to enforce UUID uniqueness and also that UUIDs which have been used need to be deleted from our server. How do we enforce UUID uniqueness? Should we just rely on the fact, that the probability of two UUIDs colliding is very small? Or should we check for collisions by comparing a new UUID with all past UUIDs that were issued? For this to be possible, we need to hold all issued UUIDs on our server.
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’22