Table of Contents:

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-20220531180446-1.png

image-20220531180514-2.png

image-20220531180547-3.png

Here to enter the TTL Webhook URL.

 

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

image-20220531180623-4.png

image-20220531180659-5.png

status:

image-20220531180733-6.png

3. Create device steps at Datacake

Take the creation of LHT65 as an example

image-20220531180806-7.png

image-20220531180830-8.png

  

image-20220531181023-12.png

image-20220531180931-10.png

image-20220531181102-13.png

image-20220531181134-14.png

image-20220531181231-15.png

image-20220526104905-3.png  

  

4. Debug and Payload decoder

Debug:

image-20220526105125-4.png

Here you can test the payload decoding:

image-20220526105405-6.png

image-20220530150750-2.png

image-20220530150857-3.png

5. Dashboard of other models

Other devices operate in the same way as above.

LSE01:

image-20220531181344-16.png

LGT92:

image-20220531181422-17.png 

LDS01:

image-20220531181454-18.png

LT22222-L:

image-20220531181520-19.png 

LWL01:

image-20220531181556-20.png

LDDS75: 

image-20220531181635-21.png 

6. Downlinks

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-20220531181715-22.png

This is the ID of your Device in your TTI Application. You find it here:

image-20220526110050-10.png

This is the URL of your TTI Instance as available to the public.

This is the ID of your Application on TTI:

image-20220526110150-11.png 

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

image-20220526110227-12.png

Now click on "Add API Key"

 

The following dialog will appear:

image-20220526110530-13.png

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

And set corresponding rights to allow queuing up downlinks

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

image-20220526110653-14.png

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!

Paste this key into the device settings on Datacake

 

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

image-20220524173733-32.png

image-20220526110743-15.png

Successfully sent TDC donwlink.

image-20220526110835-16.png

image-20220526110912-17.png

image-20220526110940-18.png

7. Example -- Add TrackerD GPS Tracking In DataCake

7.1 Create device in DataCake, Use LGT92 template for TrackerD

image-20220907231732-3.png

image-20220907231855-5.png

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

image-20220907231953-8.png

  

7.3 Fill in your device name and DEVEUI

 image-20220907231922-7.png

7.4 Choose the plan you need

image-20220907232052-9.png

7.5 Add API User DataCake

image-20220907232052-10.png

image-20220907232052-11.png

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

image-20220907232052-12.png

Below two pages are in TTI

image-20220907231510-1.png

image-20220907232052-13.png

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-20220907232052-14.png

Example:

image-20220907232052-15.png

  

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0