LoRa/LoRaWAN tutorial 52: The Things Stack Community Edition V3

Поделиться
HTML-код
  • Опубликовано: 26 май 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:
    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:
    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:
    github.com/TheThingsNetwork/ttn
    The LoRaWAN Network Servers in The Things Stack Community Edition uses software which can be found at:
    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 (lora-alliance.org/).
    For more differences between V2 and V3, see:
    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):
    console.thethingsnetwork.org/
    The console for The Things Stack Community Edition (V3):
    console.cloud.thethings.network/
    The Things Stack (TTS) Community Edition direct console links:
    North America: nam1.cloud.thethings.network/...
    Europe: eu1.cloud.thethings.network/c...
    Australia: au1.cloud.thethings.network/c...
    More information:
    www.thethingsindustries.com/d...
    General information about migrating from V2 to V3, see:
    www.thethingsindustries.com/d...
    Migrate few end devices with The Things Stack Community Edition Console, see:
    www.thethingsindustries.com/d...
    Migrating many end devices using the migration tool:
    www.thethingsindustries.com/d...
    Migrate gateway, see:
    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:
    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:packetbroker.net/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 RUclips channel:
    / @mobilefish
    The presentation used in this video tutorial can be found at:
    www.mobilefish.com/developer/...
    #mobilefish #lora #lorawan
  • НаукаНаука

Комментарии • 16

  • @mechlopak
    @mechlopak 3 года назад

    Nice to see the up-to-date instructions about migration to Things Stack from TTN! Good job as always :)

  • @orimate
    @orimate 3 года назад

    So many thanks for this video.

  • @alvaromartin6301
    @alvaromartin6301 3 года назад

    Thank you so much! I was totally lost!

  • @speedysmithy
    @speedysmithy 3 года назад

    Wow such great news! You're back :)

  • @Moonlight0551
    @Moonlight0551 3 года назад +1

    Great video. There are not many instructions available for migration to the V3 Things Stack but yours is clear and concise. I am sure it will be a big help to many people. Can you also do an update video on retrieving V3 data for MySQL storage as per video 27

    • @Mobilefish
      @Mobilefish  3 года назад

      Hi David, yes I planning to make such video.

    • @Andrew-rc3vh
      @Andrew-rc3vh 2 года назад

      You can write your own database in software. It's not as difficult as you might think. The thing is MySQL is a really complicated massive bit of software, when all you need really can be loaded onto a microcontroller. It's much faster too. I store onto an SD card.

  • @robertobrenes5283
    @robertobrenes5283 3 года назад

    Is ther any video or tutorial on how to creat a one channel gateway with a TTGO board on TTS? I have one (based on a TTN tutorial ) kind of working but I don''t have any clue on how to configure the gateway on the TTS page.

  • @TD-er
    @TD-er 3 года назад

    Why do you add the payload formatter on the device level and not the application level?
    Wouldn't it make more sense to have one formatter per application instead of per device?

    • @Mobilefish
      @Mobilefish  3 года назад +1

      This was just a demo. My next video is about payload formatters and I will mention this. And you are right! It is better to have one formatter per application.

  • @wrnrt
    @wrnrt 3 года назад

    Errr... isn't TTN V2 going away, to be replaced with TTS V3? Your first slides feel as if they should be at the end. Also: great migration tutorial, I'd reflect that in the YT title.

  • @DarkoJoksimovic
    @DarkoJoksimovic 3 года назад

    I tried following the steps, but keep getting "An unknown error occurred
    If the error persists after refreshing, please contact an administrator" error when trying to add an application. Have you experienced this? What browser are you using, since everything seems to work smoothly in the video? Thanks :)

    • @Mobilefish
      @Mobilefish  3 года назад +1

      Darko, I had no problems. I am using Chrome.

    • @TD-er
      @TD-er 3 года назад

      Try using Firefox, or just any other browser you used before

  • @shanebekker
    @shanebekker 3 года назад

    So it is not stand alone and free from the WWW?