Skip to main content

Data Cake

1. Introduction

Notes for using Dragino Devices with Datacake.

2. Create a platform on TTN

First, users create devices in TTN and join the network, and then enter integration.

image

image

image

Here to enter the TTN Webhook URL.

TTN URL: Datacake TTN Webhook URL

Webhook URL should be found in datacake, which also contains URLs of other servers.

image

image

status:

image

3. Create device steps at Datacake

Take the creation of LHT65 as an example

image

image

image

image

image

image

image

image

4. Debug and Payload decoder

Debug:

image

Here you can test the payload decoding:

image

image

image

5. Dashboard of other models

Other devices operate in the same way as above.

LSE01:

image

LGT92:

image

LDS01:

image

LT22222-L:

image

LWL01:

image

LDDS75:

image

In order to be able to queue up Downlinks on your TTI Application you need to provide additional detail on your Datacake-Device. To set the configuration please move into the LoRaWAN settings on the corresponding device:

image

  1. Find the ID of your Device in your TTI Application:

image

  1. Fill in the URL of your TTI Instance as available to the public.

  2. Find the ID of your Application on TTI:

image

  1. To create a new API Key on TTI head over to the "API keys" page using the left sidebar:

image

  1. Now click on "Add API Key".

The following dialog will appear:

image

  1. Set a custom name (like "datacake-api-key").

  2. Set corresponding rights to allow queuing up downlinks.

  3. Create the API Key by clicking on "Create API key".

image

  1. After you created your API Key you will see the above notification. Please copy your key to your clipboard as it will only be shown once!

  2. Paste this key into the device settings on Datacake.

  3. Configure downlink here. Use TDC downlink as an example. 0x01 00 00 3C. Add a function Encoder to encode the hex.

image

image

Successfully sent TDC downlink.

image

image

image

7. Example -- Add TrackerD GPS Tracking In DataCake

7.1 Create device in DataCake, Use LGT92 template for TrackerD

image

image

7.2 Choose the platform where your data comes from(TTN)

image

7.3 Fill in your device name and DEVEUI

image

7.4 Choose the plan you need

image

7.5 Add API User DataCake

image

image

7.6 Copy TTI Webhook API User from DataCake to TTN Webhook Token

image

Below two pages are in TTI

image

image

7.7 See Result

Once TrackerD has new data that comes to TTN, it will be displayed on the DataCake Dashboard and plot the trace.

image

Example:

image