Skip to main content
Dec 4, 2020 11:22 PM UTC
Solved

Thing Presence and Reporting Strategy

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?

 

smainenteAnswer
Dec 7, 2020 8:20 AM UTC

@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.

 

5 replies

smainenteAnswer
Dec 7, 2020 8:20 AM UTC

@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.

 

Dec 8, 2020 1:42 AM UTC

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.

Dec 9, 2020 10:57 AM UTC

@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()

Dec 18, 2020 2:59 PM UTC

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