CoRE Resource Monitoring

Is there any real-time access to monitoring the resources that smart app use?
ST has contacted me noting that my resource usage is quite high with respect to a CoRE piston. I have one piston that simply watches for an off trigger from a physical light switch and turns off 3 other switches. It has odd behaviour as it works but there is about a 5-10 second delay before it turns off the other switches; my other pistons react almost immediately. I have disabled the piston and it seems I am back in the ballpark for load.
I would like to look at this data in real time and try to see why this piston fails to play nice.

@ady624 @tgauchat - can probably speak to this and help you out.

I don’t think so; you need SmartThings engineer assistance, unfortunately. @slagle can hook you up.

Certainly you can watch your Live Logging for any timeouts and also check the SmartApp instance detail page in your “graph.api” page, but there is very limited information provided.

1 Like

Could you please share the piston? Maybe a circular reference?

1 Like

at least we know who to blame now for all the slowness… :slight_smile:

Piston won’t show up in web, just spins. I captured the logs.
It doesn’t like my children, hmmm, sometimes I don’t either :wink:

dde50e5b-9d94-421d-9380-62dcf132852e 14:17:16: error java.lang.NullPointerException: Cannot get property ‘children’ on null object @ line 9364
6b7d02e9-bf46-4082-a042-2ef85b70848b 14:17:14: debug Parse returned raw:8AF100000FFF0D0000000000, dni:8AF1, normalActual:00000FFF, normalExpected:0D, aggressiveActual:00000000, aggressiveExpected:00
405a7977-9ad4-494b-9dcb-1693498fd65f 14:17:13: debug Parse returned raw:61CE000000000C0000000000, dni:61CE, normalActual:00000000, normalExpected:0C, aggressiveActual:00000000, aggressiveExpected:00
6034e637-4b39-4501-9936-b776c83f7662 14:17:13: debug Parse returned raw:F2D3000000000C0000000000, dni:F2D3, normalActual:00000000, normalExpected:0C, aggressiveActual:00000000, aggressiveExpected:00
dde50e5b-9d94-421d-9380-62dcf132852e 14:17:05: error java.lang.NullPointerException: Cannot get property ‘children’ on null object @ line 9364
14:17:01: info Waiting on events…
14:17:01: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.
14:17:01: info This console provides live logging of your SmartThings.