My first time using CORE if possible can someone help


#1

Thanks for taking the time to read this.
I have the hallway light come on only if my daughters presence sensor is present, the hallway motion sensor is active and time is between 745p and 10p .
Seems to work great however I would like to have it turn off lets say 15 minutes later.
I cant figure out how to do this I have tried a bunch of trial and error but everything I have tried stops it from working at all.
For now I am using smartthings Smart Lighting to shut it off in 15 minutes would like to have it all in one.

If anyone has the time to help I would appreciate it thanks.


#2

You can use the ‘wait’ action and specify 15 minutes as the value and then add a switch off command. The wait command is a virtual type command and you can either tell the Piston for wait for a particular time of day, or for a specified number of minutes or certain preset values.


#3

You might also consider your turn on time as a value around sunset rather than a fixed time, otherwise you will be chasing it every few days/week

I use Sunset-30 mins for some of mine

Good luck
Rick


#4

What does chasing it mean?


#5

@Okay
Legacy core or WebCoRE?


#6

Sunset changes every day, getting later or earlier based on the time of year. If you are looking for a preset time of day and don’t care about sunset to base your lights off, then no worries.

Rick