- Introduction
- Prerequisites
- Gateway connection
- Configuration
- Add a gateway on the Chirpstack
- Configure the gateway to send data
- Configure application on the Chirpstack
- Create uplink converter
- Create integration
- Add a gateway on The Things Stack Community Edition
- Configure the gateway to send data
- Configure application on The Things Stack Community Edition
- Create uplink converter
- Create integration
- Add a gateway on The Things Industries
- Configure the gateway to send data
- Configure application on The Things Industries cloud
- Create uplink converter
- Create integration
- Add a gateway on the Loriot
- Configure the gateway to send data
- Create uplink converter
- Create integration
- Conclusion
Introduction
UG56 LoRaWAN® Gateway is a high-performance 8-channel LoRaWAN® gateway that offers reliable connectivity for industrial applications.
Industrial-Grade Design
Listen Before Talk
Gateway Fleet
Free Embedded Network Server
Multiple Backhaul Connectivities
Global LoRaWAN® Frequency Plans:
RU864/IN865/EU868/AU915/US915/KR920/AS923
After doing steps described in this guide you will have a connected and configured gateway on a network server and integration on ThingsBoard, it will allow you to add devices, receive data from them and process a data.
Prerequisites
To continue with this guide we will need the following:
Gateway connection
According to the official user manual and this guide you can connect the gateway to the network and get access to the WebUI in two ways:
- Wireless connection:
- Enable Wireless Network Connection on your computer and search for access point “Gateway_**” to connect it.
- Open a Web browser on your PC and type in the IP address 192.168.1.1 to access the web GUI.
- Enter the username(Default: admin) and password(Default: password), click Login.
-
Wired connection: Connect PC to UG56 Ethernet port directly or through PoE injector to access the web GUI of gateway. The following steps are based on Windows 10 system for your reference.
- Go to “Control Panel” → “Network and Internet” → “Network and Sharing Center”, then click “Ethernet” (May have different names).
- Go to “Properties” → “Internet Protocol Version 4(TCP/IPv4)” and select “Use the following IP address”, then assign a static IP manually within the same subnet of the gateway.
- Open a Web browser on your PC and type in the IP address 192.168.23.150 to access the web GUI.
- Enter the username and password, click “Login”.
-
Now you have ability to configure the gateway.
-
Open Packet Forwarder in the left menu and save Gateway EUI and Gateway ID, we will need them to create a gateway on network server.

Open Packet Forwarder in the left menu and save Gateway EUI and Gateway ID, we will need them to create a gateway on network server.
By default, Gateway EUI and Gateway ID are the same.
Next steps will describe how to connect the gateway to network server.
Configuration
To create an integration with a network server please choose first one of the supported network servers:
Add a gateway on the Chirpstack
We need to add a gateway on the Chirpstack.
To add a gateway, you can follow next steps:
-
Login to Chirpstack server.
-
Go to Gateways and click on Add gateway.
-
Fill name, gateway EUI (It will be different, you can find it on the gateway control panel) with your data, scroll down and click on Submit button.
-
Scroll up and put information about the gateway MAC Address (Just remove FFFF or FFFE in the middle of gateway EUI) into eth0 MAC address and gateway EUI to Custom EUI field.
-
The gateway is added. In gateways tab you can see its status.

Login to Chirpstack server.

Go to Gateways and click on Add gateway.

Fill name, gateway EUI (It will be different, you can find it on the gateway control panel) with your data, scroll down and click on Submit button.

Scroll up and put information about the gateway MAC Address (Just remove FFFF or FFFE in the middle of gateway EUI) into eth0 MAC address and gateway EUI to Custom EUI field.

The gateway is added. In gateways tab you can see its status.
Configure the gateway to send data
To connect and send data to the Chirpstack we should configure the gateway.
To do this please follow next steps:
-
Open gateway control panel.
-
Click on plus button, to add a new forwarder.
-
Put into Server address your server address, in our case it is sample.network.server.com.
-
Press Save button.
-
Now you can check the status of the gateway on Chirpstack, it should be online.

Open gateway control panel.

Click on plus button, to add a new forwarder.

Put into Server address your server address, in our case it is sample.network.server.com.

Press Save button.

Now you can check the status of the gateway on Chirpstack, it should be online.
Now, the gateway is able to send a data to the network server.
Configure application on the Chirpstack
Now we need to configure application on the Chirpstack. To do this please follow next steps:
-
Go to Applications in the left menu and click Add application.
-
Fill application name and click on Submit button.
-
Go to API keys in the left menu and click on the Add API key button.
-
Put some name for the API key and click on Submit button.
-
Copy the created API key and save it, we will need it for integration on ThingsBoard.

Go to Applications in the left menu and click Add application.

Fill application name and click on Submit button.

Go to API keys in the left menu and click on the Add API key button.

Put some name for the API key and click on Submit button.

Copy the created API key and save it, we will need it for integration on ThingsBoard.
Now we can move to ThingsBoard to configure integration.
Create uplink converter
At first, copy the code for uplink converter, we will need it for integration:
Create integration
Next we will create an integration with Chirpstack inside the ThingsBoard and configure the integration on Chirpstack.
To add integration click on ‘+’ button and follow the next steps:
-
Go to Integrations, press plus button and choose Chirpstack as a type, put some name.
-
Check Create new uplink data converter and replace a code or create the existing one.
-
Put your Application server URL and API Key from Chirpstack and copy HTTP endpoint URL, Click on Add button.
-
Open your Chirpstack, go to Applications -> Your application -> Integrations tab.
-
Scroll down and click on + under HTTP tile. Put HTTP URL endpoint into Event Endpoint URL(s) field and click on Submit button.

Go to Integrations, press plus button and choose Chirpstack as a type, put some name.

Check Create new uplink data converter and replace a code or create the existing one.

Put your Application server URL and API Key from Chirpstack and copy HTTP endpoint URL, Click on Add button.

Open your Chirpstack, go to Applications -> Your application -> Integrations tab.

Scroll down and click on + under HTTP tile. Put HTTP URL endpoint into Event Endpoint URL(s) field and click on Submit button.
Integrations are created.
Add a gateway on The Things Stack Community Edition
We need to add a gateway on The Things Stack Community Edition.
To add a gateway, you can follow next steps:
-
Login to the cloud and open your console.
-
Choose Register a gateway.
-
Press Add gateway button.
-
Put information about the gateway (gateway EUI).
-
The gateway is added.

Login to the cloud and open your console.

Choose Register a gateway.

Press Add gateway button.

Put information about the gateway (gateway EUI).

The gateway is added.
Configure the gateway to send data
To connect and send data to The Things Stack Community Edition we should configure the gateway.
To do this please follow next steps:
-
Open gateway control panel.
-
Click on plus button, to add a new forwarder.
-
Put into Server address your server address, in our case it is eu1.cloud.thethings.network
-
Press Save button.

Open gateway control panel.

Click on plus button, to add a new forwarder.

Put into Server address your server address, in our case it is eu1.cloud.thethings.network

Press Save button.
Now, the gateway is able to send a data to the network server.
Configure application on The Things Stack Community Edition
Now we need to configure application on The Things Stack. To do this please follow next steps:
-
Open your console and click on Create an application.
-
Create a new application.
-
Open Integrations -> MQTT in the menu.
-
Click on Generate new API key button.
-
Press on copy icon to copy a key and save it.

Open your console and click on Create an application.

Create a new application.

Open Integrations -> MQTT in the menu.

Click on Generate new API key button.

Press on copy icon to copy a key and save it.
Now we can move to ThingsBoard to configure integration.
Create uplink converter
At first, copy the code for uplink converter, we will need it for integration:
Create integration
Next we will create an integration with The Things Stack (TTS) inside the ThingsBoard.
Open Integrations section and add new Integration with the following parameters:
- Name: The Things Stack Application
- Type: The Things Stack Community
- Uplink data converter: The Things Stack Integration Uplink Converter
- Region: eu1 (region where your application was registered inside The Things Stack Community)
- Username: thingsboard-application@ttn (use Username from integration on TTS)
- Password: use Password from integration on The Things Stack Community
To add integration click on ‘+’ button and follow the next steps:
-
Go to Integrations, press plus button and choose The Things Stack Community as a type, put some name.
-
Check Create new uplink data converter and replace a code or create the existing one.
-
Fill the field with your parameters,

Go to Integrations, press plus button and choose The Things Stack Community as a type, put some name.

Check Create new uplink data converter and replace a code or create the existing one.

Fill the field with your parameters,
Press Add button and integration will be added.
Add a gateway on The Things Industries
We need to add a gateway on The Things Industries cloud.
To add a gateway, you can follow next steps:
-
Login to the cloud and open your console.
-
Choose Gateways.
-
Press Add gateway button.
-
Put information about the gateway (gateway EUI).
-
The gateway is added, copy and save Gateway Server address, we will need it later.

Login to the cloud and open your console.

Choose Gateways.

Press Add gateway button.

Put information about the gateway (gateway EUI).

The gateway is added, copy and save Gateway Server address, we will need it later.
Configure the gateway to send data
To connect and send data to The Things Industries cloud we should configure the gateway.
To do this please follow next steps:
-
Open gateway control panel
-
Click on plus button, to add a new forwarder
-
Put Gateway Server address from the network server
-
Press Save button

Open gateway control panel

Click on plus button, to add a new forwarder

Put Gateway Server address from the network server

Press Save button
Now, the gateway is able to send a data to the network server.
Configure application on The Things Industries cloud
Now we need to configure integration on The Things Industries. to do this please follow next steps:
-
Open Integrations -> MQTT in the menu.
-
Click on Generate new API key button.
-
Press on copy icon to copy a key and save it (After leaving the page it won

Open Integrations -> MQTT in the menu.

Click on Generate new API key button.

Press on copy icon to copy a key and save it (After leaving the page it won
Create uplink converter
At first, we will create an uplink converter to process the incoming data:
Create integration
Next we will create an integration with The Things Industries inside the ThingsBoard.
Open Integrations section and add new Integration with the following parameters:
- Region: eu1 (region where your application was registered inside The Things Industries Console)
- Username: thingsboard-data-integration@thingsboard (use Username from integration on The Things Stack Industries)
- Password: use Password from integration on The Things Industries
To add integration click on ‘+’ button and follow the next steps:
-
Go to Integrations, press plus button and choose The Things Industries Integration as a type, put some name.
-
Check Create new uplink data converter and replace a code or create the existing one.
-
Fill the field with your parameters,

Go to Integrations, press plus button and choose The Things Industries Integration as a type, put some name.

Check Create new uplink data converter and replace a code or create the existing one.

Fill the field with your parameters,
Press Add button and integration will be added.
Add a gateway on the Loriot
We need to add a gateway on the Loriot.
To add a gateway, you can follow next steps:
-
Login to Loriot server. We use eu2.loriot.io, but it depends on chosen region during registration.
-
Go to Networks and open Sample network or create a new one.
-
Scroll down and choose Packet Forwarder Semtech option.
-
Scroll up and put information about the gateway MAC Address (Just remove FFFF or FFFE in the middle of gateway EUI) into eth0 MAC address and gateway EUI to Custom EUI field.
-
The gateway is added.

Login to Loriot server. We use eu2.loriot.io, but it depends on chosen region during registration.

Go to Networks and open Sample network or create a new one.

Scroll down and choose Packet Forwarder Semtech option.

Scroll up and put information about the gateway MAC Address (Just remove FFFF or FFFE in the middle of gateway EUI) into eth0 MAC address and gateway EUI to Custom EUI field.

The gateway is added.
Configure the gateway to send data
To connect and send data to the Loriot we should configure the gateway.
To do this please follow next steps:
-
Open gateway control panel.
-
Click on plus button, to add a new forwarder.
-
Put into Server address your server address, in our case it is eu2.loriot.io. And set ports to 1780.
-
Press Save button.
-
Now you can check the status of the gateway on the Loriot, it should be connected.

Open gateway control panel.

Click on plus button, to add a new forwarder.

Put into Server address your server address, in our case it is eu2.loriot.io. And set ports to 1780.

Press Save button.

Now you can check the status of the gateway on the Loriot, it should be connected.
Now, the gateway is able to send a data to the network server.
Create uplink converter
At first, copy the code for uplink converter, we will need it for integration:
Create integration
Next we will create an integration with Loriot inside the ThingsBoard.
To add integration click on ‘+’ button and follow the next steps:
-
Go to Integrations, press plus button and choose Loriot as a type, put some name.
-
Check Create new uplink data converter and replace a code or create the existing one.
-
Go to Applications in the left menu and choose SampleApp or create a new one. Copy Application ID.
-
Fill the field with your parameters,

Go to Integrations, press plus button and choose Loriot as a type, put some name.

Check Create new uplink data converter and replace a code or create the existing one.

Go to Applications in the left menu and choose SampleApp or create a new one. Copy Application ID.

Fill the field with your parameters,
Press Add button and integration will be added.
To check integration connection you can do the following:
- Click on integration row in the list
- Go to Events tab
- Select Lifecycle events from Event type dropdown list
If you see event STARTED and status Success it means that integration is successfully started and ready to receive messages.
Conclusion
With the knowledge in this guide, you can easily connect your UG56 LoRaWAN® Gateway and use the built-in integration to retrieve data from devices connected to UG56 LoRaWAN® Gateway .
You can find some LoRaWAN devices in our device library and connect them or any other devices through a gateway on a network server.
After connecting the devices to the gateway, you will be able to see and process the data coming from the devices on the ThingsBoard.
Explore the platform documentation to learn more about key concepts and features.