Agent / (Edge Connector)
Learn how to create, deploy and use agents (formerly Edge Connector).
Last updated
Learn how to create, deploy and use agents (formerly Edge Connector).
Last updated
The agent facilitates the integration of both pre-existing and real-time data from private networks by positioning connectors near relevant data sources or sinks. Upon deployment, it connects to a Heisenware workspace to either supply or receive data.
The agent is an executable that you can create directly in your Heisenware workspace whenever required. During its creation, you will specify the integration capabilities for your agents. It downloads instantly and can be run on most host systems to bridge networks.
The agent establishes an outbound-only connection via port 8883 using MQTTs (encrypted MQTT). You can deploy multiple individual agents as needed. The very same agent can also be used on different host machines.
The agent can be run on the following systems:
64-bit hardware with
MacOS
Windows
Linux
There is a separate Alpine version
ARM64 on Industrial PC
Select the connectors and integrations you would like to include in your agent. A single agent can be used to integrate multiple interfaces and protocols.
Select the target OS the agent shall be deployed on.
Optionally, define a prefix for the agent. Use a prefix if you want to use one specific agent on more than one host machine.
Click submit
.
Wait for the agent to be created. Its download starts automatically. Depending on your target OS, it has a different file format.
Using a prefix allows you to create just one agent and deploy it on several computers. This is extremely useful if you want to control an entire fleet of similar endpoints (e.g., machines).
If you built your agent without specifying a prefix, the corresponding executable will have a built-in unique ID. This has two effects:
You can only run one instance of this specific agent at a time (otherwise the IDs collide).
You can move the agent across computers or within file systems. It will always be recognized as the same one.
If you built your agent with specifying a prefix, the corresponding executable will generate an ID at startup time. This has the following effects:
You can deploy the very same agent at multiple locations and run them simultaneously.
Each agent establishes an individual connection and appears as an own entity in the App Builder.
An agent is only recognized as the exact same one after a restart, as long as it is stored in the same directory (by reading a hidden .hw-agent-id
file in this directory).
Don't move an agent with prefix after the initial activation.
The agent must now be deployed and activated within the network you want to integrate data from.
Save the agent on a device. For example, this can be on an industrial PC in the OT network, a machine controller or a regular laptop. It is crucial though that this device has access to the interface to be integrated, like an OPC UA server in case of OPC UA integration.
Depending on the target OS, simply double-click the file or open a terminal and run the file. On Linux and MacOS it might be necessary to make the file executable.
The agent and its functionality should automatically appear in the functions panel.
Expand it and drag any functions you want to use onto the board.
The agent establishes a connection to your Heisenware workspace via MQTTS. It is therefore necessary that port 8883, reserved for MQTTS, is NOT blocked.
If the agent does not appear in the function panel after you have started it, please speak to an IT admin responsible for the network to have the port unblocked. Then try again.
As mentioned above, the agent is a means of transport for moving connectors into the network of the data source or data sink. If a connector is missing, it can be added to the functionality of the agent on request.
Currently available:
OS: Read and display server stats. Also see the operating system connector article.
InfluxDB: Connect an Influx database. Also see the InfluxDB connector article.
SQL: Connect to a SQL database. Also see the PostgresSQL connector article.
HTTP : Connect to an HTTP server in a private network. Also see the HTTP/REST connector article.
Files: Read and write files in other networks. Also see the Files data connector article.
Siemens S7: Connect to a Siemens PLC inside a closed network. Also see the Siemens S7 protocol connector article.
OPC UA Client: Connect to an OPC UA Server inside a closed network. Also see the OPC UA protocol connector article.
OPC UA Server: Deploy an OPC UA Server as part of your agent and configure it with Heisenware.
MQTT Client: Connect to an MQTT Broker inside a closed network. For available functions, see the MQTT protocol connector article.
Serial port: Connect to RS-232/485 interfaces. Also see the RS-232/485 connector article.
Busylight: Allows to control kuando Busylight devices from the cloud.
To open the creation dialogue, click on the cloud symbol with an arrow pointing down within the functions panel.