Jump to main content
 Device Cloud 2018
Device Cloud 2018
  1. Home
  2. Device Cloud Management Portal User's Guide
  3. Reference - Cloud Trigger Actions
  4. Binary Action

    The Binary action decodes the input payload.

  • Device Cloud Management Portal User's Guide
    • Introduction to the Management Portal

      The Management Portal is the browser-based user interface that is part of Device Cloud.

    • Logging in to the Management Portal

      Log in to the Management Portal to perform administrative tasks and to access developer tools.

    • Navigating the Management Portal

      The Home page shows recently viewed things, API usage for the previous 30 days, recent event logs, and a pie chart that displays a quick overview of connected things and status.

    • Updating Your User Profile

      You can change your profile details and customize the appearance and behavior of the Management Portal.

    • User Management
    • Organizations
    • Notification Groups
    • Dashboards
    • Reference - Dashboard Widgets
    • Applications
    • Thing Definitions
    • Things
    • Method Aliases
    • Files
    • Viewing Event Logs

      You can view the list of events for all things and users in an organization.

    • Service API Tools
    • Triggers
    • Reference - Cloud Trigger Events
    • Reference - Cloud Trigger Actions
      • alarm.current Action

        This trigger action retrieves the current timestamp, state, message, duration, latitude, and longitude of the alarm key specified in the action.

      • alarm.publish Action

        This trigger action publishes an alarm value to Device Cloud.

      • array.iterator Action

        This trigger action receives an array of data and iterates over each element in the array from the first item to the last item.  Every time it is routed to, it will output the next element in the array. 

      • attribute.current Action

        This trigger action will retrieve the current thing's attribute.

      • attribute.publish Action

        This trigger action will publish and set an attribute for a thing.

      • aws.kinesis.firehose.put_record Action

        This trigger action will publish to AWS Kinesis Firehose.  

      • aws.kinesis.stream.put_record action

        This trigger action will put a record in the Kinesis stream.

      • aws.lambda.invoke action

        This trigger action accepts an AWS Lambda function with the payload and sends it to AWS to get a response.

      • azure.event_hub.send Action

        This trigger action will publish to Microsoft Azure Event Hubs.

      • Binary Action

        The Binary action decodes the input payload.

      • base64.decode action

        This trigger action accepts a base64 encoded string and converts it to a binary encoded string.

      • base64.encode action

        This trigger action accepts a binary encoded string (ASCII or UTF8 encoded) and converts it to a base64 encoded string.

      • binary.decode Action

        This trigger action accepts a binary encoded string and decodes it to an object. 

      • cayenne.lpp.decode action

        This trigger action accepts a decoded string and converts it to a binary encoded string.

      • cayenne.lpp.publish action

        This trigger action is used to decode cayenne.lpp data and publish it to the corresponding properties of a Thing.

      • Comment Action

        This action is used to create a comment node on the canvas.

      • dynamic.exec action

        This trigger action invokes a sub trigger.

      • email.send Action

        This trigger action publishes an email to Device Cloud for delivery.

      • Failure Action

        This action is used to indicate that a trigger terminated in a failed state.

      • google.bigquery.publish Action

        This trigger action publishes attributes, properties, and location data to the indicated BigQuery Table ID.

      • hex.decode Action

        The hex.decode trigger action accepts a hexadecimal encoded string and converts it to a binary encoded string.

      • hex.encode Action

        The hex.encode trigger action accepts a binary encoded string (ASCII or UTF8 encoded) and converts it to a hexadecimal encoded string.

      • http.client Action

        This trigger action executes an HTTP request to a specified server through GET, POST, PUT or DELETE.

      • json.decode action

        This trigger action will take a JSON encoded string and convert it to an object (or array).

      • json.encode action

        This trigger action will take an object (or reference to an object) and JSON encode it to a string.

      • location.current Action

        This trigger action will acquire the current location of a specific thing.

      • location.network.decode Action

        The location.network.decode trigger action is used to decode a location by network.

      • location.publish Action

        The location.publish trigger action is used to publish the location of a Thing with latitude/longitude in Device Cloud. Speed, direction, and altitude are optional parameters.

      • location.speedlimit Action

        This trigger action acquires the speed limit of a specific location from Device Cloud.

      • math.expr action

        This trigger action will perform a definitive calculation to compute the value of a mathematical expression. Mathematical expression combines, numbers, variables, and operators to calculate the value of something.

      • math.if action

        This trigger action will perform a comparison using the expression provided to it. This trigger action allows for multiple logical action routes to be handled in one trigger.

      • method.exec Action

        This trigger action executes a method on a Thing.

      • mqtt.publish action

        This trigger action will publish a message on a specified MQTT topic.

      • object.iterator action

        This trigger action receives an object and iterates over its key-value pairs.  Every time it is routed to, it outputs the next key-value pair. 

      • property.current Action

        This trigger action will retrieve the current timestamp and value of the property key specified in the action.

      • property.publish Action

        This trigger action will publish a property to Device Cloud.

      • property.summary Action

        This trigger action will return a summary of property values for the key and time range specified.

      • slack.webhook Action

        This trigger action will transmit arbitrary text to a specific Slack channel.

      • string.compare Action

        This trigger action will perform a comparison using one or more strings provided and the comparison function selected.

      • string.join action

        This trigger action will take an input array and will join the values by the delimiter into a string.

      • string.range action

        This trigger action will take a string, and break it apart based on the range definitions defined in the fields parameter.

      • string.split action

        This trigger action splits an Input string and Fields into arrays of strings by separating the string into substrings, using a specified delimiter that determines where to make each split. Each field string array values (Fields) are matched with the corresponding input string array (Input).

      • Success action

        This action is used to indicate the successful termination of a trigger.

      • thing.attr.find Action

        This trigger action will find a thing's attribute.

      • thing.attr.set Action

        This trigger action will set a value to a thing's attribute.

      • thing.bind Action

        This trigger action is used to bind a thing to the current session.

      • thing.find Action

        This trigger action will find a thing.

      • thing.isconnected action

        This trigger action will check if a thing is connected.

      • thing.log Action

        This trigger action is used to publish a log entry for a Thing.

      • thing.tag.add Action

        This trigger action will add tags to a thing.

      • thing.tag.delete Action

        This trigger action will remove tags from a thing.

      • thing.update Action

        This trigger action updates the base properties of a thing document.

      • time.fromint Action

        This trigger action will convert an integer representation of the number of seconds or milliseconds since Unix epoch (midnight Jan. 1, 1970) to a timestamp.

      • time.toint Action

        This trigger action will convert a timestamp to an number representing the number of seconds and milliseconds since Unix epoch (midnight Jan. 1, 1970).

      • trigger.result Action

        This trigger action is used for events returning data. It receives the results from the trigger event and performs further actions using the trigger results.

      • trigger.sleep Action

        This trigger action pauses the trigger based on the time specified in the trigger action.

    • Campaigns
    • Geofences
    • Third-Party Services
    • Field Formats and Limitations

      The following table provides the limitation of the fields used in the Management Portal.

Binary Action

The Binary action decodes the input payload.

The Binary category provides the following actions:

  • base64.decode action

  • base64.encode action

  • binary.decode Action

  • cayenne.lpp.decode action

  • cayenne.lpp.publish action

  • hex.decode Action

  • hex.encode Action

Generated by <oXygen/> XML WebHelp