Heisenware Docs
Go to websiteGet a demo
  • 👋Welcome
  • Getting started
  • Release Notes
    • v84 - Get in the flow
    • v83 - Beauty treatment
    • v82 — Fully distributed
    • v81 — Removing old cruft
    • v80 — Chicks on fire
    • v79 — Nothing is forever
    • v78 — Keep moving
    • v77 — More intelligence
    • v76 — Well cooked
  • Build & Deploy Apps
    • Overview
    • Flow Builder
      • Nodes (Functions)
        • Inputs
        • Trigger
        • Output
      • Flows
      • Function Extensions
        • Modifier
        • Filter
        • Error handler
        • Memorizer
      • Objects & Instances
      • Utilities
        • Basic Functions
        • PDF functions
        • Circular buffer
        • Timer
        • Counter
    • Integrations
      • Protocol Connectors
        • GraphQL
        • HTTP/REST
        • MQTT
        • OPC UA
          • Heidenhain PLCs with OPC UA
        • RS-232/485
        • Siemens S7
      • Data Connectors
        • File
        • Relational Database
        • Time Series Database (WIP)
      • API Connectors
        • OGC SensorThings API
        • Operating System
        • Zebra RFID IoT Connector
      • Agent / (Edge Connector)
      • Calling Custom Code
    • UI Builder
      • Input Widgets
        • Form
        • File Upload
        • Photo
        • Signature
        • Barcode / QR-Code (WIP)
        • Document Scan (WIP)
      • Display Widgets
        • Chart
        • Chat
        • Circular Gauge
        • Data Grid
        • Linear Gauge
        • Map
        • Media View
        • Progress Bar
        • Sparkline
        • Status Lamp
        • Toast
        • Value Box
        • Kanban Board
        • Data Tiles
        • Pie Chart
        • Sankey
      • Buttons
      • Text Box
      • Images
      • Icons
    • Communication Interfaces
      • Email Notifications
      • OPC UA Server
    • Data & File Storage
      • Internal InfluxDB
      • Internal PostgreSQL
      • File Server
    • App Appearance
      • Pages
      • In-App Navigation
      • Screens & Devices
      • Theming
    • Simulation & Testing
      • Simulating Events
      • Simulating Data
    • PDF Templates
    • RAG-based Chatbot
    • Deployment
  • Manage Apps
    • Overview
    • Manage Apps
      • General Settings
      • Users and Access
      • Distribution & Versioning
    • Manage Integrations
    • Manage Account
      • Account Structure
      • Members
      • Workspaces
  • TUTORIALS
    • Build Your First Heisenware App
  • Connect Heidenhain CNC with OPC UA Support
  • Related links
    • Website
    • Privacy policy
    • Imprint
Powered by GitBook
On this page
  • Technical overview
  • Setup
  • System requirements
  • Agent creation
  • Using a prefix
  • Deployment and activation
  • Available connectors
  1. Build & Deploy Apps
  2. Integrations

Agent / (Edge Connector)

Learn how to create, deploy and use agents (formerly Edge Connector).

Last updated 3 months ago

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.

Technical overview

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.

Setup

System requirements

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

Agent creation

  1. 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.

  2. Select the target OS the agent shall be deployed on.

  3. Click submit.

  4. 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

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:

  1. You can only run one instance of this specific agent at a time (otherwise the IDs collide).

  2. 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:

  1. You can deploy the very same agent at multiple locations and run them simultaneously.

  2. Each agent establishes an individual connection and appears as an own entity in the App Builder.

  3. 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.

Deployment and activation

The agent must now be deployed and activated within the network you want to integrate data from.

  1. 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.

  2. The agent and its functionality should automatically appear in the functions panel.

  3. 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.

Available connectors

Currently available:

  • OPC UA Server: Deploy an OPC UA Server as part of your agent and configure it with Heisenware.

To open the creation dialogue, click on the cloud symbol with an arrow pointing down within the functions panel.

Optionally, define a for the agent. Use a prefix if you want to use one specific agent on more than one host machine.

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 .

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 .

OS: Read and display server stats. Also see the article.

InfluxDB: Connect an Influx database. Also see the article.

SQL: Connect to a SQL database. Also see the article.

HTTP : Connect to an HTTP server in a private network. Also see the article.

Files: Read and write files in other networks. Also see the article.

Siemens S7: Connect to a Siemens PLC inside a closed network. Also see the article.

OPC UA Client: Connect to an OPC UA Server inside a closed network. Also see the article.

MQTT Client: Connect to an MQTT Broker inside a closed network. For available functions, see the article.

Serial port: Connect to RS-232/485 interfaces. Also see the article.

Busylight: Allows to control devices from the cloud.

make the file executable
on request
operating system connector
InfluxDB connector
PostgresSQL connector
HTTP/REST connector
Files data connector
Siemens S7 protocol connector
OPC UA protocol connector
MQTT protocol connector
RS-232/485 connector
kuando Busylight
prefix
Agent setup
Creating an agemt