SimonLawson

About

Username
SimonLawson
Joined
Visits
2
Last Active
Roles
member
Points
1
Badges
0
Posts
1
  • Listener question marathon on the new HomeKit Insider

    To stop the lights turning off automatically when there are still people like the kids and the babysitter in the house, you can use dummy switches to set conditionals on automations. I create the switches in Homebridge but you can use a real switch, like a smart plug that isn't connected to an appliance or simply a light that is on or off. Convert the automation to a shortcut and put an "if... then..." conditional based on the state of the switch. 

    So, in this case a switch called "Babysitter" could be created, which is turned on or off in the Home app. The automation trigger is "When last person leaves" then a scripted shortcut something like "If 'Babysitter' is Off then set scene 'I'm leaving' otherwise do nothing." To stop the lights being turned off automatically when the parent leave, just flip the "Babysitter" switch.

    This allows automations to be triggered - or not triggered - based on a user controllable action. I use this to run a different set of automations when I'm away from home for a long period vs the ones when I'm home. They all check a switch called "vacation" and run based on its state.

    watto_cobra