Presence asleep flow

I have a bunch of advanced flows that trigger based on zone activity to turn lights on and off when zone becomes inactive. I am trying to find a way to do two things.

First is there a way to create simple flow or Siri shortcut to change homey status to asleep or awake? Is it possible to use Siri Shortcuts with homey? I am not looking for anything major like api access as that is beyond my technical knowledge.

Second, when I change my status to asleep, how I use that in flows so some zones don’t turn on based on motion…ie revert back to manual light switch control?

Here is a flow for my bedroom that when I use Siri command to turn off bedroom lamps (linked to homekit via homekitty) the lamps turn off, but after zone becomes inactive, the lights turn back on and continue the inactive timer countdown then turn off. Which is what the flow tells it to do, but when go asleep don’t want it to do.

Regarding your first question: the most simple flow to flag someone as asleep, is to create a flow that you start manually (WHEN part), followed by the specific THEN card to set the status of a person to sleeping/awake or toggle the sleep status (sorry my screenshot is in Dutch):

Subsequently, you can assign such a flow to a Siri shortcut if you want.

Regarding your second question: there are AND cards to check whether a specific person or everyone/nobody is asleep:

You can use those as a condition in the flow you posted. So e.g. only activate lights when no one is sleeping.


.I did see the THEN presence card has sleep, but I am having trouble figuring out what to put in the WHEN card for a manual trigger.

The WHEN card is a little bit hidden. You can find it in the Flows section. It’s the first item ‘This Flow is started’:

1 Like

Yeah it is hidden LOL. Still learning and love it. Perfect…thank you