Homey Community Forum

Automatically turn on holiday mode


#1

Hi guys,

I would like to create a flow that, for example, automatically turns the holiday mode on if no movement in the living room has been detected for 24 hours.

Someone good ideas about this? Then I would like to hear that.

Thank you


#2

Motion goes off, then restet countdown timer.

Countdown reaches zero, start holiday flow.

Is a option but would not prefer that because there is Always running a timer.

I would suggest to make use of the presence detection and when 24h from home lets start holiday flow. (or something, iam pretty sure there users with other ideas)

Also curious what you tried your self or you own ideas


#3

And check the Heimdall app!


#4

I tried with countdown. I read about the running timers. That’s the reason I’am searching for an other option! Thank you.


#5

How do you suggest to make “after 24 hour”? Geofence is an option, but also a little buggy here! :roll_eyes:


#6

if status is away, then also using countdown. for 24 h ect ect. then the timer is only running when away.

Presens detection isnt the best in homey, at least not with geofencing. but there other option for that (personal iam using a cheap ali bluetooth switch, with a smart door sensor per person).

And you could check “mister amstels” advise to take a look at the heimdall app, Cant tell you anything about that, dont use the app


#7

Thx. I think I will manually turn on the holiday mode :wink: 2 times a year :face_with_raised_eyebrow:


#8

You’d could schedule it?


#9

Yes I can, not my first or second choice , :roll_eyes:


#10

How about making a “presence out” flow logging the time to a variable, then set a scheudle every morning to check if the lapse time is more than 24hrs?
When someone left home and nobody is home, execute mathjs expression

$timenow$ to a better logic variable.

At say 12pm, executemath js expression $timenow$ > ($yourvariable$ + (24*60*60))

You could also set a geofence with ifttt and trigger a flow when u are out of the geofence area


#11

Plz don’t get me wrong but u wanna push a button like every day to override a flow but when u go on holidays twice a year u want that automated?


#12

You are right :laughing:! You have a better solution for my problem with override a flow :thinking:


#13

Is holiday mode built in?


#14

I don’t think so. I use Virtual Devices to build Holiday etc…

https://apps.athom.com/app/com.arjankranenburg.virtual


#15

No solution😎 but just my thoughts (my own opiniun) The whole thing about home automation is to automate and not to put extra switches.


#16

flow 1: IF last person left the house THEN set status at AWAY= true AND HOME=false AND HOLIDAY=false AND start countdown at 24H

flow2: IF coundown reache 0 THEN set status at HOLIDAY= true and AWAY=false AND HOME=false
flow 3: IF first person enters the house THEN set status at HOME=true AND AWAY=false AND HOLIDAY=false AND stop countdown.

Make status with the APP BETTERLOGIC and everything goes automatic.


#17

Just wondering, why do you need both AWAY and HOME variables? They would always be the opposite of each other, wouldn’t they?


#18

See the post above yours:

Away is used for ‘regular away’ and can therefor trigger certain actions. When Holiday becomes true, you want to set Away to false as well to distinguish being away for a longer period of time than regularly would be the case. This way you use Home or Away for day to day triggering and Holiday for Holiday triggering.

Of course you could also add an extra condition on the regular Away flows ‘AND Holiday = FALSE’. This way a separate Away boolean isn’t needed.


#19

Oh, sorry. Didn’t read thoroughly enough. I guess I would try to choose another variable name/solution then. Since it feels confusing to me to have a variable stating that I am not away when I am on a holiday. Need to remember that away doesn’t mean away when on a holiday.

But it is probably only one person managing the variables, so it might not be a problem. I guess a virtual button is even better as mentioned.