This seems to be a topic that comes up frequently so apologies for adding to the tedium.
I am new to LoRa and TTN in general and I am looking for a little outside help to start trouble shooting.
I am using a LoPy 1.0r in both an Expansion Board 2 and PyTrack. All latest Firmware, LoPys are running the latest (1.12.0.b0 at time of writing)
Device added to Application on TTN
I allegedly can connect via ABP, though I am sceptical. I am just running the PyCom example found here and it does print some data out though it may likely be noise.
Europe Region (i.e. LoRa.EU868)
Device EUI, Application EUI and App Key have all been triple checked
My code is nothing fancy, just try to join and print a message on
lora.has_joined() returning true.
from network import LoRa import time import binascii # OTAA authentication parameters # dev_eui = binascii.unhexlify('XXXXXXXXXXXXXXXX') # app_eui = binascii.unhexlify('XXXXXXXXXXXXXXXX') # app_key = binascii.unhexlify('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') # join a network using OTAA (Over the Air Activation) lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key, dev_eui), timeout=0) # wait until the module has joined the network while not lora.has_joined(): time.sleep(1) print('Not yet joined...') print('Joined!!')
Any suggestions for debugging would be greatly appreciated.
thanks very much