Skip to main content
Ascherer17
16-Pearl
December 4, 2020
Solved

Thing Presence and Reporting Strategy

  • December 4, 2020
  • 2 replies
  • 2341 views

I was looking into Thing Presence as described in the docs here: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FComposer%2FThingTemplates%2FThingPresence.html%23 

 

For context, we are using Thingworx 8.4 with Manufacturing Apps.  It sounds like I could use presence (isReporting) as a standard way to show that my Assets are connected and actively streaming data.

 

I have created a Reporting Strategy Thing to test this out (result = true) although I have a question: What triggers the evaluation?  I know the service 'EvaluateReporting' performs the evaluation, but is there anything that automatically triggers it or do I have to set something up?

 

Best answer by smainente

@Ascherer17 

 

You have to explicitly invoke the EvaluateReporting service (for example from a timer subscription or other event).

How are you ingesting data ? What kind of strategy are you trying to implement ?

 

Regards.

 

2 replies

smainente16-PearlAnswer
16-Pearl
December 7, 2020

@Ascherer17 

 

You have to explicitly invoke the EvaluateReporting service (for example from a timer subscription or other event).

How are you ingesting data ? What kind of strategy are you trying to implement ?

 

Regards.

 

Ascherer17
16-Pearl
December 8, 2020

We are using the Manufacturing Apps to set up data Property connections with a KEPServer industrial connection.  The assets have status available that we are configuring, however I'm investigating Thing Presence as an additional piece of this since it does not reflect the state of a KEPServer connection nor any other device. 

 

I want to set up a reporting strategy that checks if any data has streamed into the Asset lately.  I have an idea on how I will set this up but am open to suggestions/best practice.

16-Pearl
December 9, 2020

@Ascherer17 

The only suggestion I have in mind is to avoid frequent query on large stream to get the latest timestamp, it is possible to get this information from the property directly with Thing::GetPropertyTime()

Support
December 18, 2020

Hi @Ascherer17.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon