cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create Events for my Digital Twin ?

didierheck
Product and Topic Expert
Product and Topic Expert
0 Kudos
184

The IoT application plugin allows to show Events of different importance categories.

How can I create events for my digital twin ? Is there some rules engine accessible through the SAP Leonardo Application Enablement services that would allow me to define the rules that will create those events based on catpured measurements ?

Thanks in advance for your precious answer.

Regards,

Didier

Accepted Solutions (0)

Answers (1)

Answers (1)

marcus_behrens
Product and Topic Expert
Product and Topic Expert
0 Kudos

There is no ingestion rule processing available (yet) once data has been passed to the thing api. At this point these are your options:

  1. Check measurements and create events before you ingest the data (e.g. in the device firmware, on a gateway or in the device management cloud if it offers plugins). I'm right now re-routing the message forwarding from iot services to a java app running on HCP to do some basic data transformation and from there I'm then sending the data to the thing api based on the standard destination.
  2. Create batch jobs that query the (recent) data (e.g. using the snapshot apis) in regular intervals.

You can define thresholds in the master data already but generating events based on them is still somethign that a rule or other application logic has to do by calling the apis to create such events.