Ubidots Events Engine allows you to insert Custom Fields from devices, variables and the Event itself. The following Custom Fields are currently supported:

  • Device label: The device label of the device that contains the variable that triggered the Event.
  • Device name: The device name of the device that contains the variable triggered the Event.
  • Device properties: Properties of the device that contains the variable that triggered the Event. To specify the device property, double click on the custom field and type the property key after the "context" key. Example of a property with key = "city":
  • Trigger value: The value of the variable that triggered the Event, at the moment of trigger.
  • Trigger timestamp: Date and time at which the Event was triggered.
  • Last value: The latest value of the variable that triggered the Event.
  • Last value's timestamp: Date and time of the latest value of the variable that triggered the Event.
  • Variable: A JSON-like object with Variable's data: name, id and properties.
  • Variable ID: Unique identifier of the variable that triggered the Event.
  • Variable name: Name of the variable that triggered the Event.
  • Variable properties: Properties of the variable that triggered the Event. To specify a property, double click on the custom field, and type the property key after the "properties" key.
  • Timestamp: Date and time of the value that triggered the Event. Technically, this could differ from "Trigger timestamp" by a few seconds, which is the time the Events Engine takes to process the Event conditions and trigger the Event.
  • Trigger value’s context: The context of the value that triggered the Event.
  • Last value’s context: The context of the latest value of the variable that triggered the Event

Custom Fields are accessible from most Events actions:

Some Event actions might limit the amount of accepted Custom Fields.

Did this answer your question?