Deploy a LoRa Basics™ Station gateway with TTN and balena

Please use the thread below to discuss the related blog post:

Hello! Feel free to add you comments here if you have questions, feedback or anything else that you would like to share :slight_smile:

In case it helps anyone else out there: One of the screenshots shows the service name as “main”, but in the latest version (at the time of this writing) the service name was renamed to “basicstation”. If you see “basicstation” in your dashboard, it is nothing to worry about. :slight_smile:

1 Like

Hi all, thanks for the wonderful job! I’m new to the Balena and TTN worlds. So, following the instructions described, I was able to set up the Raspberry Pi LoRa gateway with TTN and balena.

Now, the next task for me is to configure the TTN nodes and send data to the gateway. Could you please help with any documentation explaining the procedure? Any other guidance would also be appreciated.

Kind regards to you,
Adam, Shuaibu Musa

1 Like

I deleted a gateway from TTN not realizing that I couldn’t recreate it with the same EUI. Is there a way of changing the RAK2245 EUI on belena?

@kennym64 welcome to the balena community!

I strongly recommend to use this repo now GitHub - xoseperez/basicstation: Basics™ Station Packet Forward protocol using Docker and try to add a new EUI using the Device Variable GATEWAY_EUI. Read the README where this process is documented, if i’m not wrong.

Let me know if this works :slight_smile:

@kennym64 did this work on your side?

Hi Marc

It did, but…

I didn’t work at first and I spent another hour or so trying to get it to work and then suddenly it connected. I don’t know if it just took a long time or was something I changed.

Cheers

Ken

1 Like

@kennym64 glad to hear that this worked!

Hi, I don’t know if the guide is outdated, some things confuse me:

  1. once the device is flashed and running, I cannot access the variables anymore, such as GW_RESET_PIN and others.
  2. the EUI was not filled in automatically. I added a tag EUI, with value of the rPi’s Ethernet port’s MAC address, plus FFFE at the end. Still, I cannot see my unit in TTN. I did the API Key thing as described.
1 Like

Hello @Ostervall sorry for replying this late and let me welcome to the balena community!

My recommendation is to use this repo GitHub - xoseperez/basicstation: Basics™ Station Packet Forward protocol using Docker

Could you please confirm which one are you using?

Thanks