Questions tagged [ios-homekit]

53 questions
1
vote
0 answers

Received delayed response from HMHomeManagerDelegate:didRemoveHome for in app delete operation

We are using the Homekit framework in our application and we are facing a strange issue. As per the below Apple documentation HMHomeManagerDelegate protocol provide updates regarding home changes made outside the…
1
vote
1 answer

HMHomeManager returning nil

I'm creating my own "HouseKit" based on HomeKit. This api will allow me to perform homekit actions very quickly like light.on() for example. To follow my explanation and then introduce my issue here is an example of my public class for lights…
Silvering
  • 756
  • 1
  • 6
  • 33
1
vote
0 answers

HomeKit : Error enabling notification on characteristic

I am currently working on homekit app, lets say "MyThermoApp". When making local command updates to the thermostat i.e both MyThermoApp and thermostat being in same local wifi, everything works fine but the issue arises when "MyThermoApp" updates…
RoshUn
  • 75
  • 1
  • 9
1
vote
0 answers

Mapping numeric value in OpenHab2 to String

I added Homematic HM-CC-RT-DN thermostats by connecting a CCU2 to OpenHab2. Then I defined the thermostats as items for HomeKit to use: Group gBedroomThermostat "Bedroom Thermostat" [ "Thermostat" ] Number BedroomThermostatCurrentTemp "Bedroom…
Jann
  • 1,799
  • 3
  • 21
  • 38
1
vote
0 answers

After tvOS 10, can I use HomeKit framework to create server app on AppleTV to control third party accessory?

After this WWDC 2016, I am still not sure can I write server or server like App on Apple TV to manage all of my accessories. I wanna create an app can do the job like my BOSCH security alarm control panel. You know, there are lots of rules and…
Yi Jiang
  • 3,938
  • 6
  • 30
  • 62
1
vote
1 answer

How to call a Function in ViewDidLoad with multiple parameters using Swift

I want to call a function in ViewDidLoad method with multiple parameters. But it shows the error Missing argument 'didFindNewAccessory'in call Here's my code: override func viewDidLoad() { addaccessory(self) } func addaccessory(browser:…
Swift Developer
  • 247
  • 2
  • 18
1
vote
1 answer

crash at addactionset to HMEventTrigger

I have an issue while adding the action set to the HMEventTrigger. Below is my code. Any suggestions would be very helpful. // Set-up a region CLLocationDegrees latitude = 17.4411482; CLLocationDegrees longitude = 78.3910691; CLLocationCoordinate2D…
SRI
  • 1,514
  • 21
  • 39
1
vote
0 answers

HMHomeDelegate and HMHomeManager Protocol's call back method is not being called:HomeKit

I am using HomeKit apis in my iOS application. I am facing very weird issue whenever I do Add/Delete Home/Room/Acccessory/ActionSet No callback method is getting called of HMHomeDelegate protocol. Except the homeManagerDidUpdateHomes method no…
Kamar Shad
  • 6,089
  • 1
  • 29
  • 56
1
vote
1 answer

is there any Apple Homekit framework compatible devices?

I am doing some R & D on upcoming apple Homekit framework. on the web around we have many devices available which support apple homekit framework . but on there technical specification it is not given that it supports apple homekit. Apple Homekit…
0
votes
0 answers

HomeKit does not show HomePod Accessories and Services

I have multiple HomePods in my house (both HomePod Minis and second generation HomePod) which have humidity and temperature sensors. In the Home app I can clearly see the HomePods and their related temperature and humidity service. However, when I…
byteSlayer
  • 1,806
  • 5
  • 18
  • 36
0
votes
0 answers

HomeKit error: HMErrorCodeObjectNotAssociatedToAnyHome (code 12) when adding an actionSet to a trigger

The following code is used to create a home kit automation that switches off an outlet. Starting on iOS 16 it returns an error (HMErrorCodeObjectNotAssociatedToAnyHome, code 12) when the trigger is told to add the action set. I marked the line using…
Anticro
  • 685
  • 4
  • 12
0
votes
0 answers

Is it possible to test all possible variants of problems that may arise on smart devices using the HomeKit Accessory Simulator

I want to begin to develop an app using HomeKit, but I don’t have any real smart devices. Am I can test all possible variations of problems that can occur on real devices, such as wi-fi, and Bluetooth connections or some others( I don't have…
Ice
  • 680
  • 1
  • 10
  • 23
0
votes
1 answer

Swift (homekit) addAndSetupAccessories - need accessory which is added

I have a problem while adding a new accessory to the home kit. When I call below metho then it gives me error or success. But I want an accessory object when it is successfully onboarded. So, Is there any way to get the accessory object which is…
Mirant
  • 308
  • 2
  • 13
0
votes
1 answer

Secure joining process using Local Google & Apple HomeKit SDK's

I am working on smart home devices based on the zigbee, z-wave & wifi. I would like to make my smart home devices compatible with the google local SDK & apple home kit. For that, I would like to know how the provisioning is managed by the SDK or APP…
0
votes
1 answer

How do I use “Get Contents of URL” in an iOS Home app automation?

I want to use use my Apple TV 4K to make a daily call to a web URL; much like a cron Job if I had a home server. In theory, this should be so simple: Open iOS Home app Go to the Automation tab Create a new automation Choose A Time of Day…
Mike
  • 9,692
  • 6
  • 44
  • 61