Refresh capability


(Yves Racine) #1

Hello, I’ve noticed that most of the times, the smartthings UI in the app doesn’t refresh well when I post new values with sendEvent.

There is a significant lag, and sometimes I need to stop the current smartthings app and restart it to get the current values of the ecobee device type I created. I can see the proper values by clicking on my device in the IDE under https://graph.api.smartthings.com/device/list, but not in the smartttings app.

I noted that there are “Refresh” and “Polling” Capabilities. For the moment, my device type has only “Polling” Capability. What’s the difference between the 2?

Is “Refresh” Capability required in this case or it’s already a capability that is included with Polling?

I don’t know if the fact that I’m using android v4.4.4 on all my nexus devices (4,5,7) can be part of the problem or not.

Let me know. Thnx.