Is the "Time-In-Use" field available via the client API?

Hello!

Is there a way to see for how long a device has been in use using the client API?
I tried "device info, xxxxx" and "get client state"

#2

No that is not available in the client api due to technical reasons. This can be tracked on the server using the onBind event.