Datacake Docs
  • Welcome
  • Get Started
  • Changelog
  • Best practices
    • Best practices: Getting started
    • Best practices: Resolution (Timeframe)
    • Best practices: Dashboards
    • Best practices: Reports
    • Best practices: Grouping Devices
  • Datacake LNS
    • Getting Started
    • Gateways
      • Milesight LoRaWAN Gateway - UG6x
      • RAKwireless WisGate Edge Light 2
    • Devices
    • Add Devices without Gateway
  • Device
    • Product
    • Configuration
    • Claiming
    • Historical Data
    • Database
      • Configuration Fields
      • Fields
        • Manual input
        • Field Roles
        • Formulas
        • Mapping Fields
      • Data retention & Datapoints
      • Examples
        • Mapping 4-20mA Signals
        • Converting Units
  • Dashboards
    • Global Dashboards
      • Setting Homepage
    • Device Dashboards
    • Multi-Device Dashboards
    • Widgets
      • Value Widget
      • Chart Widget
      • Image Map
      • Map Widget
      • Text Widget
      • SOS Widget
      • Boolean Widget
      • iFrame Widget
      • Downlink Widget
      • Set Value Widget
      • Measurement List Widget
      • Heatmap Widget
      • Table Widget
      • Image Widget
  • Portal
    • Multi-Tenancy (Workspaces)
    • Reports
      • Energy Report
    • Administrators
    • Members
      • API Users
    • Security & Privacy
    • Billing
      • Support Packages
      • VAT Exemption / Tax ID
      • SMS Credits
      • Access Invoices
      • Unused time and Remaining time in Invoices (Prorations)
      • Codes
    • White Label
    • Rules
      • Legacy Rule Engine
        • Sending notifications via Telegram
      • New Rule Engine
        • Rule Engine Table Overview
        • Copy/Paste and Template Functionality
        • Advanced Rule Engine E-Mail and Webhook Templates
        • Time Restrictions
    • Zones
  • Cake Red
    • Get Started
    • Overview
  • LoRaWAN
    • Get Started
      • CSV Import
      • Custom LoRaWAN Device
    • Configuring LNS
      • The Things Stack (TTN / TTI) Automated Setup
      • The Things Stack (TTN / TTI) Manual Setup
      • Loriot
      • Kerlink Wanesy
      • Helium
      • ChirpStack
      • Tektelic
      • Actility ThingPark
      • Senet
      • Milesight Gateway
      • KPN
    • Downlinks (LoRaWAN)
      • Set Time Frame
    • Securing Webhooks
    • Payload Decoders
      • Location and GPS
      • Access Gateway Metadata
      • Access Measurements
      • Global Variables
    • Using Cayenne LPP
    • Converting Payload
  • Generic API Devices
    • HTTP Downlinks
  • Integrations
    • MQTT
    • Particle
      • Get Started
      • Adding Integrations
      • Decoding Payloads
      • Calling Functions
      • Templates
        • Particle Tracker One
    • Incoming Webhooks
    • Outgoing Webhooks
      • Securing Outgoing Webhooks in Datacake
    • Golioth
    • Blues Wireless Notecard
    • Sigfox
    • Swarm Asset Tracker
    • Grandcentrix Modbus Cloud Connect
    • YuDash LYNX IoT Gateway
    • Dragino NB-IoT
      • Changing NB-IoT Bands
    • Hardwario CHESTER
    • 1NCE OS
  • API
    • Exporting Data
    • Record Measurements via API
    • Node RED to Datacake
    • Generate Access Token
    • Internal MQTT
      • Get Started
      • MQTT Documentation
      • MQTT over WebSocket
      • Example Code
    • GraphQL API
      • Using GraphQL
      • Device Creation
      • Tutorials
        • Read Group via Tags
  • Guides
    • Python
    • Send Slack Notifications
    • Forward Data to Cake Red
    • Multiple Data Feeds
    • Automated Dynamic Downlinks
    • Ingesting JSON Data into Datacake API Devices
    • Working with Default HTTP Decoder on API Devices and Code Examples
    • Accessing Measurements in Decoders
    • Connecting Datacake to Notion Using Zapier
    • How to set up and use location on non-GPS devices
    • How to integrate with AWS IoT Core
    • How to Schedule Mass-Downlinks (Multicast) using Datacake Rule Engine
    • How to Map Sensor Values to Ranges or Booleans, Strings using Mapping Fields
    • Understanding Internal vs. External MQTT Brokers on Datacake
    • Sending UDP Messages between 1NCE OS and Datacake
    • Concepts of LoRaWAN Payload Decoders on Datacake
    • How to check if a value stays above or below limits for given time
Powered by GitBook
On this page
  • About
  • TL;DR
  • Requirements
  • How to Add LoRaWAN Gateways to Datacake
  • Gateway Tutorials
  • Step 1: Accessing the Gateway Section
  • Step 2: Adding a New Gateway
  • Step 3: Configuring and Understanding Gateway Connectivity
  • Step 4: Gateway Server Configuration
  • Step 5: Viewing and Setting Gateway Location
  • Conclusion
  • Tutorials
  • RAKwireless WisGate Edge Lite 2

Was this helpful?

  1. Datacake LNS

Gateways

Everything you need to know about adding LoRaWAN Gateways to Datacakes own LoRaWAN Network Server.

Last updated 1 month ago

Was this helpful?

About

In this tutorial, we are showing you how you can add any LoRaWAN Gateway to Datacake

TL;DR

If you don't have the time to read through this documentation, we have prepared a short intro video for you:

Requirements

Please make sure your LoRaWAN Gateway meets the following requirements.

Before proceeding with adding a LoRaWAN gateway to Datacake, it's essential to ensure that your gateway meets the following requirements:

  • Gateway Compatibility: The gateway must be compatible with LoRaWAN protocols and capable of being configured to communicate with an external LoRaWAN Network Server (LNS).

  • URL Configuration: You must configure the gateway to use Datacake's LNS URL. This is a critical step, as the gateway needs to point to Datacake's LNS to relay device data effectively.

  • Resetting Gateway (If Necessary): If your gateway is currently connected to a third-party LNS, you'll need to reset it before configuring it with Datacake's LNS URL. This ensures that the gateway is not simultaneously trying to connect to multiple network servers, which could lead to connectivity issues.

How to Add LoRaWAN Gateways to Datacake

In this comprehensive guide, we'll walk you through the process of adding your LoRaWAN gateways directly to DataCake, enhancing your workspace's capabilities. This tutorial is designed to make the addition of gateways as straightforward as possible, allowing you to efficiently manage your LoRaWAN devices.

Gateway Tutorials

We have provided step-by-step tutorials for common gateways. You can access them by clicking on the link in the following section.

  • Tutorials

Step 1: Accessing the Gateway Section

  • Navigate to the Sidebar: Within your Datacake workspace, locate the sidebar. Here, you'll find a new section labeled "Gateways" situated beneath the devices section.

  • Enter the Gateway List View: Click on the "Gateways" section. This action will take you to the gateway list view, which operates similarly to the device management section.

Step 2: Adding a New Gateway

  • Initiate Gateway Addition: In the list view, look for and select the "Add Gateway" option. This will open a modal where you're prompted to provide specific details about your new gateway.

  • Provide Gateway Details:

    1. Name of Your Gateway: Enter a descriptive name for your gateway, such as "My First Gateway."

    2. Gateway EUI: This unique identifier is usually found on a sticker on the back of your gateway or within its configuration interface. Enter the EUI as it is.

    3. Select Frequency: Choose the appropriate frequency based on your location and the gateway's specifications. Initially, Datacake supports Europe and the United States frequencies, with plans to expand this selection.

Step 3: Configuring and Understanding Gateway Connectivity

  • Gateway Creation: After selecting your frequency, click on "Create Gateway." Your gateway will be added to the list, and a new modal will appear providing further instructions.

  • Connectivity Update: A brief delay may occur before your gateway's online status updates due to status checks from the LoRaWAN network server occurring every minute. This means real-time status updates are not immediately available.

Step 4: Gateway Server Configuration

  • Copy Configuration Details: From the modal, you'll receive the necessary configuration details, including the protocol (UDP packet forwarder initially), the gateway server address (e.g., eu1.datacake-lns.com for Europe), and the port number (1700).

  • Apply Configuration to Gateway: Use these details to configure your gateway, ensuring it points to the correct Datacake server address and port, based on the selected frequency.

Step 5: Viewing and Setting Gateway Location

  • Access Gateway Dashboard: Clicking on "View Gateway" post-configuration will lead you to a dashboard displaying the gateway's status, connection times, uplink/downlink counts, and round-trip time.

  • Configure Location: To set or adjust your gateway's location, navigate to the configuration tab. Here, you can input the latitude and longitude manually or use the map tool for convenience.

Conclusion

By following these steps, you can successfully add and configure your LoRaWAN gateways within Datacake, streamlining your IoT project setup. This guide ensures that you can efficiently manage your gateways, set their locations, and understand their connectivity status, all from within your Datacake workspace.

Tutorials

RAKwireless WisGate Edge Lite 2

RAKwireless WisGate Edge Light 2