Wyze Cam Virtual Switch (ST Virt Switch / WebCore Piston / IFTTT applet)


#1

1) Give a description of the problem
Arrival Sensors are not triggering the virtual switch as expected.

2) What is the expected behavior?
When both my wife’s and my arrival sensors are not present then turn on virtual switch. The virtual switch will then be ‘noticed’ by IFTTT that will turn on the Wyze Cam.

3) What is happening/not happening?
The virtual switch and IFTTT applet work manually (when I press the on/off button in the ST classic app) to turn on the Wyze Camera. But the piston does not turn the virtual switch on when the arrival sensors are not present.

**4) Post a Green Snapshot of the piston![image|45x37]

**5) Attach any logs (From [ST IDE]
[2019-04-23 1:58:29.172 PM EDT
DEVICE presence not present Sandra Arrival Sensor has left
[ 2019-04-23 1:58:20.047 PM EDT
( DEVICE presence not present Kevin Arrival Sensor has left

There are no indications of the virtual switch on or off in the ST IDE logs (should there be?).

Thank you for any help you can provide.

r/

Kevin


#2

In this case, I would re-word line 18 to say:
IF All of Presence 4 & 5’s presence IS NOT present

The logic is, two triggers can not be true at the same instant, but two conditions can.


#3

Thank you - As always, your sage advice is superb.

Kevin


#4

Glad to be able to help!