Which Mobile User Executed a Routine? Two mobile phones, different results for each person executing


#1

1) Give a description of the problem
(Trying to determine which phone executed a routine and have WebCore act differently depending on who executed? I.e. If person ‘A’ executes routine then do ‘X’ if person ‘B’ executes routine then do ‘Y’.)

2) What is the expected behavior?
(CurrentEventDevice = “Kyle’s Phone”)

3) What is happening/not happening?
(No variables contain the person that executed the routine.)

4) Post a Green Snapshot of the pistonimage
(

)


#2

SmartThings doesn’t pass along a user with the routine being executed. Two ways you might be able to work around it are:

  1. Making two routines, one for user A and one for user B
  2. Basing the action on presence [When routine X executes, Then IF User A and User B are home, then do xxx. Else IF User A is home, do yyy. Else if User B is home do zzz. Else do abc [to cover nobody home scenario]. I have no idea what routine you’re doing and if presence is a viable condition, but maybe something else you can come up with would be.

#3

Oh man, okay…

Yeah the presence sensors are well enough, except when both users are the same value and your looking for different results (as you mentioned). I really appreciate the reply.