Introduction
UG65 LoRaWAN® Gateway is a robust 8-channel indoor LoRaWAN® gateway. Adopting SX1302 LoRa chip and high-performance quad-core CPU, UG65 supports connection with more than 2000 nodes.
Key features:
- Quad-core industrial processor with big memory
- Equip with SX1302 chip, handling a higher amount of traffic with lower consumption
- 8 half/full-duplex channels
- IP65 enclosure and industrial design for parts of outdoor environment applications like eaves
- Desktop, wall, or pole mounting
- Multi-backhaul backups with Ethernet, cellular (4G/3G), and Wi-Fi
- DeviceHub and Milesight IoT Cloud provide easy and centralized management of remote devices
- Enable security communication with multiple VPNs like IPsec/OpenVPN/L2TP/PPTP/DMVPN
- Compatible with mainstream network servers like The Things Industries, ChirpStack, etc.
- Detect and analyze the noise level and provide an intuitive diagram for deployment
- Built-in network server and MQTT/HTTP/HTTPS API for easy integration
- Embedded Python SDK for users’ secondary development
- Fast and user-friendly programming by Node-RED development tool
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 UG65 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.
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 ChirpstackWe need to add a gateway on the Chirpstack. To add a gateway, follow next steps:
Configure the gateway to send dataTo connect and send data to the Chirpstack we should configure the gateway.
Now, the gateway is able to send a data to the network server. Configure application on the ChirpstackNow we need to configure application on the Chirpstack. To do this please follow next steps:
Now we can move to ThingsBoard to configure integration. Create integration in ThingsBoardNext, we will create an integration with Chirpstack inside the ThingsBoard and configure the integration on Chirpstack. At first, copy the code, we will need it to create the uplink converter: To add integration follow the next steps:
Integration is created.
If you see event STARTED and status Success it means that integration is successfully started and ready to receive messages. |
Add a gateway on The Things Stack Community EditionWe need to add a gateway on The Things Stack Community Edition. To add a gateway, you can follow next steps:
Configure the gateway to send dataTo connect and send data to The Things Stack Community Edition we should configure the gateway.
Now, the gateway is able to send a data to the network server. Configure application on The Things Stack Community EditionNow we need to configure application on The Things Stack. To do this please follow next steps:
Now we can move to ThingsBoard to configure integration. Create integration in ThingsBoardNext we will create “The Things Stack” (TTS) integration inside the ThingsBoard. At first, copy the code, we will need it to create the uplink converter: In the “Connect” step, you will need the following parameters:
Integration is created.
If you see event STARTED and status Success it means that integration is successfully started and ready to receive messages. |
Add a gateway on The Things IndustriesWe need to add a gateway on The Things Industries cloud. To add a gateway, you can follow next steps:
Configure the gateway to send dataTo connect and send data to The Things Industries cloud we should configure the gateway.
Now, the gateway is able to send a data to the network server. Configure application on The Things Industries cloudNow we need to configure integration on The Things Industries. to do this please follow next steps:
Now we can move to ThingsBoard to configure integration. Create integration in ThingsBoardNext, we will create the “TheThingsIndustries” integration inside the ThingsBoard. At first, copy the code, we will need it to create the uplink converter: In the “Connect” step, you will need the following parameters:
Integration is created.
If you see event STARTED and status Success it means that integration is successfully started and ready to receive messages. |
Add a gateway on the LoriotWe need to add a gateway on the Loriot. To add a gateway, you can follow next steps:
Configure the gateway to send dataTo connect and send data to the Loriot we should configure the gateway.
Now, the gateway is able to send a data to the network server. Configure application on the LoriotNow we need to copy the “Application ID” in the Loriot. It is required for configuring the integration in ThingsBoard. To do this please follow next steps:
Now we can move to ThingsBoard to configure integration. Create integration in ThingsBoardNext we will create an integration with Loriot inside the ThingsBoard. At first, copy the code, we will need it to create the uplink converter:
Integration is created.
If you see event STARTED and status Success it means that integration is successfully started and ready to receive messages. TroubleshootingIf you see the next error message, that means the output was not created automatically. You can configure it manually:
|
To check integration connection you can do the following:
- Click on integration row in the list;
- Go to the “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 UG65 LoRaWAN® Semi-Industrial Gateway and use the built-in integration to retrieve data from devices connected to UG65 LoRaWAN® Semi-Industrial 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.