STEP – 1

Create an account on TPC Portal

Firmware update over the air (FUOTA) is another enhanced feature provided by LoRaWAN®. Pushing large files to a group of end-devices in a secure, efficient, and reliable way is provided by using a robust multicast protocol leveraging physical broadcast with FEC (Forward Error Correction) technique.

In order to create an account at TPCP (ThinkPark Community Portal), please visit https://community.thingpark.org/. In this URL, you can find information about LORAWAN and related topics. We are going to use that page to create an account on TPCP. So, please select Sign Up as shown below:

At the preceding page, please fill the form, please notice that fields with “*” are required.

STEP – 2

WiFi Configuration of LoRaWAN® Gateway

For LoRaWAN® Gateway to access to TPCP via internet, LoRaWAN® Gateway needs to be connected to a WiFi network. To achieve this, following steps need to be followed:

– Switch MiniHub into WiFi AP mode
– Access to MiniHub and enter credentials (passcode)
– Select WiFi Network to use in normal operation

For LoRaWAN® Gateway to access to TPCP via internet, Gateway needs to be connected to a WiFi network. To achieve this, following steps needs to be followed:

– Switch MiniHub into WiFi AP mode
– Access to MiniHub and enter credentials (passcode)
– Select WiFi Network to use in normal operation

1

Press to SETUP button for ~10secs.

2

You will notice that:

- Green LED will go off
- RED LED will blink slowly

When Mini Hub switch into AP mode, on your computer, you can see the Mini-Hub AP in available WiFi Network list. please notice that in our case, AP name is MINIHUB_800203*

1

On your computer, select the SSID of the MINIHUB and connect to it

2

In your web browser , enter 192.168.1.4 to access the gateway

3

Select WiFi AP that you going to use

4

Enter password of the selected WiFi AP

5

Click Connect! to configure GW to use the selected WiFi network

* Please notice that last 6 digits of the WiFi Network name are the Serial number of your MiniHub.

When successfully connected to WiFi Network you selected, following screen will be shown and MiniHub- Gateway will reboot automatically. i.e you wont be able to access to Gateway via web browser again. Access to Gateway is only possible on AP Mode (i.e. Config Mode)

1

If connection to selected WiFi AP is successful, it displays GW’s ip address

2

LoRaWAN® GW reboots automatically and status will into GREEN

3

LoRaWAN® GW will not be shown at WiFi AP list anymore

STEP – 3

Registration of LoRaWAN® Gateway on TPCP

In order to be able to use your LoRaWAN® Gateway, it needs to be registered (provisioned) into your  account at TPCP. If you purchase your gateway from TPCP Market* , your gateway is already configured and registered into your Actility account. In this case, you can skip this step

*https://market.thingpark.com/

Please login to TPCP (https://community.thingpark.org/) and at the welcome page you need to access ThingPark Admin Console via Access ThingPark menu (shown below)

1

Select “TP Admin Console” to access ThingPark Enterprise dashboard

2

You can see the dashboard* which shows:

- Base Stations
- Devices
- Alerts
- Messages

* When you use register to TPCP first time, at the Admin Console you don’t have any registered Gateway, Device and Application.

When you purchase MiniHub from TPCP Marketplace, Gateway is already configured and registered into your Actility account. So, the main page will be look like the one shown below:

1

Preconfigured GW,

2

Click Base Stations to see the list of Gateways

3

List of the Gateways

4

Status of the Gateway

-Green ONLINE
-Red : OFFLINE

STEP – 4

Create a Backend Application

In order to process collected data from the end-device, you need to have a backend application for further processing. To keep this activity simple, we are going to use a web site (https://webhook.site/) which launches a free HTTP end-point to receive your data.

In order to create a page at webhook web site, Simply visit the site* and automatically a page will be created for you to use to display collected Device Data. The created page is shown below.

1

Since page just created, no data** will be shown

2

This is the unique URL which is just created and only information you need to proceed

3

Click here to copy URL , which will be used for registration of the backend service at TPC

* https://webhook.site
** When completed Activity-6 and Activity-7 , you will be able to see the data coming from the Device

STEP – 5

Registration of backend Application on TPC Platform

On TPCP, a Connection is a link to an Application Server for backend processing. So, Connection registration is the definition to introduce “end point to send data”. To define Connection, only 3 information required,

  • Application Type, type of the backend system.
  • Application name, any name you wish.
  • URL that had been copied at Activity-5, url of the backend system.

You will create Connection definition which points to backend application, At the TPCP Admin console* you can create application definition which will point to backend service which had been created at Step 5

1

Select Applications In order to access definitions

2

Select Create to start creation of Application definition

* https://community.thingpark.io/tpe

 

Now, you have to select the type of transport protocol that you going to use as backend service. In our example, we are going to use https:// service

1

Select https:// , since we are going to use htttps as transport protocol

Now, you need to enter information to define. When save , you can proceed to

1

Give a name which is meaningful for you

2

Paste the URL that you had been copied at Step5-

3

Ensure that JSON selected

4

Not needed in this activity

5

Click SAVE to create application

STEP – 6

Registration of a Device

Final step is the registration of the device on the  TPCP, which requires the following information:

  • Device Manufactuer/Type
  • Device EUI
  • Activation Mode
  • JoinEUI
  • AppKey

In order to create Device, you need to access to Create sub menu under Device main TAB.

1

Select Devices In order to access definitions

2

Select Create to start creation of Device definition

The DevEUI and AppKey is very important parameters for Device to communicate with ThingPark Platform. For Tinovi device , it is written on the sticker inside of the device as shown below:

1

Write down the Device EUI at the 1st line of the sticker, which will be used as DevEUI at Device definitions

2

Write down the App Key at the 3rd line of the sticker, which will be used as AppKey at Device definitions

In order to create Device, you need to access to Create sub menu under Device main TAB.

1

Select LoRaWAN® 1.0.2 revC – class A

2

Select Over-The-Air Activation to start creation of Device definition

3

Select the Application that had been created at Step6-??

4

Give a name to your device

5

Enter the DevEUI that you had been noted at step 7-2

6

You can enter 00-00-00-00-00-00-00-00

7

Enter the AppKey that you had been noted at Step 7-2

Now, you must insert battery into your LoRaWAN® device and ensure it is sending data*

1

Insert 18650 battery into device. Please check the polarity of the battery (+ polarity shown)

2

To check that Device is sending data, monitor the BLUE LED inside the case and that LED should be ON almost every 20 seconds. LED location shown below. This also verifies that battery of the device is good enough to send data.

*Please notice that your device just Transmits the data but it doesn’t mean that data received by TPE

 

Leave a comment