Presence change setup in Piston?


#1

1) Give a description of the problem
I am trying to get a piston that will either blink lights at home and/or send a text to my cell phone when one of my daughters leaves School, or my wife leaves her work. I have added ‘Reliable Presence Sensor’ and grouped the iPhone sensor and Life360 ‘user sensor’ to the group, and can see these under Physical Device(s) when trying to create a new piston. The place I get stuck in is how do set up the piston to do the if

If
Caitlin’s presence changes away from {$location}— But I can’t figure out how to change the variable location to the Places I added in WebCore for her school?

2) What is the expected behavior?
able to create an if statement where the $location is one that was added as a place in WebCore

**4) Post a Green Snapshot of the piston!


#2

presence sensor currentPlace changes away from (value) ‘nameOfPlace’


#3

How do I get currentPlace as an option? If I select Virtual Device, I don’t see any presences sensors in the drop down. And when I select Value, all I see is present or not present.

Thank you for assisting with what is probably a very simple thing


#4

You need to be using the webcore presence sensor, that’s probably why currentPlace isn’t showing up in that dropdown box.
I quit using the ST presence sensor in favor of the webcore one. I don’t use life360 so probably can’t help with that one.


#5

Second dumb question… how can I make a Webcore Presence sensor? Is this the one that I can download to my iPhone once I ask to be allowed to download from the forums here?


#6

No need to ask for an invite anymore, it’s available in the App Store
The webcore presence sensor is what will correlate to the ‘places’ you define in webcore settings


#7

Thank you! I didn’t know that there was a way to add the sensor from the normal webCORE app, I thought it was a second app that was needed.
Lastly, For this to work for each of my kids, I would need to install the webCORE app on their phone and then create a sensor for each of them?


#8

Correct, the webcore app will need to be present on each phone


#9

On the Life360 front, I believe ST, and hence WC, only see present or not present. (It’s been a long time since I installed and configured the Life360-ST integration, so I don’t really remember what the options were.)

But you could use IFTTT and create an Applet that triggers when someone leaves a Life360 defined place and then sends a web request to ST that WC can react to. You’ll probably need to install IFTTT on each person’s phone and they’ll each probably have to have their own IFTTT account. Unless, that is, the “First family member arrives at a specific place” and/or “Last family member leaves a specific place” could work for you.

I use Life360 (indirectly) to control Location Mode, but I also use IFTTT (indirectly, with an Applet that is triggered by connecting to or disconnecting from our WiFi router) as a backup to Life360 for family members that are in my Life360 Circle, and for other family members that aren’t in the Circle as the only presence sensor.