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

Posts under HomeKit tag

200 Posts

Post

Replies

Boosts

Views

Activity

Reading Contact Senor
Hi, I'm looking at creating an app that monitors a specific HomeKit contact sensor and when it opens have it trigger different notification depending on how many times it's been opened within 24 hours. I've read conflicting information if that is possible within HomeKit due to security. Is it possible to read a HomeKit accessory like that? If so do you have any suggestions on how to? Thank you!
0
0
493
Jun ’22
Homepod Mini will not reset or update
Hi, I recently purchased a HomePod mini. It worked perfectly, appeared in the Home app, configuring it worked well, and it also downloaded the latest update. I then powered it down and moved it to a different location in the same room (where the WiFi coverage is still excellent), but when it came back up it seemed as though it was "confused". It could no longer set timers or alarms, sometimes became confused with "Scenes" and can no longer recognise individuals, or be trained with their voices. It can still (usually) play music (but only mine as the prime account holder), set Lighting scenes, tell the time, date and weather etc, basic Siri stuff. I have tried resetting it through the home app, however, the device does not show up in my favourites, nor anywhere else. It is still connected, as I see it under "Home Hubs and Bridges" I have tried resetting it by pressing and holding the touch surface both for a reset and a reset to factory settings, but nothing happens I have tried to reset it by plugging it into my Mac, but received the error message "The HomePod software update server could not be contacted. An unknown error occurred (-39)" I wish that there was a small reset button on the device that could be used for a hard-reset, is there perhaps one under the base? I think it may be bricked - any ideas on how to fix it, or should I return it while I still can? Thanks in advance, John
1
0
739
May ’22
Why can't my companion app connect to MFi
As of today my HomeKit companion app will not connect to MFi with the error "Unable to establish a direct connection to MFi. This is after I logged in with my developer credentials. This has worked previously. I am using the latest 2.0.1 companion app I have tried on 2 separate phones I have tried on a WiFi network with Internet access, and also with WiFi disabled using cellular data.
2
0
1.2k
May ’22
Can I stop HomeKit from turning on my air conditioner in winter?
If I say "Hey Siri, turn down the temperature" Siri will switch the thermostat from Heat Only to Auto and try to cool the house to the new temperature. It's currently -17 outside so I don't want it to do this, just lower the thermostat setting, nothing else. There must be a way to prevent Homekit from arbitrarily changing the thermostat's mode, especially without confirming it somehow.
1
1
1.7k
May ’22
in Swift how to get an outlet to work
Good day,I am just learnning Swift and from the beginning i want everything to work otherwise it's not going to work on biger projects.but I do understand what is going on I just can't get the X-Code to get unstuck from where it is.the outlet is not being reconized to make the conection to the code and I did my research and even put the code in-place ,before, making the conection yet, it did not work.it would be in the section on "Create Outlets for UI Elements", 'Outlets'Then on Step (#6) it shows to add a line of code below the class line ;// MARK: Propertiesthen you are to add the conection wiht a control+drag on the ViewController.swift. sheet .Also you can add a line of code under the //MARK Properities and it looks like this; @IBOutlet weak var nameTextField: UITextField! So as, you see I do understand what need to happen I just must be missing a step.Thank-you for any help,BrianI am using the Apple website for instructions so it has all the data layed out very good.https://developer.apple.com/library/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/Lesson3.html#//apple_ref/doc/uid/TP40015214-CH22-SW1Thankyou,Brian Helip
2
0
1.3k
May ’22
Using "Get Contents of URL" shortcut in HomeKit automations
I'm attempting to send an HTTP request when a motion sensor detects movement. I've setup the trigger in the Home app, and chose "Convert to Shortcut", now I'm trying to get the "Get contents of URL" shortcut action to work. I'm running the target web server (a little Node.js app) on my local network. I originally tried to use a simple http server, but was getting the error: An SSL error has occurred and a secure connection to the server cannot be made. Assuming that HomeKit was converting my http URL to https automatically I moved my service to a domain where I have LetsEncrypt setup, added support for simple token based auth via headers, and tried again. This time I got the error: A server with the specified hostname could not be found I triple checked my spelling, verified that the request worked from my Mac and iOS Safari, then concluded that the HomePod (my current home hub) doesn't do domain name resolution like I expect and I need to use an IP address instead. Since I can't get a LetsEncrypt cert for a local IP address I generated a self-signed certificate with the instructions outlined here: https://stackoverflow.com/a/24749608 I additionally installed the root CA on all my HomePods and my phone using a "DER format crt" also described in that post. Now I'm getting another error: The certificate for this server is invalid. You might be connecting to a server that is pretending to be "192.168.7.77" which could put your confidential information at risk. Installing root certs into my HomePods feels a little reckless, so I'm going to go reset them to factory settings and hope that someone here has some guidance as to what I need to do to make my service eligible for the "Get Contents of URL" shortcut. Thank you! A note for anyone trying to reproduce this: the errors I'm quoting are shown when you click the play button at the bottom of the shortcut editing/creation screen ("Home" app > "Automations" tab > "+" button > setup any trigger > "Convert To Shortcut" at the bottom of the action selector > "▶️" button). Clicking "Test automation" after creating the automation, or using the actual Shortcuts app will give misleading results.
14
0
7.4k
Apr ’22
Radiation readings in Apple Home app
Hi there, I have family living in Belarus, and would like to provide them with an easy way to measure/view environmental radiation. I have a setup for doing this: Sensor: DF Robot Geiger Counter SEN0463 Microcontroller: ESP32 HomeKit app: homekit-geiger-counter using HomeControl Result: I can add the Accessory to the Apple Home app, but it reports it as Not Supported. Would anyone at Apple be able to add two UUIDs so it is supported in the Apple Home app? Service UUID of type GeigerCounter Characteristic UUID of type Radiation I've linked to the code where I made up two UUIDs to test with. Then it'd be great to be able to display: CPM - counts per minute µSv/h - Microsieverts per hour Cheers, Simon. Cross-posted to Apple Feedback
2
0
1.3k
Apr ’22
HomeKit Not Working Through Shortcuts
I recently bought some smart outlets and nfc chips so that when I tap my phone to them my lights turn on. Although when I go to set up the automation on shortcuts it doesn’t work. I’m setting it up as “When NFC chip is scanned” ”If Outlet is On/Off” Then there is no option to change it. It just detects if it’s on or not and I can’t seem to find a way to have it detect it then change it.
1
0
898
Apr ’22
Telling Siri to turn off the lights makes my Apple TV pause!
Very recently my Apple TV started pausing anytime I turn off [HomeKit] connected lights in my house using Siri. It happens every time I tell Siri to turn off a light - whether using Siri on my HomePod, Apple Watch, or iPhone. I'm using the most current operating systems for all devices. It happens every time - no matter which light or lights I control. I have Hue lights and Sengled lights - both are affected the same way. Very very very frustrating. Any suggestions on how to solve this?
1
0
812
Apr ’22
HomeKit API Add Accessory Issue
Hi, Im having an issue adding an accessory into the HomeKit manager. Im having an issue with adding the accessory after discovering the device. Im using the HomeKit Accessory Simulator The error is: 2022-04-17 20:01:20.157053-0400 LightSwitch[98255:3066692] validateSessionInfo: bundleID is invalid. Please specify the bundleID for kRTCReportingSessionInfoClientBundleID 2022-04-17 20:01:20.210457-0400 LightSwitch[98255:3066692] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd} 2022-04-17 20:01:20.210791-0400 LightSwitch[98255:3066692] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd} Please see screenshot of the Xcode error
1
0
1.1k
Apr ’22
HomeKit Accessory Simulator - Unable to add accessory
Hello, I am unable to pair an iPhone with an test device from the HomeKit Accessory Simulator (HAS). I always get the contentless error message: "Unable to Add Accessory. An unknown error occurred." Things I checked: HAS is running on MacBook Pro newest version of macOS, all other apps are also up-to-date MacBook Pro is in the same network as the iPhone iPhone is also up-to-date, bluetooth is activated How can I resolve this problem or how can I even get some more useful information about what is causing the error? Something like a debug console on the iPhone or stuff like that. The console within HAS shows only messages for successful pairings. The failed pairing attempt doesn't show up. Thanks for your help.
1
0
769
Apr ’22
Privacy - HomeKit/HMD/ClientQueue
I found this coding in my data analytics: “Thread 3 name: Dispatch queue: com.apple.HomeKit.HMDCloudSettings.clientQueue.4404313360” I have never used HomeKit it was under “Homed - date.ips” in data does anyone know what HMD means or what client queue refers to? Can this relate to a Mac device??? any information would help me. Looking into security/privacy situation. thanks
0
0
584
Apr ’22
homekit hubs connected vs standby
Hello,I have a question about having two apple Tvs acting as homekit hubs. One of them is showing status as 'connected' and the other one is in Standby. I assume that the one on styandby can still be used by HomeKit Bluetooth devices to signal correct? if so, and both appleTvs are un range, how does the system decide what hyb processes the signal? additionally, what exactly is the differnece between connected and standby? I would like to understand better the standby status. What is what the hub can and cannot do while on standby.Thanks in advance!!
4
0
7k
Apr ’22
HomeKit addAndSetupAccessories always fails in simulator?
hi there, i've just started digging into developing for HomeKit, so it's quite possible i'm missing something (or this is expected?), but calling addAndSetupAccessories always fails instantly (no UI appears) when running in the simulator. the error is: addAndSetupAccessories got error Optional(Error Domain=HMErrorDomain Code=79 "Failed to add the accessory." UserInfo={NSLocalizedDescription=Failed to add the accessory.}) i'm running the HomeKit simulator with a home created + one standard lightbulb accessory added. if i run on device it works as expected (using my real homekit accessories) xcode: Version 12.0 beta 4 (12A8179i) homekit accessory simulator: Version 4.0 (135.3)
3
0
1.7k
Apr ’22
How to remove/reuse ghost homekit codes ?
I have to cases, one with netatmo Home coach, one with Tado Smart AC Control, where I'cant use my homekit code. The Homekit feedback is "accessory already added" and reset the accessory. But no way with reseting, I get the same Error: it is like a ghost homekit code. How can I reuse my accessory on Home ? It is not possible to delete the home account because it has more than a hundred accessories!
1
0
758
Apr ’22
Homekit + ESP8266
Hello, community I am developer from Ukraine and I am working on implementing new accessories to homekit. Can you please help me to find a link with list of all accessories avialible for developming? I need something like that, but with all the list of available accessories as light bulb, switch, locker etc. P.S. PTN PNH, Glory to Ukraine
0
0
1k
Mar ’22
Reading Contact Senor
Hi, I'm looking at creating an app that monitors a specific HomeKit contact sensor and when it opens have it trigger different notification depending on how many times it's been opened within 24 hours. I've read conflicting information if that is possible within HomeKit due to security. Is it possible to read a HomeKit accessory like that? If so do you have any suggestions on how to? Thank you!
Replies
0
Boosts
0
Views
493
Activity
Jun ’22
Homepod Mini will not reset or update
Hi, I recently purchased a HomePod mini. It worked perfectly, appeared in the Home app, configuring it worked well, and it also downloaded the latest update. I then powered it down and moved it to a different location in the same room (where the WiFi coverage is still excellent), but when it came back up it seemed as though it was "confused". It could no longer set timers or alarms, sometimes became confused with "Scenes" and can no longer recognise individuals, or be trained with their voices. It can still (usually) play music (but only mine as the prime account holder), set Lighting scenes, tell the time, date and weather etc, basic Siri stuff. I have tried resetting it through the home app, however, the device does not show up in my favourites, nor anywhere else. It is still connected, as I see it under "Home Hubs and Bridges" I have tried resetting it by pressing and holding the touch surface both for a reset and a reset to factory settings, but nothing happens I have tried to reset it by plugging it into my Mac, but received the error message "The HomePod software update server could not be contacted. An unknown error occurred (-39)" I wish that there was a small reset button on the device that could be used for a hard-reset, is there perhaps one under the base? I think it may be bricked - any ideas on how to fix it, or should I return it while I still can? Thanks in advance, John
Replies
1
Boosts
0
Views
739
Activity
May ’22
Why can't my companion app connect to MFi
As of today my HomeKit companion app will not connect to MFi with the error "Unable to establish a direct connection to MFi. This is after I logged in with my developer credentials. This has worked previously. I am using the latest 2.0.1 companion app I have tried on 2 separate phones I have tried on a WiFi network with Internet access, and also with WiFi disabled using cellular data.
Replies
2
Boosts
0
Views
1.2k
Activity
May ’22
Can I stop HomeKit from turning on my air conditioner in winter?
If I say "Hey Siri, turn down the temperature" Siri will switch the thermostat from Heat Only to Auto and try to cool the house to the new temperature. It's currently -17 outside so I don't want it to do this, just lower the thermostat setting, nothing else. There must be a way to prevent Homekit from arbitrarily changing the thermostat's mode, especially without confirming it somehow.
Replies
1
Boosts
1
Views
1.7k
Activity
May ’22
in Swift how to get an outlet to work
Good day,I am just learnning Swift and from the beginning i want everything to work otherwise it's not going to work on biger projects.but I do understand what is going on I just can't get the X-Code to get unstuck from where it is.the outlet is not being reconized to make the conection to the code and I did my research and even put the code in-place ,before, making the conection yet, it did not work.it would be in the section on "Create Outlets for UI Elements", 'Outlets'Then on Step (#6) it shows to add a line of code below the class line ;// MARK: Propertiesthen you are to add the conection wiht a control+drag on the ViewController.swift. sheet .Also you can add a line of code under the //MARK Properities and it looks like this; @IBOutlet weak var nameTextField: UITextField! So as, you see I do understand what need to happen I just must be missing a step.Thank-you for any help,BrianI am using the Apple website for instructions so it has all the data layed out very good.https://developer.apple.com/library/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/Lesson3.html#//apple_ref/doc/uid/TP40015214-CH22-SW1Thankyou,Brian Helip
Replies
2
Boosts
0
Views
1.3k
Activity
May ’22
Using "Get Contents of URL" shortcut in HomeKit automations
I'm attempting to send an HTTP request when a motion sensor detects movement. I've setup the trigger in the Home app, and chose "Convert to Shortcut", now I'm trying to get the "Get contents of URL" shortcut action to work. I'm running the target web server (a little Node.js app) on my local network. I originally tried to use a simple http server, but was getting the error: An SSL error has occurred and a secure connection to the server cannot be made. Assuming that HomeKit was converting my http URL to https automatically I moved my service to a domain where I have LetsEncrypt setup, added support for simple token based auth via headers, and tried again. This time I got the error: A server with the specified hostname could not be found I triple checked my spelling, verified that the request worked from my Mac and iOS Safari, then concluded that the HomePod (my current home hub) doesn't do domain name resolution like I expect and I need to use an IP address instead. Since I can't get a LetsEncrypt cert for a local IP address I generated a self-signed certificate with the instructions outlined here: https://stackoverflow.com/a/24749608 I additionally installed the root CA on all my HomePods and my phone using a "DER format crt" also described in that post. Now I'm getting another error: The certificate for this server is invalid. You might be connecting to a server that is pretending to be "192.168.7.77" which could put your confidential information at risk. Installing root certs into my HomePods feels a little reckless, so I'm going to go reset them to factory settings and hope that someone here has some guidance as to what I need to do to make my service eligible for the "Get Contents of URL" shortcut. Thank you! A note for anyone trying to reproduce this: the errors I'm quoting are shown when you click the play button at the bottom of the shortcut editing/creation screen ("Home" app > "Automations" tab > "+" button > setup any trigger > "Convert To Shortcut" at the bottom of the action selector > "▶️" button). Clicking "Test automation" after creating the automation, or using the actual Shortcuts app will give misleading results.
Replies
14
Boosts
0
Views
7.4k
Activity
Apr ’22
Radiation readings in Apple Home app
Hi there, I have family living in Belarus, and would like to provide them with an easy way to measure/view environmental radiation. I have a setup for doing this: Sensor: DF Robot Geiger Counter SEN0463 Microcontroller: ESP32 HomeKit app: homekit-geiger-counter using HomeControl Result: I can add the Accessory to the Apple Home app, but it reports it as Not Supported. Would anyone at Apple be able to add two UUIDs so it is supported in the Apple Home app? Service UUID of type GeigerCounter Characteristic UUID of type Radiation I've linked to the code where I made up two UUIDs to test with. Then it'd be great to be able to display: CPM - counts per minute µSv/h - Microsieverts per hour Cheers, Simon. Cross-posted to Apple Feedback
Replies
2
Boosts
0
Views
1.3k
Activity
Apr ’22
HomeKit Not Working Through Shortcuts
I recently bought some smart outlets and nfc chips so that when I tap my phone to them my lights turn on. Although when I go to set up the automation on shortcuts it doesn’t work. I’m setting it up as “When NFC chip is scanned” ”If Outlet is On/Off” Then there is no option to change it. It just detects if it’s on or not and I can’t seem to find a way to have it detect it then change it.
Replies
1
Boosts
0
Views
898
Activity
Apr ’22
Telling Siri to turn off the lights makes my Apple TV pause!
Very recently my Apple TV started pausing anytime I turn off [HomeKit] connected lights in my house using Siri. It happens every time I tell Siri to turn off a light - whether using Siri on my HomePod, Apple Watch, or iPhone. I'm using the most current operating systems for all devices. It happens every time - no matter which light or lights I control. I have Hue lights and Sengled lights - both are affected the same way. Very very very frustrating. Any suggestions on how to solve this?
Replies
1
Boosts
0
Views
812
Activity
Apr ’22
HomeKit API Add Accessory Issue
Hi, Im having an issue adding an accessory into the HomeKit manager. Im having an issue with adding the accessory after discovering the device. Im using the HomeKit Accessory Simulator The error is: 2022-04-17 20:01:20.157053-0400 LightSwitch[98255:3066692] validateSessionInfo: bundleID is invalid. Please specify the bundleID for kRTCReportingSessionInfoClientBundleID 2022-04-17 20:01:20.210457-0400 LightSwitch[98255:3066692] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd} 2022-04-17 20:01:20.210791-0400 LightSwitch[98255:3066692] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd} Please see screenshot of the Xcode error
Replies
1
Boosts
0
Views
1.1k
Activity
Apr ’22
HomeKit Accessory Simulator - Unable to add accessory
Hello, I am unable to pair an iPhone with an test device from the HomeKit Accessory Simulator (HAS). I always get the contentless error message: "Unable to Add Accessory. An unknown error occurred." Things I checked: HAS is running on MacBook Pro newest version of macOS, all other apps are also up-to-date MacBook Pro is in the same network as the iPhone iPhone is also up-to-date, bluetooth is activated How can I resolve this problem or how can I even get some more useful information about what is causing the error? Something like a debug console on the iPhone or stuff like that. The console within HAS shows only messages for successful pairings. The failed pairing attempt doesn't show up. Thanks for your help.
Replies
1
Boosts
0
Views
769
Activity
Apr ’22
Privacy - HomeKit/HMD/ClientQueue
I found this coding in my data analytics: “Thread 3 name: Dispatch queue: com.apple.HomeKit.HMDCloudSettings.clientQueue.4404313360” I have never used HomeKit it was under “Homed - date.ips” in data does anyone know what HMD means or what client queue refers to? Can this relate to a Mac device??? any information would help me. Looking into security/privacy situation. thanks
Replies
0
Boosts
0
Views
584
Activity
Apr ’22
homekit hubs connected vs standby
Hello,I have a question about having two apple Tvs acting as homekit hubs. One of them is showing status as 'connected' and the other one is in Standby. I assume that the one on styandby can still be used by HomeKit Bluetooth devices to signal correct? if so, and both appleTvs are un range, how does the system decide what hyb processes the signal? additionally, what exactly is the differnece between connected and standby? I would like to understand better the standby status. What is what the hub can and cannot do while on standby.Thanks in advance!!
Replies
4
Boosts
0
Views
7k
Activity
Apr ’22
HomeKit addAndSetupAccessories always fails in simulator?
hi there, i've just started digging into developing for HomeKit, so it's quite possible i'm missing something (or this is expected?), but calling addAndSetupAccessories always fails instantly (no UI appears) when running in the simulator. the error is: addAndSetupAccessories got error Optional(Error Domain=HMErrorDomain Code=79 "Failed to add the accessory." UserInfo={NSLocalizedDescription=Failed to add the accessory.}) i'm running the HomeKit simulator with a home created + one standard lightbulb accessory added. if i run on device it works as expected (using my real homekit accessories) xcode: Version 12.0 beta 4 (12A8179i) homekit accessory simulator: Version 4.0 (135.3)
Replies
3
Boosts
0
Views
1.7k
Activity
Apr ’22
HomePodMini - Can HomePod Mini recognises Chinese?
Can HomePod Mini recognises Chinese? Cause I just bought HomePod Mini and don't know which languages are supported
Replies
0
Boosts
0
Views
473
Activity
Apr ’22
How to remove/reuse ghost homekit codes ?
I have to cases, one with netatmo Home coach, one with Tado Smart AC Control, where I'cant use my homekit code. The Homekit feedback is "accessory already added" and reset the accessory. But no way with reseting, I get the same Error: it is like a ghost homekit code. How can I reuse my accessory on Home ? It is not possible to delete the home account because it has more than a hundred accessories!
Replies
1
Boosts
0
Views
758
Activity
Apr ’22
HomeKit Accessory Simulator - Apple HomeKey
I've recently come across HAS and I wondered if there is any possible way to get the new HomeKey into my wallet? James
Replies
0
Boosts
0
Views
498
Activity
Mar ’22
How we can generate homekit accessories multiple QRcode?
We generated one QRcode for testing accessory, it’s work perfect. Mfi certification in progress. Now question is, how we can generate QR code many accessories? What is process after MFi license?
Replies
0
Boosts
0
Views
409
Activity
Mar ’22
Apple HomeKit requirements and testing
Hello, I plan to join the HomeKit market and wanted to ask which hardware and software requirements are needed to support HomeKit. And further I wanted to know, how you can test your prototypes. There should be some signing restrictions or am I wrong? Thanks for your help.
Replies
1
Boosts
0
Views
631
Activity
Mar ’22
Homekit + ESP8266
Hello, community I am developer from Ukraine and I am working on implementing new accessories to homekit. Can you please help me to find a link with list of all accessories avialible for developming? I need something like that, but with all the list of available accessories as light bulb, switch, locker etc. P.S. PTN PNH, Glory to Ukraine
Replies
0
Boosts
0
Views
1k
Activity
Mar ’22