Lights on when someone arrive


#1

Hello i am new to this and need help creatin or coping a piston that would do this: turn on x lights when someone arrive near the house for x minutes and then turn off. I know is very simple and i could use ifttt but i want to learn how to right codes as well. Thanks a lot


#2

This should work.


#3

Thank you. Now a stupid question, how do I set up the virtual presence to know that is my phone arriving?


#4

Take a look at this thread to setup the webcore presence sensor.

Is that the info you’re looking for?


#5

Yes, I will try it out. Thanks a lot