Homekit automation not triggering

I am really loving the new Homekit app in iOS 10. I think it is much better than the Philips Hue app I have been using to control my lights at home. However there does seem to be something wrong with the automation feature. Or else I am just missing something, in which case, I would be appreciate any help I can get.


My setup is as follows:

  • 4th gen Apple TV acting as a homekit hup
  • 1 Philips Hue bridge
  • 4 Philips Hue white bulbs
  • 1 Philips Hue Lightstrip
  • 1 iPhone and 1 iPad Mini using Homekit app to set scenes


I have several scenes set up and using the automation feature, I use the following schedule

  • Good morning - All 4 white bulbs and lightstrip on at 05:30
  • Lights off - All lights of at 08:45
  • Afternoon - All 4 white bulbs and lightstrip on at 14:30
  • Evening - 3 white bulbs and lightstrip on at 19:00
  • Good morning - All lights except lightstrip off at 22:30


The problem is that the timers don't always trigger. As far as I can tell, the lights off afternoon, evening and Good night automations work fine. But the morning automation never seems to trigger automatically. When I try to debug in the morning and play with the times and wait and see, it will sometimes trigger, sometimes not. Then I wait again for the next morning and it doesn't trigger. I even put a Light off in at 05:00, half an hour before good morning, to see if that helped, but it didn't.


Does anyone have any suggestion as to why the morning automation doesn't want to activate?

iPhone 6s, iOS 10

Posted on Sep 16, 2016 9:36 PM

Reply
63 replies

Jan 16, 2017 9:57 AM in response to Community User

I am also experiencing issues with the Home app automations not triggering and would like to share my experience.

My set up is as follow:

  • 4th gen Apple TV is my Home hub
  • Running IOS 10.2 on an Apple iPad and the Home app
  • Only have 2 Smarthome devices set up on the Home app, an Ecobee3 thermostat and 1 iHome Outlet with a lamp plugged into it

After installing the 2 devices and setting them up in the Home app, I created Rooms and Automations. I only used the iHome Outlet in my Automations and over the next week found the device turn-ons and turn-offs to be inconsistent with the automation schedule I had set up. In addition, the devices would sometimes show as "no response" on the Home app home page. Then I noticed a message on the Ecobee widget on the Today View of my iPad that said the background app refresh was off and should be turned on. The background app refresh for the Ecobee app was on but was "greened" out. I then looked at Settings, General, Background App Refresh and saw that it was turned off. I turned it on and checked the Ecobee app and saw that it now displayed a green on condition. Since then ( for about a week now), my Automations have been working as scheduled.


Let me know if this helps.

Feb 3, 2017 12:26 AM in response to will7190

Ok, I've got a solution.

The problem comes from philips hue bridge (or app, I don't know).

But a trigger by geofence works with Smart Plug.


I processed like that :

  • My geofence put ON a smart plug (and just that)
  • The trigger of the smart plug put ON the philips light


If the the smart plug in ON, lamps are ON

When I leave home, my plug put off, and lamps too

Feb 3, 2017 12:52 AM in response to will7190

Ok, I've got a solution.

The problem comes from philips hue bridge (or app, I don't know).

But a trigger by geofence works with other elements.


I processed like that :

  • My geofence (in) put ON a smart plug (and just that)
  • Smart plug put ON detected => Arrived Home scene
  • My geofence (out) put OFF a smart plug (and just that)
  • Smart plug put OFF detected => Leave Home


Results with multiple users:

  • With my girlfriend (Android device) : When she arrives home, smart Plug ON (with geofence Smart Plug App)
  • Smart plug put ON => Arrived Home scene
  • When she leaveshome, smart Plug OFF (with geofence Smart Plug App)
  • Smart plug put OFF => Leave Home scene


The advantages of this method :

  • I don't need to be disconnected of Philips Hue app with all devices, so my girlfriend (with Android) or me can control our lamps from outside.
  • On my iPhone I can disable location of Philips Hue App and Background Refresh App (good for my battery).


Drawback :

  • If one of user leave home, the plug put off so lamps put off too even if somebody is inside...
  • But the solution is to create a trigger : Lamps put ON => smart plug put ON
  • So it's a reciprocity : Lamps control plus, and plug controls lamps.


This solution is provisionnal, until Apple and Philips fix the problem, and it ask a little bit reflexion with multiple user, but it works !

I need to realize more test, and if you have more solution(s) I'm open to proposals !!

Jan 10, 2017 1:43 AM in response to ArthurGaudio

I too have experience inconsistent Philips Hue activity with HomeKit scenes. Everything was working for about a month or so but then again this week the Hue lights weren't switching on even though other HomeKit devices that are part of the same scene were triggering (i.e. Elgato Eve). Using the Home app (or Eve) I can action the lights manually and Siri is working fine; it's just the automation that is broken.


i have done a full system reset (Router, Hue Hub, Apple TV) but to no avail.


Something is definitely amiss here Apple & Philips! 😕

Jan 10, 2017 7:31 PM in response to ArthurGaudio

I have an iPhone 7 with a new Apple TV...all up to date...and I too am having (and have had for many months now) erratic automation of my Philips Hue lights via HomeKit.


Sometimes the automations work....sometimes not. All lights are controllable from the HomeKit app...but automation is works sporadically at best.


I'm seriously considering going back to "manual" plug-in automation of individual lights as, at least, that was reliable!


Maybe someone from Apple or Philips Hue can help us out before we give up?

Jan 12, 2017 8:14 AM in response to ArthurGaudio

This issue been plaguing me since HomeKit is launched. I have AppleTV 4th Generation and Philips Hue, Ecobee, Kogeek and iHome devices. AFAIK, HomeKit have been very unstable.


These devices will randomly lost connection with HomeKit (no longer controllable via the Apple "Home" app), BUT still work with the device own app.


Automation WILL stop working once in a while and there is nothing I can do to enable it again. Have to wait until something happen on the Apple side and it WILL work again.


The HomeKit infrastructure seems to have tons of issue and I stopped buying HomeKit compatible device and slowly moving towards other ecosystem (Nest Camera, Nest Thermostat, etc.) because they work well together as promised (unlike HomeKit).

Jan 19, 2017 4:33 PM in response to Sawdust102

Similar issue here. The automation does not work all the time especially on multiple devices. Say that both my wife and me have administrative right on the HomeKit account. Her automation based in the iPhone locations would never work. Never work! Whenever I leave, the lights all turn off even though she is still home. We both on iPhone 7 and we have an Apple TV 4 as a hub. I tried to contact Apple regarding this issue. I did receive a call from the technician who was not able to provide any meaningful help and disconnect the phone for unknow reason and never called me back. I had given up my faith on the HomeKit. I am already accept the fact that the HomeKit is another garbage after my Apple Watch. What a shame!

Jan 22, 2017 8:56 AM in response to ArthurGaudio

I have isolated the bug in my setup with Apple Home App automated triggers and Phillips Hue. Hue is my only HomeKit Device.


Short explanation: Apple Home App does reliably trigger it's automated events. Automation is broken by signing directly into "My Hue" account inside the Hue App.


Steps:


What Worked Initially For Several Days:


• Bought Hue Starter Kit.

• Downloaded Hue app.

• Setup Hue Bridge without setting up a Phillips Hue account inside the Hue App.

• Used HomeKit pin instead to establish communication.

• Proceeded to use Apple Home App, Notification Center and Hue App without issues on all my devices.

• Siri worked perfectly.

• The lights triggered on/off for sunset/sunrise via Apple Home app Automation reliably for several days.


Isolated Bug:


• Decided to create a Phillips My Hue account to explore integrations via IFTTT, etc.

• Launched Hue App on BOTH my iPhone and iPads.

• Hit ... "More" Submenu.

• Then "Log in to My Hue" to sign in to my account.

• Automation Triggers stopped working consistently.


Bug Test and Fix:


• Logged out of the Phillips MY Hue account inside the Phillips Hue app on both my iOS devices.

• Created 2 sets/series of timed on/off automations in Apple Home App.

• Let the triggers run twice successfully.

• Allowed the Sun automated triggers to run last night/this morning with success.


Result: Issue Resolved without being logged into My Hue Account inside Hue App. Is this ideal? Not sure. Does it fix the issue, yes.


Devices I own are updated to latest software:


Macbook Pro Retina

Apple Watch

iPhone 7 Plus

iPad Air 2

Apple TV 4th Generation (HomeKit Hub)

Jan 23, 2017 1:46 AM in response to brilliant1

This sounded like a plausible answer to the problem so I tried this last night. Sadly, the Hue lights did not trigger on the timer even though the other Homekit devices did. So this did not work for me.


For now, I've moved all the Hue lights into homekit Scenes of their own and added them to separate Homekit timers. it's not ideal but it does seem to work, which leads me to believe that there is a bug somewhere in the Homekit rules database...

Jan 31, 2017 12:41 AM in response to brilliant1

Thank you Brilliant1,


it works for me !

My scenes didn't worked with location and your solution fixed my problem.

But if I can make a precision :

I was logged on my iPad (as Home Hubs), iPhone, and the Android phone of my girlfriend, and I I had to log out on all mobile Hue accounts on all our devices !

Because just on iPhone didn't worked.

I'll try to log on the Android and I'll tell you !


I'm talking with an Apple's technical manager (in France) so i'll tell her and may be they'll fix it !

Jan 31, 2017 5:05 PM in response to ChuckstarUK

Correct. More specifically, I believe the bug is this:


Authenticating access with both the HomeKit pin in the Home App and with your My Hue account in any mobile Hue App causes a conflict in the rules database with regards to which app has actual control and the triggers fail to launch as a result.


The My Hue login inside the Hue App clearly states that by logging in with your account you can also control your bridge outside of your home. The user has already gained that access with the HomeKit pin, which is using Apple's strict security protocol based off their certified components. Redundant and possibly flagged as not secure.


Can another user confirm and replicate this issue on another HomeKit device? Curious if this is a Phillips Hue issue or if it happens with other vendors as well.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Homekit automation not triggering

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.