Haystack
The Haystack task is a connector task that lets a workflow interact with a Project Haystack server, which is commonly used in building automation, IoT, and energy management systems. Project Haystack provides a standardized way to tag, model, and exchange data from smart devices and assets.
{ "_name": "haystack_task", "_type": "HAYSTACK", "_sequenceno": 1, "_inputParams": { "_project": "test_project", "_url": "https://staging.abcedef.com/api", "_uname": "fred", "_pwd": "XXXXXX", "_action": "pointhistory", "_to": "file", "_cmd": "point and his and hisStatus == \"ok\"", "_hisStartDate": "2025-01-01" }} | Parameter | Type | Required | Description |
|---|---|---|---|
_name | String | No | Give the task a custom name. |
_type | String | Yes | Enter "HAYSTACK". |
_sequenceno | Number | No | Enter a number to order the task in the sequence of tasks. |
_inputParams | Object | No | An object that describes the task's parameters |
_project | String | Yes | Your Haystack project name |
_url | String | Yes | The Haystack endpoint |
_uname | String | Yes | Your Haystack user name |
_pwd | String | Yes | Your Haystack password |
_action | String | Yes | Enter "pointhistory". |
_to | String | No | The destination of the action result |
_cmd | String | No | The command or query to execute during the task |
_hisStartDate | String | No | The start date for retrieving historical data. |