RAKwireless WisGate Edge Light 2

Introduction

In today's tutorial, we'll be guiding you through the process of adding the WisGate Edge Light 2 Gateway Series firmware to Datacake's LoRa Network Server (LNS) option. This step-by-step guide is designed to ensure a smooth setup process, allowing you to leverage the full capabilities of your LoRaWAN devices within the Datacake platform. Whether you're setting up a new workspace or looking to expand your current IoT network, this documentation will provide you with all the necessary instructions to successfully integrate your gateway with Datacake LNS.

Video

This video tutorial demonstrates all the necessary steps to follow if you prefer video guides.

Getting Started

Registering on Datacake

Before integrating your WisGate EdgeLight 2 Gateway, the first step is to register on Datacake. Navigate to the Datacake website and sign up to create a new workspace. Registration on Datacake is completely free, with no credit card information required. Once you have signed up, you will be directed to your new workspace, where you can begin the process of adding your devices and gateways.

Add a new Gateway

To commence the addition of your WisGate EdgeLight 2 Gateway, click on the "Gateway" section located on the sidebar of your workspace.

This action will lead you to the gateways view, which, initially, will not list any gateways. Datacake provides comprehensive documentation for adding gateways, accessible via a designated button.

Additionally, you'll find a blue "Add Gateway" button positioned in the top right corner—click this to proceed.

Configuring Gateway Information

Upon clicking "Add Gateway," a model will appear, prompting you to enter specific details about your gateway.

These details include the Gateway Name, Gateway UI (Unique Identifier), and the operating Frequency. Here's how to approach each requirement:

  • Gateway Name: Assign a name to your gateway, such as "My RAKwireless Gateway," to easily identify it within your workspace.

  • Gateway EUI: This unique identifier is essential for integrating your gateway with the network. In the following section, we will cover how to retrieve the Gateway EUI from your WisGate device.

  • Frequency: The frequency selection must match your gateway's operational frequency. This is typically determined by your geographic location (e.g., Europe operates on the 868 MHz frequency band).

Retrieving the Gateway EUI

The Gateway EUI is a critical component for the integration process. This unique identifier can be found on your WisGate Edge Light 2 Gateway's management platform. To access this, you'll need to switch to the management platform of your Rack Wireless WisGate Edge 2.

Configuration of your WisGate Edge Lite 2

Your LoRaWAN Gateway needs to be connected to the internet. To do this, you can plug the Gateway into your home wifi router or your company's internal network. When connected, the gateway will automatically request an IP address from the router. To access the web interface for management, you will need to find out the IP address of the gateway. This process is similar to accessing your router. Alternatively, if you switch on the RAKwireless WisGate Edge Lite 2, it will create a WiFi access point. You can then connect your device to the gateway by connecting to the WiFi hotspot. For more information on this topic, RAKwireless has some documentation available on the following webpage.

Accessing the Management Platform

Your WisGate device integrates seamlessly with your local network, receiving an IP address via DHCP. By accessing the web interface of your WisGate Edge Lite 2, you can navigate to the overview section via the sidebar. This section displays various metadata about your device, including the serial number, model, and notably, the EUI.

Copying the Gateway UI

The EUI, typically starting with "AC," resembles a MAC address and includes an additional character for identification. To proceed, click on the copy button next to the EUI and return to your Datacake gateway configuration page to paste the identifier.

Enter Gateway EUI on Datacake

Copy and paste the Gateway EUI into Datacake's modal.

Setting the Frequency

After inputting the Gateway UI, the final step in the model is to select the appropriate frequency for your gateway. This frequency must align with the operational frequency of your WisGate EdgeLight 2, which is indicated on the device's management platform. For instance, if your gateway is located in Germany, you would select the European frequency band (868 MHz).

Finalizing Gateway Addition

With the gateway name, UI, and frequency correctly entered, you can finalize the addition of your WisGate EdgeLight 2 to Datacake by clicking on the "Create Gateway" button. This action not only adds your gateway to the platform but also presents you with additional configuration information, such as the protocol, gateway server address, port number, and frequency summary.

Please don't close this modal yet, we do need to copy a few of those settings and information on the next steps.

Configuring WisGate Edge Light 2 Gateway

Integrating your WisGate EdgeLight 2 Gateway with Datacake LNS requires a series of precise configurations within the WisGate Configuration Panel.

Accessing the WisGate Configuration Panel

  1. Log into the WisGate Dashboard: Begin by accessing the dashboard of your WisGate EdgeLight 2. This is typically done through a web browser, entering the IP address assigned to your gateway.

  2. Navigate to Configuration: On the dashboard's sidebar, locate and click on the "Configuration" icon. This will open the configuration settings tab, where you can adjust various parameters to establish a connection with Datacake LNS.

Configuring the Working Mode

Within the configuration tab, you'll find options for setting your gateway's working mode. Select "Packet Forwarder," as it's the compatible mode for connecting your gateway to Datacake LNS.

Ensure that the frequency plan matches your geographical region's requirements. If your gateway is set in Germany, for instance, it should already be configured to the EU868 MHz frequency. This step is crucial for ensuring your gateway communicates on the correct frequency band.

Defining the Protocol

In the configuration settings, locate the protocol section. Here, you'll choose between two primary options for network communication: "Semtech UDP Gateway Management Protocol" and "LoRa Gateway MQTT Bridge."

For integration with Datacake LNS, opt for the "Semtech UDP Gateway Management Protocol." This protocol is designed for efficient communication between your gateway and the Datacake LNS platform.

Setting UDP Protocol Parameters

In the section below the protocol definition, you can find additional settings, such as server address or port.

  1. Identify the Server Address: The UDP protocol parameters require a specific server address for your gateway to connect to Datacake LNS. If you're setting up the gateway for the first time, you might see a placeholder or a different server address that needs to be replaced.

  2. Copy Server Address from Datacake: Log into your Datacake account and navigate to the section where your gateway's details are listed. Here, you'll find the appropriate server address for Datacake LNS (e.g., eu1.datacake-lns.com). Copy this address.

  3. Paste the Server Address: Return to the WisGate Configuration Panel and paste the copied server address into the corresponding field under UDP protocol parameters.

Adjusting Server Ports and Additional Settings

  1. Set Server Ports: Ensure that both the server port up and server port down are set to 1700. This is a common configuration for Datacake LNS integration and facilitates the correct data transmission route between your gateway and the LNS.

  2. Review Additional Settings: Other settings within the UDP protocol parameters, such as push timeout, keepalive interval, and options for datagram, MTU, auto-restart, and auto-data recovery, should generally be left at their default values unless Datacake specifies otherwise.

Saving and Applying Changes

  1. Save Changes: After entering all necessary information and ensuring the settings are correctly configured, look for the "Save Changes" button and click it. This action will reboot your WisGate Edge Light 2 Gateway and apply the new configurations.

  2. Verify Connectivity: Once your gateway reboots, verify that it has successfully connected to Datacake LNS. You can do this by checking the gateway's status on the Datacake platform, ensuring it appears online and is actively communicating data.

Last updated