Our goal in this lab is to connect Node-RED and TAK by displaying location data in TAK software.
These instructions will take you through setting up a Node-RED flow for sending data to a TAK server.
You will need:
- Node.js
- Node-RED
- TAK client
- Taky server
- Install the latest LTS version of Node.js
- To verify whether this was installed properly run
node -v
andnpm -v
(the system should display what node and npm version is installed on your system)
- To verify whether this was installed properly run
- Install Node-RED locally with npm
- Check whether you installed it correctly by running
node-red
in your terminal - Navigate to http://localhost:1880/ which should automatically direct you to your flow (unless you changed the port number in configuration)
Install a TAK client
Install a Taky server
- Navigate to http://localhost:1880/ (or you
[host]:1880
if you are not using Node-RED locally) - Make a flow in Node-RED that looks like the example below
- Configure your inject node
- Configure the function node
- Configure the TCP node
Every thing should be set up so if you press the inject nodes, a cyan dot should appear in your TAK client.
In this tutorial, you learned how to integrate Node-RED and a TAK client for location data.