Apama Connectivity For Cumulocity IoT  10.1 | Apama Connectivity For Cumulocity IoT Documentation 10.1 | Interacting with Cumulocity IoT Platform | Events and Alarms
 
Events and Alarms
The com.apama.cumulocity.Event event is sent on any event or alarm from a device. This event is sent to the com.apama.cumulocity.Measurement.CHANNEL (same as cumulocity.measurements) channel. This event contains the assetId of the source, a timestamp (same form as currentTime), message text, and optional parameters.
Examples of events and alarms:

com.apama.cumulocity.Event("c8y_EntranceEvent","12346082",1464364483.396,
"Entrance event triggered.",{"distance":any(float,317)})

com.apama.cumulocity.Event("c8y_UnavailabilityAlarm","12669915",1464365565.661,
"No communication with device since
2016-05-27T18:11:23.886+02:00",{"count":any(integer,1),
"severity":any(string,"MAJOR")})
Note: See the Apamadoc included with Apama Connectivity with Cumulocity IoT.

Copyright © 2013-2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release