EEA: Init Trigger
The EEA: Init Trigger will trigger a workflow whenever the eea_init
function is called within the Embedded Edge Agent.
Node Properties
This node does not require any configuration. It will automatically fire whenever eea_init
function is called within the Embedded Edge Agent is called on your Embedded Device.
Payload
The payload will have an empty object on the standard data
field, since there is no useful data to report other than the fact that eea_init
function is called within the Embedded Edge Agent was called. In the general case, an EEA: Init workflow payload will look like the following:
{
"data": {},
"deploymentId": "666666666666ffffffffffff",
"deviceId": "222222222222bbbbbbbbbbbb",
"flowId": "333333333333cccccccccccc",
"flowName": "My Great Workflow",
"flowVersion": "myFlowVersion",
"globals": {
"aJsonGlobal": {
"key": "value"
},
"aNumberGlobal": 42,
"aStringGlobal": "My value"
},
"isConnectedToLosant": true,
"time": 1455902760000,
"triggerId": "onBoot",
"triggerType": "onBoot"
}
Resources
Was this page helpful?
Still looking for help? You can also search the Losant Forums or submit your question there.