How to use webcore at a virtual location?


#1

1) Give a description of the problem
I have 1 smartthings hub at home, and several virtual locations setup. I’d like to create a piston that sees when someone leaves the virtual location, and then tells my nest thermostat to start cooling at my home location. How can I do that?

2) What is the expected behaviour?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

The simple draft would be something like this:

IF virtual location 1 presense sensor CHANGES TO AWAY
Then
WITH 
Thermostat DO TURN ON
Set cooling to X

But of course this piston will never know if you are coming home or left the location and going someplace else…
But if you have a route, you can write a piston that determines if you are heading back home or not…


#3

Do I have to have the web core presence sensor installed for this to work? Or can it be done with just the smartthings presence sensor on the phone?


#4

And I don’t know what to click to get the virtual location 1 presence sensor to show up in the code. I don’t see anything under virtual devices that leads to that.


#5

How and where did you set them up?


#6

I set them all up using the smartthings app.


#7

Do you see them in Webcore?


#8

I do not see the virtual locations anywhere in webcore, but I may not be looking in the right spot.


#9

Try to install webcore presense sensor…