HomeKit Fine-tuned HomeKit sunrise / sunset settings

Discussion in 'HomeKit, HomePod, CarPlay, Home & Auto Technology' started by MonstaMash, Feb 28, 2018.

  1. MonstaMash macrumors regular

    MonstaMash

    Joined:
    Dec 24, 2011
    #1
    The Home app went from my unused folder to now a controller of over 20 accessories. I am finding that some of the automations are a bit limited though.

    I have a staircase light that only needs to turn on for a minute when it's dark outside and there's motion. I'd like the brightness to vary depending on if it's during the evening or at night. I am using a motion sensor to detect presence.

    Any thoughts as to how to create the following automation in HomeKit? I found the sunset/sunrise settings to be fairly limiting.

    - 1 hour before Sunset to 11:30PM
    Turn on Staircase light to 100% brightness
    Turn off after 1 minute

    - 11:30PM until Sunrise
    Turn on Staircase light to 1%
    Turn off after 1 minute
     
  2. cjbryce macrumors 6502

    cjbryce

    Joined:
    Jun 4, 2008
    Location:
    London
    #2
    Ok, I'm not sure if this will work as you want to mix and match types of times and the Home app doesn't (yet) allow that but I'll try to run this out. sorry I can't upload screen shots and I'm jiggling between iPhone and laptop as I type.

    Automation A
    1. Go to Automations
    2. Tap +
    3. Choose "A sensor detects something"
    4. Choose the relevant sensor
    5. Tap Next
    6. Tap Time
    7. Tap At night
    8. Tap the exclamation point
    9. Select Start time 1 hour before sunset
    10. Tap Next
    11. Choose the accessory (staircase light)
      1. Set to turn on 100%
    12. Tap turn off
    13. Select After 1 minute
    14. Tap done
    This should mostly handle requirement 1

    Automation B
    1. Go to Automations
    2. Tap +
    3. Choose "A sensor detects something"
    4. Choose the relevant sensor
    5. Tap Next
    6. Tap Time
    7. Tap Specific times
    8. Select Start time 23:30
    9. Select Stop time 07:00
    10. Tap Next
    11. Choose the accessory (staircase light)
    12. Set to turn on 1%
    13. Tap turn off
    14. Select After 1 minute
    15. Tap done
    This should mostly handle requirement 2.

    The problem is I have no idea if Automation A will always take precedence over Automation B or of Home is smart enough to work out that B supersedes A. Best just to try it and see what happens:)
     
  3. MonstaMash thread starter macrumors regular

    MonstaMash

    Joined:
    Dec 24, 2011
    #3
    Thanks! I tried that out. During the night, the light quickly turns on at 100% then almost instantly goes to 1%. So it seems like both rules are followed. It's not quite ideal because it gets bright for a second, but I can live with it.
     
  4. rhett7660 macrumors G5

    rhett7660

    Joined:
    Jan 9, 2008
    Location:
    Sunny, Southern California
    #4
    Maybe stager the times and also add in dim the light to 50% after one minute instead of going from 100 to 1?
     

Share This Page

3 February 28, 2018