Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for v3 stack #20

Merged
merged 2 commits into from Jul 2, 2021
Merged

Updates for v3 stack #20

merged 2 commits into from Jul 2, 2021

Conversation

BWibo
Copy link
Contributor

@BWibo BWibo commented Jun 30, 2021

Hey there,

I just tried out to migrate the Gateway image to work with TTN v3 stack. Instead of GATEWAY_REGION you can now specify the TTN API Server URL (TTN_GATEWAY_SERVER_URL).

I tested it with this Gateway and it appears to work:

I hope this is useful for you and please let me know if you have any feedback.

docker run -it --privileged --net=host --restart=always \
  -e PI_RESET_PIN=<optional-see-explanation-below> \
  -e TTN_GATEWAY_SERVER_URL=<optional-see-explanation-below> \
  -e GATEWAY_EUI=<EUI-identified-in-previous-step> \
  -e GATEWAY_LAT=YOUR_LATITUDE \
  -e GATEWAY_LON=YOUR_LONGITUDE \
  -e GATEWAY_ALT=YOUR_ALTITUDE \
  -e GATEWAY_EMAIL=YOUR_EMAIL \
  -e GATEWAY_NAME=YOUR_GATEWAY_NAME \
netceteragroup/rpi-ttn-gateway

@marcelstoer
Copy link
Collaborator

marcelstoer commented Jul 1, 2021

Thanks for putting this up. The changes will most likely be generally applicable. Hence, most installations should be able to switch to an updated image.

The larger issue though is that the Semtech packet forwarder (used here) is really old and was never intended for the massive adoption it has actually seen. I argue that people should really start using the Basic Station stack. I was hoping that TTN would document a migration path due to which I created TheThingsNetwork/docs#459 a while ago.

@BWibo
Copy link
Contributor Author

BWibo commented Jul 2, 2021

Thx for pointing this out, this sounds reasonable.
Meanwhile, until a migration path with Basic Station is available, I pushed the image for anyone that might benefit from it:
https://hub.docker.com/repository/docker/bwibo/rpi-ttn-gateway
docker pull bwibo/rpi-ttn-gateway

@marcelstoer
Copy link
Collaborator

Thanks again for providing this interim fix.

@marcelstoer marcelstoer merged commit eebe4e0 into netceteragroup:master Jul 2, 2021
@marcelstoer
Copy link
Collaborator

Oh, and yes, the updated image is available for pulling

Screen Shot 2021-07-02 at 10 23 32

@BWibo BWibo deleted the v3-stack branch November 23, 2021 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants