How to use WebCORE with the Smartthings Tracker (cellular tracker)


#1

**1) I can’t for the life of me figure out how to trigger the Smartthings Tracker to update its location (or any other commands) in a piston.
I’ve tried all combinations of calls and still can’t get it to update its location. Is there any documentation on how these commands listed in the screenshot work? Or is there anyone out there who has messed with these trackers?

**2) All I want it to do is to trigger a location update.
I can update the location by tapping the button twice on the device or doing it through the smartthings application on my phone. Just not sure how to do that through a webCORE piston.

*4) ( keypad 2 is the custom name of my tracker)

5) Here are the logs after running the execute() command in the dropdown.
|+1ms|╔Received event [Home].test = 1576353045456 with a delay of 0ms|
|—|---|
|+75ms|║RunTime Analysis CS > 17ms > PS > 44ms > PE > 14ms > CE|
|+78ms|║Runtime (36076 bytes) successfully initialized in 44ms (v0.3.110.20191009) (76ms)|
|+79ms|║╔Execution stage started|
|+84ms|║║Cancelling statement #1’s schedules…|
|+93ms|║║Error while executing physical command keypad 2.execute([]): org.codehaus.groovy.runtime.metaclass.MethodSelectionException: Could not find which method execute() to invoke from this list: public void physicalgraph.app.DeviceWrapper #execute(physicalgraph.device.ICommand, java.util.List) public void physicalgraph.app.DeviceWrapper #execute(physicalgraph.device.ICommand, int, java.util.List)|
|+95ms|║║Executed [keypad 2].execute (8ms)|
|+97ms|║╚Execution stage complete. (18ms)|
|+99ms|╚Event processed successfully (98ms)|

ANY info would be appreciated!!


#2

Tagging @prjct92eh2


#3

I’ve never tried, but I wouldn’t be surprised if it doesn’t work with groovy base smart apps like webCoRE. Most new direct to cloud or cloud to cloud devi e don’t work with groovy smart apps. You could use the new app’s automation and some virtual devices to possibly accomplish what you want.


#4

I may have to give up on this one, unfortunately. Looking like it’s going to be over my head. I’m not sure what “new app’s automation and some virtual devices” means. I’ll do some research and check back to this forum for any updates. Thanks.


#5

Here is a link to describe virtual (or simulated) devices


#6

Any chance you could give me some more guidance on where to go from here. I created a ‘Simulated Switch’ but don’t know what to do with it lol. Can I somehow simulate pressing the Tracker’s button once to update it’s location? Or is there a way to trigger a location update another way via a http request?


#7

There’s no way to trigger a location update. I just have mine set to update every 10 minutes when not in sleep mode. It looks like you can only use it as an IF for leaving or entering a zone.


#8

Damn, it would be cool to set the update frequency to every few hours or so to preserve battery and manually update the location with an api call or something. That’s okay, thanks for the info.