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
  • Wireless IoT Hub
    • Overview
    • Datasheet
    • Getting Started
  • 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
        • Actions
          • Set Value
    • Zones
  • Cake Red
    • Get Started
    • Overview
  • LoRaWAN
    • Get Started
      • CSV Import
      • Custom LoRaWAN Device
        • How to create a device without a product template
    • 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
  • What are Products?
  • Step by step
  • Create a new product
  • Configuring the product

Was this helpful?

  1. LoRaWAN
  2. Get Started
  3. Custom LoRaWAN Device

How to create a device without a product template

Last updated 3 days ago

Was this helpful?

Datacake's templates are a very easy way to setup devices. If there is a device type missing from our template's catalog you can create your own. Here is a complete guide on how to create a template (New Product) from scratch.

What are Products?

At Datacake every device you create is assigned to a product. The product can either be created from an existing template from our catalog. You can select an "Existing Product" to select an already created product inside of your workspace. The last option is to select "New Product" to create your own from scratch. If you choose a Datacake's "Product from Template", the product template will be copied to your workspace and assigned to the device, so that you have your very own version of that product, which you can then proceed to personalise. If you do changes to your product, every device which is assigned to that product will be affected by that change.

See also: Device ->

Step by step

Create a new product

For creating a new product, we need to create a new device in your workspace.

Select LoRaWAN.

Select "New Product", enter a proper product name and click on "Next". The name will be used as the product slug (you cannot change it later on), so better select a sinful name.

Select your favourite LoRaWAN Network Server. I decided to go ahead and select the Datacake LNS, as it simplifies everything 😉

Put in the information and credentials of your LoRaWAN device (DevEUI, name, AppEUI, App Key, Frequency, class and optionally location description and tags).

Select a plan for your device. If you have a package, you can select your organization's plan. Now you are ready to configure your Device product.

Configuring the product

For configuring your product, you need to select your device and go to the "Configuration" tab.

If you scroll down to "Product Configuration" you can check to which product the device is assigned to via the Product Slug.

If you scroll down a little further you see the selected LNS and directly below the Payload Decoder. This is one of the most important parts to configure when it comes to set up an own device product.

Please note that some of the device manufacturers already provide payload decoders. You just need to make small adjustments to use them nearly as the come in Datacake.

After you have created a payload decoder, you have something that might look like the screenshot below.

Datacake provides a way to test your Payload Decoder with example payload. This is very useful to create a Payload Decoder but also useful to complete your custom device product. Put your payload in the "Payload" field and hit "Try Decoder". When the decoder works properly, you will see the values in "Output" and also key-value-pairs something in "Recognized Measurements". Please note that the example payload needs to be in hex, not Base64.

If the keys of the key-value-pairs in "Recognized Measurements" are with a red background, then these keys are not yet saved into Datacake's database. You can create new fields by simply clicking on those keys.

After you have successfully created one or more fields, they should appear in the list of Fields below the Payload Decoder.

This is it, now you have created your own new product, with a device linked to it. If you want to add more devices to that product, you now need to select "Existing product" next time you add devices to the platform.

Your New Product has a payload decoder and fields in the database. You can also create your own dashboard, downlinks and start using your device fleet. Remember that all devices inside of your product share the same payload decoder, fields, downlinks and dashboard.

Here some more useful guides for the next steps:

Here is a full guide on how to setup proper payload decoders for LoRaWAN.
If you want more detailed information about creating fields, have a look into the documentation.
Dashboards
Downlinks
Rules
Product