Prescence with phone


#1

I am very new and would like to start my first piston or if it is possible to copy anyone?

I live in a house and would like a trigger so when I am very close to my home a few lamps should turn on. Is that possiible?

Please help me out


#2

Hi, I have this setup, try this…I have set 7 mins, because some times when someone is walking home, it takes about 5 mins to get home:


#3

I’m not sure this will turn off. Does it or haven’t you tried it yet?.
The reason I say this is because you are using ‘changes to’.
This is a trigger that will become true when the presence changes. Great that’s what you want.
The problem is that after 10 seconds (I think) it will become false as it has to to get ready for another trigger. (If that makes sense).
If you change Task Cancellation Policy (TCP) to never then the wait will not cancel (as it will now) and the light will turn off after 7 mintes when the wait matures.
To change TCP to never, click on the ‘with’ go to settings cog at the bottom and click on it. Now change TCP to never. You will see a red N appear next to the with.
Also these will turn off regardless of any other piston conditions for these bulbs/outlets.


#4

Hi, I have been using this piston for about 4 months and it seems to always work as I wanted it to and turns the lights off after 7mins, but let me try the TCP option and see. Thanks for the tip.


#5

Hey, if it works, great. I’m just a bit surprised though.
Anyway, if it ain’t broke…etc. etc. :wink:


#6

One thing to be aware of though, if one of the presence sensors changes to Away in the 7 minutes, it might cancel the piston running. So, you might want to change to “never cancel”. That way you can be sure they’ll turn off.


#7

But do I understand you right. The Piston will work so when my phone is close to my home the triggar will start like bulbs?
That’s what I want


#8

Yep. When my mobile phones come within about 200 or 300 metres of my house or the presence sensor in my car, the lights go on.