You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Homekit - I want to automatically switch on lights if room gets dark (after sunset or on a cloudy day). how to do it?

I want to automatically switch on lights if room gets dark (after sunset or on a cloudy day). don't want to trigger based on motion - instead light level. I installed a Philips Hue Motion sensor - which added a light level sensor in Home app - but not able to use that to trigger an automation. any suggestion?


(didn't find a topic for Homekit while submitting it)

Posted on Sep 5, 2019 12:56 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 8, 2019 11:30 AM

ah! finally figured it out - though not exactly the way I wanted.

 

looks like HomeKit does support light level sensor - but Home app doesn't in iOS 12 (don't know if new iOS 13 will add support for it). so I had to use "Eve for HomeKit" app (https://apps.apple.com/us/app/eve-for-homekit/id917695792) - it is an extension app on top of Home app. probably other extension apps can do it too - but did not try.

 

I am using Philips Hue motion sensor. when I added it to HomeKit, HomeKit added 3 sensors - motion, temperature and light level. using that light level sensor, I was able to create automation in Eve app to switch on lights whenever light level will go down to certain limit. and it worked! Home app shows that automation but doesn't able to show the trigger condition.

 

two issues with this automation -

0) looks like Philips motion sensor updates light level value only when it senses motion. so this automation doesn't light on even if room is dark - it waits for a motion to trigger. so it, kind of, works as long as I move around in room (also doesn't light on if room has enough light).

1) what I observed, it works only when light level crosses over the threshold lux value I set. I set it to 20 lux. it works whenever light level goes down from 21 lux (or higher) to 19 lux (or lower). but it does not trigger if light level is already below 20 lux to start with.

 

not sure how to overcome these two issues.

5 replies
Question marked as Top-ranking reply

Sep 8, 2019 11:30 AM in response to palashbiswas

ah! finally figured it out - though not exactly the way I wanted.

 

looks like HomeKit does support light level sensor - but Home app doesn't in iOS 12 (don't know if new iOS 13 will add support for it). so I had to use "Eve for HomeKit" app (https://apps.apple.com/us/app/eve-for-homekit/id917695792) - it is an extension app on top of Home app. probably other extension apps can do it too - but did not try.

 

I am using Philips Hue motion sensor. when I added it to HomeKit, HomeKit added 3 sensors - motion, temperature and light level. using that light level sensor, I was able to create automation in Eve app to switch on lights whenever light level will go down to certain limit. and it worked! Home app shows that automation but doesn't able to show the trigger condition.

 

two issues with this automation -

0) looks like Philips motion sensor updates light level value only when it senses motion. so this automation doesn't light on even if room is dark - it waits for a motion to trigger. so it, kind of, works as long as I move around in room (also doesn't light on if room has enough light).

1) what I observed, it works only when light level crosses over the threshold lux value I set. I set it to 20 lux. it works whenever light level goes down from 21 lux (or higher) to 19 lux (or lower). but it does not trigger if light level is already below 20 lux to start with.

 

not sure how to overcome these two issues.

Oct 1, 2019 9:18 PM in response to palashbiswas

I admire the inventiveness of the users here but it is clear that Apple and the vendors are pretty amateurish in their approach. The light sensor problem is one example; another is that there is no way to randomize the times at which lights turn on and off; also the programming is mindlessly complicated. Instead of simply being able to set a light to turn on and off at a particular time or a randomized time, you are not offered these choices at the same time but have to set up separate action completely identifying, anew, the device and time and etc. Yet another example of vendors not using their own products or they would not have thee issues.


RadioShack solved this programming problem 30 years ago with their enviable X10 system, even given the limited technology of the time

Homekit - I want to automatically switch on lights if room gets dark (after sunset or on a cloudy day). how to do it?

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