Table of Contents:

1.  Setup Gateway to connect to Mydevices

1.1  Introduction

The Dragino LoRaWAN gateway amd end node can commuicate with Mydevices LoRaWAN Network Server:  Mydevices

 

1.2  Gateway Registered

Step 1:  Get the GWID of the gateway and set the correct service address

image-20220526154956-1.png

Configure the gateway

Step 2:  Select Gateway in the mydevice console

image-20220526155036-2.png

Select Gateway

Step 3:  Registered gateway for mydevice

image-20220526155114-3.png

Registered gateway for mydevice

1.3  Check Gateway connection

Users can check if the gateway is properly connected according to 'Satus' or check the gateway WEB like below

image-20220526155145-4.png

Check Status1

image-20220526155223-5.png

Check statis2

1.4  Check Gateway traffic from Mydevie

user can see the gateway traffic

image-20220526155317-6.png

Gateway trafiic

1.5  Add up End node for mydevice

Step 1 :  Create a device in TTN with the OTAA keys from LT IO controller. Each end node is shipped with a sticker with the default device EUI as below:

AT+DEUI=a8 40 41 08 01 81 87 49
AT+APPKEY=01 8e e4 c9 b6 c9 d6 86 3a 6f 48 5e db cc 6d 69
AT+APPEUI=70 b3 d5 7e d0 01 5f 25

User can enter this key in their LoRaWAN Server portal. Below is mydevice screen shot: Add APP EUI in the application.

image-20220526155353-7.png

Add App EUI

Add APP KEY and DEV EUI

image-20220526155419-8.png

Add App key and App DEUI

Step 2 :  Power on end node and it will auto join to the TTN network. After join success, it will start to upload message to Mydevice and user can see in the panel and analyze the data

image-20220526155449-9.png

Join mydevice of end node

2.  Route a TTN End Node to Cayenne

Step 1:   Add a webhooks

image-20220621164313-1.png

Step 2:Choose Cayenne

image-20220621164618-2.png

Step 3:Successfully created webhooks

image-20220621164944-3.png

image-20220621165316-4.png

Step 4:Add new Device in Cayenne

image-20220621170212-5.png

Step 5: Select TTN

image-20220621170631-6.png

Step 6:Select the device you need

image-20220621170823-7.png

Step 7:Enter Deveui and Location

image-20220621171221-8.png

Step 8:Complete connection

image-20220621172048-9.png

3.  Create Alarm event in Cayenne

Step 1:  Select widget to alarm,Click settings in the upper right corner - trigger

image-20220621172422-11.png

Step 2:Set your trigger and alarm address

image-20220621173225-13.png

Step 3:When an alarm occurs, it will be sent to your email or mobile phone

image-20220621173358-14.png