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
  • Versions
  • Ready-to-Go
  • Blank Device
  • Hardware Configuration
  • Add to Datacake
  • Select Dragino Device Type
  • Pick Template
  • Serial Number

Was this helpful?

  1. Integrations

Dragino NB-IoT

How to add Dragino NB-IoT devices to Datacake

Introduction

Welcome to the integration guide on connecting Dragino NB-IoT devices to the Datacake platform. This documentation article will provide you with step-by-step instructions on how to seamlessly integrate your Dragino NB-IoT devices with Datacake. There are two versions of Dragino NB-IoT devices available, one with a Datacake Integration preset and the other as a blank device requiring configuration. Follow the respective instructions below based on your device version.

Versions

Ready-to-Go

Dragino NB-IoT Devices are delivered with a Datacake Integration Preset. You can know if your Dragino NB-IoT device came with it if you can see a , you can easily set up the integration. Look for a Datacake QR-Code or Link inside the shipping box of your device. If you have the preset, simply scan the QR code using the Datacake mobile app.

If you have an account and want to add your devices to your workspace, select the Pincode Claiming option after clicking on "Add Device". You can then add the device's Serial Number (make sure there is a "f" at the beginning) and the code that comes printed in your box.

Blank Device

Blank Dragino NB-IoT Devices Requiring Configuration If your Dragino NB-IoT device is blank and requires configuration, follow the steps below.

Hardware Configuration

Follow the upcoming steps in order to connect a blank Dragino NB-IoT device to Datacake. This guide also helps if you want to reset your already preconfigured Dragino device and reconnect it to Datacake.

  1. Get an IoT SIM Card: Purchase an IoT SIM card from providers like 1NCE, suitable for your NB-IoT device.

  2. Insert the SIM Card: Place the SIM card into your Dragino NB-IoT device following the manufacturer's instructions.

  3. Access Device Configuration: Connect to your Dragino device's configuration interface via the serial port. For detailed instructions on accessing and configuring via the serial port, refer to the Dragino guide at Dragino Serial Port Guide.

  4. Enter APN via AT Command: Once connected to the device configuration interface, use AT commands to enter the APN (Access Point Name) for your SIM card. This information can be obtained from your SIM card provider.

  5. Set Datacake UDP Server and Port: Configure the Dragino device to use Datacake's UDP server and port by sending the respective AT commands.

    1. Server: 67.207.76.90

    2. Port: 4445

  6. Set Transmission Mode to UDP: Use AT commands to set the transmission mode of your Dragino device to UDP.

  7. Save Device Configuration: After making the necessary configuration changes, save the device settings and exit the configuration interface.

For detailed instructions on accessing the Dragino device configuration interface via the serial port and configuring it using AT commands, refer to the Dragino guide at Dragino Serial Port Guide.

Add to Datacake

Select Dragino Device Type

  • Upon adding a new device to Datacake, please select "Dragino NB-IoT" and continue by clicking on "Next".

Pick Template

  • We do have templates ready for Dragino NB-IoT devices.

  • Go ahead, pick them from the list of available templates and continue by clicking on "Next".

Serial Number

  1. Copy the serial number exactly as it appears on your Dragino NB-IoT device.

  2. The serial number corresponds to the IMEI (International Mobile Equipment Identity) of the device, which is included in the payload sent by the device.

  3. Before entering the serial number, ensure that you prefix it with the letter "f" (lowercase). This is necessary because the IMEI consists of 15 digits, but the serial number on the Dragino device requires 16 digits.

    1. IMEI on Device: 810087051528100

    2. IMEI with Prefix for Datacake: f810087051528100

  4. Proceed with entering the modified serial number to complete the device addition process.

Last updated 4 months ago

Was this helpful?