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
  • Introduction
  • Create Data Converter
  • Name
  • Type
  • Decoder
  • Create Integration
  • Name
  • Type
  • Data Converter
  • Application Address
  • Port
  • Base Path
  • Enable HTTPS
  • Authentication
  • Request Headers
  • Send empty payload
  • Allow all ports
  • Downlinks

Was this helpful?

  1. LoRaWAN
  2. Configuring LNS

Tektelic

Send sensor data from Tektelic LNS to Datacake.

Last updated 3 years ago

Was this helpful?

Introduction

In this guide, we will show you how you set up the Tektelic LNS correctly so that it forwards data to the Datacake IoT platform.

Read more about Tektelic here:

Create Data Converter

In order to be able to forward your sensor data to Datacake you need to create a new data converter on the Tektelic LNS configuration page.

Name

  • Enter a simple name like "Datacake Converter"

Type

  • In here please select "Custom" as the converter type.

Decoder

  • By selecting "Custom" as the type for that converter this prepopulates the Decoder section with a short JavaScript Snippet.

  • Please leave this short snippet unchanged.

Backup

  • In case you don't see a default snippet, you can pase in the following:

var arr = []; 
for (var i = 0; i < bytes.length; ++i) { 
    arr.push(bytes[i]); 
} 
return {
    "bytes": JSON.stringify(arr), 
    "port": port, 
    "paylod length": bytes.length
};

Create Integration

Now we need to set up an integration on the application from which you want to forward the data.

Name

  • Please give your integration a name, like "Datacake Integration".

Type

  • In here you select the "HTTP" type.

Data Converter

  • Here you select the Datacake data converter that you have created in the step before, which is also documented in the previous chapter.

Application Address

  • Please set the application address to the following (see screenshots above and below if you are not 100% sure):

  • api.datacake.co

Port

  • As we are wanting to use SSL encrypted communication only you have to set the port to the following number:

    • 443

Base Path

  • Please set the base path setting to the following path:

  • /integrations/lorawan/tektelic/

Please make sure you enter it exactly as shown above (with ending /). Also have a look at the screenshots if you are not 100% sure.

Enable HTTPS

  • Please enable the HTTPS checkmark as Datacake onyl accepts SSL secured connections.

Authentication

  • You don't need to activate the authentication checkmark.

Request Headers

  • Not needed. Don't apply any changes.

Send empty payload

  • Leave unchecked

Allow all ports

  • Leave checked

Downlinks

Downlinks are not yet supported. If you need Downlink support on Tektelic LNS. please contact us.

LogoTEKTELIC | Global IoT leader of End-to-End LoRaWAN solutions
Tektelic Link
Tektelic Data Converter
Tektelic Integration
Tektelic LNS Appliaction Integration Settings for Datacake IoT Platform