Skip to main content
Version: v5.0

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"  }}  
ParameterTypeRequiredDescription
_nameStringNoGive the task a custom name.
_typeStringYesEnter "HAYSTACK".
_sequencenoNumberNoEnter a number to order the task in the sequence of tasks.
_inputParamsObjectNoAn object that describes the task's parameters
_projectStringYesYour Haystack project name
_urlStringYesThe Haystack endpoint
_unameStringYesYour Haystack user name
_pwdStringYesYour Haystack password
_actionStringYesEnter "pointhistory".
_toStringNoThe destination of the action result
_cmdStringNoThe command or query to execute during the task
_hisStartDateStringNoThe start date for retrieving historical data.