Multitech conduit and Lopy "Not joined yet"
-
@monsteroz
Ok some problems...In the AU915 region need to restrict the LoPy to what your gateway is set to:
Frequency Sub-Band 4Because as configured the LoPy expects to use all valid 72 channels. However most real world gateways are limited to only 8 channels, hence the full channel map is partitioned into subbands.
So add a function like this
def select_subband_au915(lora, subband): if (type(subband) is int): if ((subband<1) or (subband>8)): raise ValueError("subband out of range (1-8)") else: raise TypeError("subband must be 1-8") for channel in range(0, 64): lora.remove_channel(channel) for channel in range((subband-1)*8, ((subband-1)*8)+8): lora.add_channel(channel, frequency=915200000+channel*200000, dr_min=0, dr_max=5)the call
select_subband_au915(lora, 4)to remove all channels which don't belong to sub-band 4 after initialising your LoRa object (and before joining) -
@jcaron
The Lopy and Lopy4 just does not exit the loop and says "not joined yet." -
@jmarcelino Hi,
If I lock it to sub band 4 it seems to just hang
# Europe = LoRa.EU868 # United States = LoRa.US915 lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AU915) select_subband_au915(lora, 4) # create an ABP authentication paramsIf I add the below I get the same 'Not joined yet" message
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AU915) def select_subband_au915(lora, subband): if (type(subband) is int): if ((subband<1) or (subband>8)): raise ValueError("subband out of range (1-8)") else: raise TypeError("subband must be 1-8") for channel in range(0, 64): lora.remove_channel(channel) for channel in range((subband-1)*8, ((subband-1)*8)+8): lora.add_channel(channel, frequency=915200000+channel*200000, dr_min=0, dr_max=5) select_subband_au915(lora, 4) # create an ABP authentication params app_eui = binascii.unhexlify('1122334455667788') app_key = binascii.unhexlify('11112222333344445555666677778888') # Join the network #lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=600) lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=0) -
Thanks @monsteroz
I'm not an expert on Multitech but I think your "Join Delay" isn't according to the specification.
That should be 5 (seconds) as Robert already pointed out. Did you change it already?
Do keep the sub channel selection code. That's also necessary, but not sufficient.
-
I did not change the Join Delay but I have now changed it to 5 seconds with no change
thanks
Sean
-
Hi guys,
I reset to factory setting on the conduit and just added ID nd Key .. still no luck with the lopy..
Sean
-
@monsteroz
Can you post what are you current gateway settings please? -
Hi I have been changing settings to try and make it work but here is what it is at the moment. I have changed to FSB 2 in case I want to use the TTN in the future.
Cheers
Sean

-
-
This post is deleted!
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