Skip to main content
1-Visitor
March 14, 2019
Solved

Handle RemoteThing disconnection

  • March 14, 2019
  • 1 reply
  • 1613 views

I have some remote things with its properties bounded and logged.

I show to user Property History Log and I don´t want to lose logs when remote thing disconnects.

 

I have a C# console app with Thingworx SDK whom pushes the properties every x minutes. Does C# SDK save these properties in a queue and then send it to the server when reconnects? Or I have to handle this case?

Best answer by slangley

Hi @konyicska.

 

For historical values, you will need to log properties to a value stream.  Refer to this page in our Help Center to get started.

 

For the collection of messages during outages, there is an offline message feature that will retain the messages.  Once connectivity has resumed, the cache of messages will forward.  Check out the .net SDK developer's guide that you would have downloaded for more information.

 

If you have other questions after reviewing, please let us know.

 

Regards.

 

--Sharon

1 reply

slangleyCommunity ManagerAnswer
Support
March 29, 2019

Hi @konyicska.

 

For historical values, you will need to log properties to a value stream.  Refer to this page in our Help Center to get started.

 

For the collection of messages during outages, there is an offline message feature that will retain the messages.  Once connectivity has resumed, the cache of messages will forward.  Check out the .net SDK developer's guide that you would have downloaded for more information.

 

If you have other questions after reviewing, please let us know.

 

Regards.

 

--Sharon