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
  • Video
  • How To
  • Step 1: Onboard Your Device on KPN
  • Step 2: Set Up Your Device on Datacake
  • Step 3: Configure KPN for Datacake Integration
  • Step 4: Configure Data Processing on KPN
  • Step 5: Verify Integration
  • Troubleshooting Tips

Was this helpful?

  1. LoRaWAN
  2. Configuring LNS

KPN

KPN's LoRa network server provides a scalable and secure infrastructure for IoT applications, offering nationwide LoRaWAN coverage in the Netherlands.

Last updated 3 months ago

Was this helpful?

Introduction

This guide walks you through the process of integrating your LoRaWAN devices with the KPN network and Datacake, enabling seamless data transmission and visualisation. Whether you're working with temperature sensors, humidity monitors, or other IoT devices, this step-by-step guide ensures you can onboard and connect your devices efficiently.

KPN offers nationwide LoRaWAN coverage in the Netherlands, and Datacake provides a user-friendly platform for managing and visualizing device data. By combining these systems, you can easily scale your IoT deployments. Apart from KPN’s LoraWAN network, data generated through KPN mobile network services can also be visualised at Datacake

For more details, you can also refer to the official KPN Things User Manual to explore advanced features and additional integration options:

Video

We also prepared a nice video that shows you all aspects of the KPN Integration.

How To

Step 1: Onboard Your Device on KPN

  1. Log in to KPN Things:

    • KPN allows onboarding of a limited number of free devices for testing purposes.

  2. Add a New Device:

    • Navigate to the "Devices" section and select Add Device.

    • Enter the required details:

      • Device Name (e.g., LHT65).

      • Unique identifiers such as DevEUI, AppEUI, and AppKey.

    • Complete the process and activate the device.

  3. Configure Flows:

    • KPN uses a unique Flow system instead of applications.

    • Create a new Flow and link your device to this Flow:

      • Add a name for the Flow (e.g., "Datacake Flow").

      • Link your device to the Flow.

    • Assign the destination to the Flow (covered in later steps).

    • For more Information on Flows, we suggest you read the excellent documentation available on the KPN webpage.

Step 2: Set Up Your Device on Datacake

  1. Create a Datacake Account:

    • Datacake allows you to manage up to 5 devices for free.

  2. Add a New Device:

    • In Datacake, go to Devices and click on Add Device.

    • Choose LoRaWAN as the connectivity type and search for your device model (e.g., LHT65).

    • Enter your DevEUI and other required information.

    • Select KPN as the Network Server during the configuration.

  3. Retrieve Uplink URL:

    • Once the device is added, go to the device's Configuration tab.

    • In the LoRaWAN section, copy the Uplink URL provided for KPN integration.

Step 3: Configure KPN for Datacake Integration

  1. Create a Datacake Destination:

    • In the KPN Things portal, navigate to Destinations and select Add Destination.

    • Choose the Datacake plugin from the list and enter the following:

      • Name: For example, "Datacake Integration".

      • Connectivity Type: Choose LoRaWAN.

      • Uplink URL: Paste the URL copied from Datacake.

      • Shared Secret: Generate and copy a Shared Secret to ensure secure data transmission.

  2. Save and Assign Destination:

    • Save the destination and assign it to the Flow created earlier.

Step 4: Configure Data Processing on KPN

  1. Enable Raw Payload Forwarding:

    • In the Flow settings, enable Raw LoRaWAN Payload processing.

    • Ensure no decoders are active on KPN, as decoding will occur on Datacake.

  2. Finalize the Flow:

    • Ensure the Flow links the device, destination, and data processing settings.

    • Review the configuration to confirm the setup is correct.

Step 5: Verify Integration

  1. Activate the Device:

    • Power on the device and ensure it communicates with the KPN network.

    • Verify the device is listed as active in both KPN and Datacake.

  2. Check Data on Datacake:

    • Confirm data transmission from KPN to Datacake.

    • Use Datacake’s visualization tools to monitor and manage the device data.

Troubleshooting Tips

  • Ensure that DevEUI, AppEUI, and AppKey are entered correctly in both KPN and Datacake.

  • Confirm that the Shared Secret matches on both platforms.

  • Check for network coverage and signal strength if the device fails to transmit data.

Register for a free account if you haven’t already via

Visit and create a free account.

For further details, refer to the and reach out to Datacake support for assistance.

Welcome to KPN Things | Things Portal
Datacake
KPN User Manual
LogoDatacake | KPN Things User Guide
LogoData Processing | KPN Things User Guide