cayenne.lpp.publish action

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

Action

To access the cayenne.lpp.publish trigger action:

On the Adding trigger page, under Binary, drag cayenne.lpp.publish to the canvas.

Canvas

When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.

The left routing point (red) is the failure route. This route will be taken if there is an error during execution.

The right routing point (green) is the success route. This route will be taken if action executes successfully.

Form

Add cayenne.lpp.publish

Parameters

Name

Type

Required

Description

Thing Key

String

Yes

Identifies the thing to which the published property is to be associated.

Timestamp

String

 

The date and time of the property to be published.

Input

String/JSON

Yes

The input can either be a string or a JSON object. If invoked with a string, then $(event.input) will be a simple string value, if JSON is passed to the input, then it will be an object. If an object, then JSON like {"value":10} will be accessed as $(event.input.value) .