LoRa/LoRaWAN tutorial 52: The Things Stack Community Edition V3
Mobilefish.com Mobilefish.com
28.3K subscribers
4,080 views
0

 Published On May 27, 2021

If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
   / mobilefish  

This is part 52 of the LoRa/LoRaWAN tutorial.

In this tutorial I will explain what the Things Stack Community Edition is.

This presentation can be found at:
https://www.mobilefish.com/download/l...

The Things Stack is an enterprise grade LoRaWAN network server, built on an open source core.

The open source core can be found at:
https://github.com/TheThingsNetwork/l...

In 2021 the Things Industries maintains two LoRaWAN networks:
- The Things Network (TTN)
- The Things Stack (TTS) Community Edition
The LoRaWAN Network Servers in The Things Network (TTN) uses software which can be found at:
https://github.com/TheThingsNetwork/ttn
The LoRaWAN Network Servers in The Things Stack Community Edition uses software which can be found at:
https://github.com/TheThingsNetwork/l...

The Things Stack Community Edition (V3), compared to The Things Network (V2), is more scalable and more secure.
It supports all LoRaWAN classes (A, B, C) and multicast device groups, all existing LoRaWAN versions (including v1.0.4 and v1.1) and all regional parameters as defined by the LoRa Alliance (https://lora-alliance.org/).
For more differences between V2 and V3, see:
https://www.thethingsindustries.com/d...
The Things Network (V2) will no longer be actively maintained by The Things Industries and the cluster of LoRaWAN Network Servers are going to be shut down by the end of 2021.

The console for The Things Network (V2)(Shutdown by the end of 2021):
https://console.thethingsnetwork.org/

The console for The Things Stack Community Edition (V3):
https://console.cloud.thethings.network/

The Things Stack (TTS) Community Edition direct console links:
North America: https://nam1.cloud.thethings.network/...
Europe: https://eu1.cloud.thethings.network/c...
Australia: https://au1.cloud.thethings.network/c...
More information:
https://www.thethingsindustries.com/d...

General information about migrating from V2 to V3, see:
https://www.thethingsindustries.com/d...
Migrate few end devices with The Things Stack Community Edition Console, see:
https://www.thethingsindustries.com/d...
Migrating many end devices using the migration tool:
https://www.thethingsindustries.com/d...
Migrate gateway, see:
https://www.thethingsindustries.com/d...

PROCEDURE MIGRATE DEVICE FROM V2 TO V3
- Select Over The Air Activation (OTAA). Note: I will not demonstrate ABP.
- Choose LoRaWAN version MAC V1.0.2 (this is the version used in V2)
- Create an End device ID (does not have to match the Device ID in V2)
- Copy end device’s AppEUI and DevEUI (these have to be the same as the ones in V2)
- Select your Frequency plan
- Select Regional Parameters version PHY V1.0.2 REV B (this is the version used in V2)
- Keep the default Advanced settings as OTAA devices commonly negotiate about these with The Things Stack Network Server
- Copy your end device’s AppKey (has to match the one in V2)
- Change the AppKey in V2 (To prevent OTAA device from re-joining V2 network).
- If applicable copy and modify your payload formatters.

The LoRaWAN version is the LoRa Alliance LoRaWAN specification your device conforms to, which defines which Media Access Control features it supports. The LoRaWAN version for your device should be provided by the manufacturer in a datasheet as LoRaWAN version or LoRaWAN specification.
The most commonly used LoRaWAN versions are v1.0.2 and v1.0.3.
The Things Network V2 uses v1.0.2 by default.

The Things Network V2 uses Physical Layer (PHY) v1.0.2 Rev B
More information about regional parameters, see:
https://lora-alliance.org/resource-hub/

The Packet Broker is a service which allows LoRaWAN networks to exchange traffic.
It is run by an independent and neutral organisation.
More information:https://packetbroker.net/https://www....

PROCEDURE MIGRATE GATEWAY FROM V2 to V3
- Change the server address on the gateway itself (eg: global_conf.json)
- In the V3 console, select Add gateway
- Create an Gateway ID (does not have to match the Gateway ID in V2)
- Enter Gateway EUI (If your gateway has a gateway eui)
- Select your Frequency plan

Check out all my other LoRa/LoRaWAN tutorial videos:
   • LoRa/LoRaWAN tutorials  

Subscribe to my YouTube channel:
   / @mobilefish  

The presentation used in this video tutorial can be found at:
https://www.mobilefish.com/developer/...

#mobilefish #lora #lorawan

show more

Share/Embed