Skip to main content
Share:
Link is copied

Data Exchange with evalink talos

info

You need to enable and configure Docker, Node-RED, and MQTT before you proceed with the steps below.

You need to enable and configure HTTP Forwarding to access services via evalink talos.

By using Node-RED and MQTT integrations within the TNA, you can set up real-time, bidirectional data flows to and from evalink talos, enabling data processing, delivery, and retrieval. Once you have enabled and configured the integrations, do the following:

  1. On your evalink talos account, go to Sites > [site] > Receivers > tab

  2. Click on lan Access Services near web_asset Web Server at the top right corner of your TNA Virtual Receiver record

Access Services
  1. Under Applications, click on Open next to nodered record
Open Node-RED
  1. On the Node-RED login page, enter evalink as the username and the configured password on the TNA Web Server
Node-RED Login
  1. Click on Login

  2. If you see the projects popup, click on Not right now to dismiss it

Node-RED Homepage

Configure MQTT Broker Connection

  1. Type mqtt in the filter nodes from the upper left corner of the page, two nodes are available to select:

    mqtt in: Connects to an MQTT broker and subscribes to messages from the specified topic. Drag and drop it in your flow to receive data from evalink talos.

    mqtt out: Connects to an MQTT broker and publishes messages. Drag and drop it in your flow to send data to evalink talos.

MQTT Nodes
  1. Double click the selected node and click on add next to Add new mqtt-broker... to configure the broker
MQTT Broker
  1. Under the Connection tab, type localhost in the Server text field and the configured MQTT port on the TNA Web Server, the default value is 1883
MQTT Broker Connection
  1. Under the Security tab, enter the username and password that are configured for MQTT integration on the TNA Web Server
MQTT Broker Security

Here are the credentials for MQTT integration in the TNA Web Server

MQTT Configuration Credentials
  1. Click on Add to save the configuration
MQTT Broker Add
  1. Click on Deploy from the upper right corner of the page

    If all the parameters are correct, the state will change to connected in either mqtt in or mqtt out nodes.

MQTT Broker Deploy
  1. Double click the mqtt out node and type sitasys/receive or the set value for the Receive Topic parameter in the MQTT configuration on the TNA Web Server
MQTT Out Topic

Here is the value for the Receive Topic parameter in the TNA Web Server

MQTT Configuration Receive Topic
  1. Choose the Mode in the MQTT configuration depending on your desired result:

    Raw: Messages are forwarded like they arrive with no formatting. Make sure Generate Message ID is enabled in the MQTT configuration on the TNA web server.

    Sitasys: Messages are formatted for Sur-Gard. An ID must be provided.

  2. (Optional) To view the different modes in action, you can use the inject node and choose string as the payload type

MQTT Inject Node


For the Raw mode, type a simple Hello world, click Done, then connect it with the mqtt out node.

MQTT Raw Message


After clicking Deploy, an alarm with the message is triggered in evalink talos.

evalink Raw Mode Message


For the Sitasys mode, type #1234[NBA02] click Done, then connect it with the mqtt out node.

MQTT Sitasys Message


After clicking Deploy, a Burglary Alarm with Zone = 02 is triggered in evalink talos.

evalink Sitasys Mode Message
  1. Double click the mqtt in node and type sitasys/send or the set value for the Send Topic parameter in the MQTT configuration on the TNA Web Server
MQTT Configuration Send Topic
  1. From your evalink talos account, create a workflow including the Send TNA command step
evalink MQTT Workflow
  1. Select your TNA and choose Send MQTT message as the command

  2. In the Sent value text field, type a message as the payload

  3. Save your workflow

  4. In Node-RED, type debug in the filter nodes from the upper left corner of the page then drag and drop it in your flow

Node-RED Debug Node
  1. Connect the debug node to the mqtt in node

  2. From the the upper left corner of the page, select the debug icon and then click on Deploy

MQTT Debug Send
  1. Run the workflow from your evalink talos account

    If all the parameters are correct, a message will be displayed within the debug messages window.

MQTT Debug Message

Was this page helpful?