Mobile Presence with New Smartthings App 1.6.67


#1

Since updating to the newest Smartthings App, it broke my Webcore presence.

My app simply was using a mobile device presence to toggle a virtual presence sensor to display inside the app.

My iOS device is no longer listed as a device to add to Webcore Available Devices… I only see the virtual sensor


#2

Did you look in Available devices > Select devices by capability and go to capability group 2 > which presence sensors?


#3

That was it! Thanks! Found the device there.


#4

So that actually only kinda fix it. I was able to edit the piston to include mobile presence, but it doesnt work like it used to.

Now it seems to only run when I arrive… and it says I left and arrived all at the same time.

I updated the app on Sunday Night, so the events on 6/20 it was working as expected. The events on 6/21 have the new behavoir

6/21/2021, 8:46:39 PM +229ms
+1ms 	╔Received event [Exe].presence = present with a delay of 66ms
+67ms 	║RunTime Analysis CS > 18ms > PS > 5ms > PE > 43ms > CE
+69ms 	║Runtime (37381 bytes) successfully initialized in 5ms (v0.3.113.20210203) (67ms)
+70ms 	║╔Execution stage started
+77ms 	║║Comparison (enum) present is_not (string) not present = true (1ms)
+78ms 	║║Cancelling condition #2's schedules...
+79ms 	║║Condition #2 evaluated true (5ms)
+80ms 	║║Cancelling condition #1's schedules...
+81ms 	║║Condition group #1 evaluated true (state changed) (8ms)
+83ms 	║║Cancelling statement #3's schedules...
+112ms 	║║Executed physical command [null].departed() (27ms)
+113ms 	║║Executed [USER].departed (28ms)
+119ms 	║║Comparison (enum) present is (string) present = true (1ms)
+120ms 	║║Cancelling condition #6's schedules...
+121ms 	║║Condition #6 evaluated true (5ms)
+122ms 	║║Cancelling condition #5's schedules...
+123ms 	║║Condition group #5 evaluated true (state changed) (8ms)
+125ms 	║║Cancelling statement #7's schedules...
+145ms 	║║Executed physical command [null].arrived() (18ms)
+146ms 	║║Executed [USER].arrived (19ms)
+148ms 	║╚Execution stage complete. (78ms)
+149ms 	╚Event processed successfully (149ms)
6/21/2021, 7:45:40 PM +932ms
+1ms 	╔Received event [Exe].presence = not present with a delay of 61ms
+75ms 	║RunTime Analysis CS > 22ms > PS > 5ms > PE > 48ms > CE
+77ms 	║Runtime (37374 bytes) successfully initialized in 5ms (v0.3.113.20210203) (75ms)
+78ms 	║╔Execution stage started
+86ms 	║║Comparison (enum) not present is_not (string) not present = false (2ms)
+88ms 	║║Cancelling condition #2's schedules...
+88ms 	║║Condition #2 evaluated false (6ms)
+89ms 	║║Cancelling condition #1's schedules...
+90ms 	║║Condition group #1 evaluated false (state changed) (8ms)
+96ms 	║║Comparison (enum) not present is (string) present = false (1ms)
+98ms 	║║Cancelling condition #6's schedules...
+98ms 	║║Condition #6 evaluated false (5ms)
+99ms 	║║Cancelling condition #5's schedules...
+100ms 	║║Condition group #5 evaluated false (state changed) (8ms)
+102ms 	║╚Execution stage complete. (24ms)
+103ms 	╚Event processed successfully (103ms)
6/21/2021, 6:56:15 PM +922ms
+1ms 	╔Received event [Exe].presence = present with a delay of 67ms
+76ms 	║RunTime Analysis CS > 19ms > PS > 4ms > PE > 53ms > CE
+78ms 	║Runtime (37381 bytes) successfully initialized in 4ms (v0.3.113.20210203) (77ms)
+79ms 	║╔Execution stage started
+87ms 	║║Comparison (enum) present is_not (string) not present = true (2ms)
+88ms 	║║Cancelling condition #2's schedules...
+89ms 	║║Condition #2 evaluated true (6ms)
+90ms 	║║Cancelling condition #1's schedules...
+91ms 	║║Condition group #1 evaluated true (state changed) (7ms)
+93ms 	║║Cancelling statement #3's schedules...
+151ms 	║║Executed physical command [null].departed() (55ms)
+152ms 	║║Executed [USER].departed (57ms)
+158ms 	║║Comparison (enum) present is (string) present = true (1ms)
+159ms 	║║Cancelling condition #6's schedules...
+160ms 	║║Condition #6 evaluated true (5ms)
+161ms 	║║Cancelling condition #5's schedules...
+161ms 	║║Condition group #5 evaluated true (state changed) (7ms)
+163ms 	║║Cancelling statement #7's schedules...
+185ms 	║║Executed physical command [null].arrived() (20ms)
+186ms 	║║Executed [USER].arrived (21ms)
+188ms 	║╚Execution stage complete. (109ms)
+189ms 	╚Event processed successfully (189ms)
6/21/2021, 5:21:04 PM +54ms
+1ms 	╔Received event [Exe].presence = not present with a delay of 65ms
+72ms 	║RunTime Analysis CS > 21ms > PS > 6ms > PE > 45ms > CE
+74ms 	║Runtime (37374 bytes) successfully initialized in 6ms (v0.3.113.20210203) (73ms)
+75ms 	║╔Execution stage started
+83ms 	║║Comparison (enum) not present is_not (string) not present = false (2ms)
+84ms 	║║Cancelling condition #2's schedules...
+85ms 	║║Condition #2 evaluated false (6ms)
+86ms 	║║Cancelling condition #1's schedules...
+87ms 	║║Condition group #1 evaluated false (state changed) (8ms)
+93ms 	║║Comparison (enum) not present is (string) present = false (2ms)
+94ms 	║║Cancelling condition #6's schedules...
+95ms 	║║Condition #6 evaluated false (6ms)
+96ms 	║║Cancelling condition #5's schedules...
+97ms 	║║Condition group #5 evaluated false (state changed) (8ms)
+99ms 	║╚Execution stage complete. (24ms)
+100ms 	╚Event processed successfully (100ms)
6/21/2021, 4:24:57 PM +732ms
+3ms 	╔Received event [Ventura].test = 1624317897728 with a delay of 3ms
+92ms 	║RunTime Analysis CS > 23ms > PS > 7ms > PE > 63ms > CE
+100ms 	║Runtime (37378 bytes) successfully initialized in 7ms (v0.3.113.20210203) (93ms)
+103ms 	║╔Execution stage started
+125ms 	║║Comparison (enum) present is_not (string) not present = true (2ms)
+127ms 	║║Condition #2 evaluated true (15ms)
+128ms 	║║Condition group #1 evaluated true (state did not change) (18ms)
+130ms 	║║Cancelling statement #3's schedules...
+167ms 	║║Executed physical command [null].departed() (24ms)
+168ms 	║║Executed [USER].departed (26ms)
+181ms 	║║Comparison (enum) present is (string) present = true (1ms)
+183ms 	║║Condition #6 evaluated true (11ms)
+184ms 	║║Condition group #5 evaluated true (state did not change) (12ms)
+186ms 	║║Cancelling statement #7's schedules...
+225ms 	║║Executed physical command [null].arrived() (37ms)
+226ms 	║║Executed [USER].arrived (39ms)
+236ms 	║╚Execution stage complete. (133ms)
+237ms 	╚Event processed successfully (237ms)
6/21/2021, 4:24:51 PM +779ms
+1ms 	╔Starting piston... (v0.3.113.20210203)
+202ms 	║╔Subscribing to devices...
+277ms 	║║Subscribing to Exe.presence...
+387ms 	║║Subscribing to USER...
+388ms 	║╚Finished subscribing (199ms)
+420ms 	║Comparison (enum) present is_not (string) not present = true (2ms)
+421ms 	║Cancelling condition #2's schedules...
+422ms 	║Cancelling condition #1's schedules...
+437ms 	║Comparison (enum) present is (string) present = true (2ms)
+439ms 	║Cancelling condition #6's schedules...
+440ms 	║Cancelling condition #5's schedules...
+447ms 	╚Piston successfully started (447ms)
6/21/2021, 3:40:05 PM +403ms
+1ms 	╔Received event [Ventura].test = 1624315205403 with a delay of 1ms
+84ms 	║RunTime Analysis CS > 20ms > PS > 7ms > PE > 57ms > CE
+87ms 	║Runtime (37182 bytes) successfully initialized in 7ms (v0.3.113.20210203) (86ms)
+88ms 	║╔Execution stage started
+102ms 	║║Comparison (enum) not present is_not (string) not present = false (2ms)
+104ms 	║║Condition #2 evaluated false (11ms)
+105ms 	║║Condition group #1 evaluated false (state did not change) (13ms)
+116ms 	║║Comparison (enum) not present is (string) present = false (2ms)
+118ms 	║║Condition #6 evaluated false (10ms)
+119ms 	║║Condition group #5 evaluated false (state did not change) (11ms)
+124ms 	║╚Execution stage complete. (36ms)
+126ms 	╚Event processed successfully (125ms)
6/21/2021, 3:40:02 PM +136ms
+0ms 	╔Starting piston... (v0.3.113.20210203)
+211ms 	║╔Subscribing to devices...
+246ms 	║║Subscribing to USER.presence...
+323ms 	║╚Finished subscribing (124ms)
+352ms 	║Comparison (enum) not present is_not (string) not present = false (2ms)
+355ms 	║Cancelling condition #2's schedules...
+356ms 	║Cancelling condition #1's schedules...
+371ms 	║Comparison (enum) not present is (string) present = false (2ms)
+383ms 	╚Piston successfully started (382ms)
6/21/2021, 3:15:36 PM +989ms
+0ms 	╔Starting piston... (v0.3.113.20210203)
+185ms 	║╔Subscribing to devices...
+219ms 	║║Subscribing to USER.presence...
+308ms 	║╚Finished subscribing (134ms)
+339ms 	║Comparison (enum) not present is_not (string) present = true (2ms)
+352ms 	║Comparison (enum) not present is (string) present = false (2ms)
+359ms 	╚Piston successfully started (359ms)
6/20/2021, 11:43:35 PM +575ms
+1ms 	╔Starting piston... (v0.3.113.20210203)
+204ms 	║╔Subscribing to devices...
+237ms 	║║Subscribing to Exe.presence...
+302ms 	║║Subscribing to USER...
+303ms 	║╚Finished subscribing (101ms)
+323ms 	║Comparison (enum) not present is_not (string) present = true (2ms)
+338ms 	║Comparison (enum) not present is (string) present = false (1ms)
+348ms 	╚Piston successfully started (347ms)
6/20/2021, 7:54:57 PM +536ms
+0ms 	╔Received event [Exe].presence = not present with a delay of 52ms
+67ms 	║RunTime Analysis CS > 18ms > PS > 5ms > PE > 44ms > CE
+69ms 	║Runtime (37031 bytes) successfully initialized in 5ms (v0.3.113.20210203) (68ms)
+70ms 	║╔Execution stage started
+77ms 	║║Comparison (enum) not present is_not (string) present = true (1ms)
+78ms 	║║Cancelling condition #2's schedules...
+79ms 	║║Condition #2 evaluated true (6ms)
+80ms 	║║Cancelling condition #1's schedules...
+80ms 	║║Condition group #1 evaluated true (state changed) (7ms)
+82ms 	║║Cancelling statement #3's schedules...
+111ms 	║║Executed physical command [null].departed() (25ms)
+112ms 	║║Executed [USER].departed (27ms)
+118ms 	║║Comparison (enum) not present is (string) present = false (1ms)
+119ms 	║║Cancelling condition #6's schedules...
+120ms 	║║Condition #6 evaluated false (5ms)
+121ms 	║║Cancelling condition #5's schedules...
+122ms 	║║Condition group #5 evaluated false (state changed) (7ms)
+124ms 	║╚Execution stage complete. (55ms)
+125ms 	╚Event processed successfully (126ms)
6/20/2021, 5:53:24 PM +232ms
+1ms 	╔Received event [Exe].presence = present with a delay of 52ms
+68ms 	║RunTime Analysis CS > 19ms > PS > 5ms > PE > 43ms > CE
+70ms 	║Runtime (37034 bytes) successfully initialized in 5ms (v0.3.113.20210203) (68ms)
+71ms 	║╔Execution stage started
+78ms 	║║Comparison (enum) present is_not (string) present = false (1ms)
+79ms 	║║Cancelling condition #2's schedules...
+80ms 	║║Condition #2 evaluated false (5ms)
+81ms 	║║Cancelling condition #1's schedules...
+82ms 	║║Condition group #1 evaluated false (state changed) (8ms)
+88ms 	║║Comparison (enum) present is (string) present = true (1ms)
+89ms 	║║Cancelling condition #6's schedules...
+90ms 	║║Condition #6 evaluated true (5ms)
+91ms 	║║Cancelling condition #5's schedules...
+91ms 	║║Condition group #5 evaluated true (state changed) (7ms)
+93ms 	║║Cancelling statement #7's schedules...
+154ms 	║║Executed physical command [null].arrived() (57ms)
+154ms 	║║Executed [USER].arrived (59ms)
+157ms 	║╚Execution stage complete. (87ms)
+158ms 	╚Event processed successfully (158ms)
6/20/2021, 4:55:13 PM +643ms
+1ms 	╔Received event [Exe].presence = not present with a delay of 48ms
+68ms 	║RunTime Analysis CS > 16ms > PS > 5ms > PE > 46ms > CE
+70ms 	║Runtime (37031 bytes) successfully initialized in 5ms (v0.3.113.20210203) (69ms)
+71ms 	║╔Execution stage started
+79ms 	║║Comparison (enum) not present is_not (string) present = true (1ms)
+80ms 	║║Cancelling condition #2's schedules...
+81ms 	║║Condition #2 evaluated true (6ms)
+82ms 	║║Cancelling condition #1's schedules...
+83ms 	║║Condition group #1 evaluated true (state changed) (8ms)
+85ms 	║║Cancelling statement #3's schedules...
+140ms 	║║Executed physical command [null].departed() (52ms)
+141ms 	║║Executed [USER].departed (54ms)
+148ms 	║║Comparison (enum) not present is (string) present = false (2ms)
+149ms 	║║Cancelling condition #6's schedules...
+150ms 	║║Condition #6 evaluated false (6ms)
+151ms 	║║Cancelling condition #5's schedules...
+152ms 	║║Condition group #5 evaluated false (state changed) (8ms)
+154ms 	║╚Execution stage complete. (82ms)
+155ms 	╚Event processed successfully (154ms)
6/20/2021, 12:52:26 PM +37ms
+1ms 	╔Received event [Exe].presence = present with a delay of 42ms
+63ms 	║RunTime Analysis CS > 15ms > PS > 4ms > PE > 43ms > CE
+65ms 	║Runtime (37034 bytes) successfully initialized in 4ms (v0.3.113.20210203) (62ms)
+65ms 	║╔Execution stage started
+72ms 	║║Comparison (enum) present is_not (string) present = false (1ms)
+74ms 	║║Cancelling condition #2's schedules...
+74ms 	║║Condition #2 evaluated false (5ms)
+75ms 	║║Cancelling condition #1's schedules...
+76ms 	║║Condition group #1 evaluated false (state changed) (7ms)
+82ms 	║║Comparison (enum) present is (string) present = true (1ms)
+83ms 	║║Cancelling condition #6's schedules...
+84ms 	║║Condition #6 evaluated true (5ms)
+85ms 	║║Cancelling condition #5's schedules...
+85ms 	║║Condition group #5 evaluated true (state changed) (7ms)
+87ms 	║║Cancelling statement #7's schedules...
+107ms 	║║Executed physical command [null].arrived() (17ms)
+108ms 	║║Executed [USER].arrived (19ms)
+110ms 	║╚Execution stage complete. (45ms)
+111ms 	╚Event processed successfully (111ms)

#5

Two things…

  • I use “presence changes to” in my pistons for presence instead of “presence is”
  • isn’t “is not not present” the same as present?

#6

sure seems like it! Just surprised as I’ve been using this piston for months without any issue. I will try those edits and see how it performs, thanks for your help