ch2i / LoraGW-Setup

SX1301 Lora Concentrator Raspberry PI based gateway setup
76 stars 30 forks source link

how to upgrade the software for TTN v3 compliance? #13

Open netweaver1970 opened 3 years ago

netweaver1970 commented 3 years ago

Hi, I've been happily using your designs and solution for the last years, on and off, depending on my (mini) project focus.

Now, with the upcoming disabling of the The Things stack v2, I would like to upgrade the software on the Raspberry towards The Things Community Edition and also change Things Stack version.

I saw the steps in the link below, those are probably doable without changing the software. https://www.thethingsnetwork.org/docs/the-things-stack/migrate-to-v3/migrate-gateways/

But I suspect that fully migrating to the TTN Stack V3 will require code changes. How would we go about to extend the life of your (still perfect working) gateway?

Thanks

hallard commented 3 years ago

Best way would be to migrate to basic station but out of this scope.

Anyway I think easiest is to remove your GW from V2, add to V3 then Change your /opt/loragw/global_conf.json or /opt/loragw/local_conf.json if you use one and change

server is : eu1.cloud.thethings.network port is : 1700

Something like that

   "servers": [
        {
            "server_address": "eu1.cloud.thethings.network",
            "serv_port_up": 1700,
            "serv_port_down": 1700,
            "serv_enabled": true
        }
    ]