LogoLogo
  • KPN THINGS USER GUIDE
    • Introduction
    • Getting started
      • Registration and setup
      • Device simulator app
      • Connect devices
        • SIM cards
        • Supported devices and KPN Devices
        • SODAQ R412M
        • Smartrak
        • Marvin development board
        • LoPy5
        • Arduino MKR WAN 1300/1310
        • Arduin MKR NB 1500
    • All videos
    • Tutorials
      • Configure a flow
      • Connect a HTTPs destination
      • Create a simple IoT web applicationPage
      • Send instruction to LoRa DevicePage
      • Send your data to Azure SQL
      • Technical overview
        • Management data model
        • Uplink communication
        • Downlink communication
        • Location data
      • Accounts and projects
        • Customer accounts and users
        • Projects
        • Customer management
        • Cost overview and contract
    • Frequently asked
      • Multi Factor Authentication
  • GENERAL FUNCTIONS
    • Quick reference videos
    • APIs
  • THE PORTAL EXPLAINED
    • Things Manager
      • Devices
        • Bulk operations
      • Data
        • Device data graph
      • Connectivity
        • LoRa connectivity configuration
      • Bulk reports
    • Things Creator
    • Support
      • News
      • Release notes
      • Real-time status
      • Service reports
      • Documents
      • Support tickets
      • Invoices
      • Contact info
    • Shop
  • BUILDING BLOCKS
    • Devices
      • Sensors
        • KPN Conditionsensor CO2 II
        • KPN Conditionsensor CO2 III
        • KPN Conditionsensor CO2 III motionPage 1
        • KPN FillTag I
        • KPN FillTag II
        • 1M2M ED1608
        • Elsys ERS
        • Device Simulator (Mobile Phone app)
        • Generic Device (Internet connected)
        • Generic LoRa device (preset connectivity)
        • Generic LoRa device (programmable)
        • Generic M2M device
        • Generic M2M device (with Internet connection)
      • Trackers
        • KPN Global Tracker Autonomous
        • KPN Global Tracker Wired
        • KPN LocationTag I
        • KPN LocationTag II
        • KPN LocationTag II v2
        • KPN LocationTag II v2 Expert Mode
        • KPN LocationTag II v3
        • KPN LocationTag III (with GPS)
        • KPN LocationTag III (without GPS)
        • KPN LocationTag III v2
        • KPN LocationTag III v2 Buffer
        • KPN LocationTag III v3
        • KPN LocationTag III v4
        • KPN LocationTag V
        • KPN LocationTag VI
        • KPN LocationTag WS
        • Streamline LoRa
        • Streamline M2M
        • Viloc
      • Routers
      • Gateways
        • KPN FSK Basestation
      • Device SDK
    • Connectivity
      • Connecting LoRa devices
        • LoRa connectivity configuration
      • Connecting M2M devices
      • Connecting Internet devices
      • Connecting MQTT Devices
    • Data Processing
      • ThingsML and SenML
        • ThingsML
        • SenML
          • Understanding and Interpreting SenML Data
          • Changes in KPN SenML
      • Device Twin
      • Decoders and encoders
        • Common measurements list
        • Decoder migrations
        • DIY Decoder
          • DIY decoder scripts
      • Merger
      • Device data
      • Devices
    • Destinations
      • HTTPS destination
      • MQTT broker
      • Cumulocity IoT Platform
      • Azure Event Hubs
      • Azure IoT Hub
      • Test Endpoint
      • ThingsBoard
      • Datacake
      • AWS Lambda
      • Google Cloud Run functions
  • IOT LINE UP
    • Freemium
      • Test SIM cards
    • Explorer
    • Modular
    • Tailored
    • Terms and Conditions
Powered by GitBook

© 2024 KPN - All rights reserved.

On this page
  • KPN Things: Configure a ThingsBoard destination
  • Name
  • Connection details
  • ThingsBoard: Create an integration

Was this helpful?

Export as PDF
  1. BUILDING BLOCKS
  2. Destinations

ThingsBoard

This page describes how to configure a Destination in KPN Things to send your data to the ThingsBoard cloud platform

KPN Things: Configure a ThingsBoard destination

Name

Give your ThingsBoard Destination a name and optionally a description.

  • Destination name (required) - the administrative name of your Destination.

    Technical name: name

    Example value: Tenant X

  • Description - an administrative description of your Destination.

    Technical name: description

    Example value: Tenant with Materieelbeheer application

Connection details

First you need to create a ThingsBoard Cloud account (Professional Edition) on https://thingsboard.io. Then follow the instructions below to create an integration in your ThingsBoard account. Keep your KPN Things Destination configuration screen open, as you will need to copy information from and to it later.


ThingsBoard: Create an integration

Log in to your ThingsBoard account and go to Integrations center > Integrations. There, add a new integration (by clicking the "+"-sign) and follow the steps below.

1. Basic settings

In the first step, enter the following information.

  • Integration type (required) Select HTTP as the integration type.

  • Name (required) Enter a descriptive name, anything you like, such as KPN Things integration.

Click Next.

2. Uplink data converter

Select Create new uplink data converter and enter a descriptive name, such as KPN Things converter.

Next, replace the example code with the following code:

// KPN Things converter code for ThingsBoard
// (Change at you own risk ;-) 

return decodeToJson(payload);

Click Next.

3. Downlink data converter

Skip this step. Yes, by clicking the Skip button ;-).

4. Connection

In this step, you need to copy/paste information back and forth. So pay attention, please.

  • HTTP endpoint URL Copy the HTTP endpoint URL from ThingsBoard into the KPN Things Destination configuration.

  • Enable security (Headers filter) In ThingsBoard, switch the toggle Enable security (Headers filter) to on.

  • Add a set of headers Click Add to reveal a set of input fields.

  • Configure the Header and Value pair Go back to the KPN Things Destination configuration screen, and click the Generate button next to the Security header fields. This will generate a value for the X-Things-Secret header. Copy/paste both the Header and generated Value to the corresponding fields in ThingsBoard. Then, press Add the save new integration in ThingsBoard.

Lastly, go back to the KPN Things Destination configuration screen and press the Add ThingsBoard destination button to save the new destination in KPN Things.

Now you are finished and good to go!

PreviousTest EndpointNextDatacake

Last updated 5 months ago

Was this helpful?