Can't get LoRaWan Nano-Gateway example to connect to TTN - TTN changed?
-
Hi folks. I've been trying to get the LoRaWan to Nano-Gateway tutorial examples to work, but i'm having no luck. I've watched the Alex's Corner YouTube episode that covers this as well as followed the docs, but haven't been able to work out what's wrong. I'm finding it hard to track the problem down in part because it looks like TheThingsNetwork app has been updated since the docs were written, so things have changed and i'm too much of a newb to spot what's going on.
When configuring the gateway on TTN I've used the "legacy packet forwarder option", which most closely matches the workflow described in the tutorials. But i hit two main problems.
-
I'm not sure what gateway id to use. Following the tutorial code i've constructed a gateway id based on the mac address of my LoPy e.g. 420ac4fffe02c4ab4. I then used this hex string as the gateway eui on TTN. But TTN prefixed the id with "euii" so "420ac4fffe02c4ab4" became eui-420ac4fffe02c4ab4. I can't use the eui prefixed id in the code because it throws bad hex value errors. But when i use the unprefixed value the gateway never connects. So what value should i be using for the gateway id in my config?
-
The server addresses look to have changed. The ui for selecting a server region has changed with the addresses for the TTN servers hidden behind a drop down. The value on the new TTN drop down is bridge.eu.thethings.network, but that doesn't seem to work. So what value should i have for SERVER in my config?
Any chance these tutorials are going to be updated sometime soon? Any help greatly appreciated.
-
-
@ddubyah17 Thanks for bringing this to my attention! I'll look into this in the next week or so and see what's changed. I'll report back once I've had a chance to see what has changed.
Thanks!
Alex
-
This post is deleted! -
me too I can't connect to TTN, is there some change ?
-
Hi Alex. Any idea when/ if you'll get a chance to look into this?
-
Hi @ddubyah17, apologies! Have been incredibly busy, I'll try to take a look at it this afternoon/tomorrow and will report back as soon as I've worked out what the issues are!
Thanks for hanging in there! We'll get it working soon :)
-
@bucknall Much appreciated! Itching to get this working. Anything you can do to point me in the right direction would be great.
-
@ddubyah17 Check this tutorial we prepared for a workshop:
https://github.com/franckalbinet/iot-smr3128-ictp/blob/master/labs/lorawan-nano-gateway.md
-
@bucknall
There's some trouble with NOC. It can be that ?
You can check that : https://status.thethings.network for updates
someone have mention that for me -
Hey @marcozennaro - Just checking this out, this looks really great! Would you mind if we used it in our documentation?
-
Hi @bucknall You are welcome to use it (please give credit to the authors F.Albinet and M.Rainone). There are two more tutorials you may want to check 1) syncing time if NTP is blocked (like in some universities) 2) producing a LoRa coverage map by using the GPS shared by an Android phone via WiFi. It's all well documented! Cheers, Marco
-
@marcozennaro Fantastic! Of course, we'd give credit and can link back to a page/university website if you'd like? I'll take a look at those other tutorials!
-
@marcozennaro Worked a treat - thanks!
-
@ddubyah17 I'm looking into this now and will also update the Nano-Gateway tutorial to follow @marcozennaro's instructions as they seem to work well!
-
Great, thanks Alex
-
@marcozennaro
I followed the tutorial but my nanogateway still cannot connect to TTN (step 1.2). Am I missing anything important? -
@finnzc Let me check with the latest firmware and I'll let you know.
-
I follow the tutorial, checked config many times but my gateway seams to be still offline.. look stuck at the same place you where then posted this question. do you remember the things you've made different that made it work?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login