Alex's Corner - Week 3 - LoPy LoRaWAN Nano-Gateway & TTN
-
@palmy-nz looks fine :) - have you set up an application on the TTN yet?
-
-
@palmy-nz
Did you change your nanogateway.py line 41 as in that thread I linked?Where it says
"freq": 868.1should be"freq": 915.1Then in your otaa_node.py remove all 3 lora.add_channel() lines and replace with
for channel in range(0, 72): lora.remove_channel(channel) lora.add_channel(0, frequency=915100000, dr_min=0, dr_max=4)This is necessary for 915Mhz regions
-
@jmarcelino i had missed that change.
I have now changed the
freq:and added the remove channel loop.But still getting
Not joined yet.I tried changing
s.setsockopt(socket.SOL_LORA, socket.SO_DR, 4)value, without any luck.Here are my files...
Node - main py
NanoGateway nanogateway py
NanoGateway config py -
@palmy-nz Did you get a chance to complete this?
I was able to connect my nano gateway to TTN, but te node is still getting "Not joined yet".
I'm using 868100000 frequency. -
@jmarcelino can you help me please?
I was able to connect my NanoGateway to TTN, then I connected a node and i no had problems, however, now I am having problems to connect the node, when I start the node the following messages appear in the NanoGateway:
[ 884.453] Received packet: {"rxpk": [{"data": "ABeYANB+1bNwQfHGnEnVs3BtML tNbMI=", "time": "2018-02-14T15:38:34.160580Z", "chan": 0, "tmst": 860755474, "s tat": 1, "modu": "LORA", "lsnr": 5.0, "rssi": -20, "rfch": 0, "codr": "4/5", "fr eq": 903.9001, "datr": "SF7BW125", "size": 23}]}
[ 884.710] Push ack
[ 887.718] Pull ack
[ 889.710] Pull rsp
[ 890.633] Sent downlink packet scheduled on 866.755, at 923.299 Mhz using SF12BW500: b' yZ\xe2\xb8 \x 191\xc3NL\xc7/\xba+\xf4\xc4'but the node is still getting "not joined yet", I am using the 915 Mhz.
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