Help to setup RN2483 mote with The Things Gateway

I am referring the following topics/stories to get the RN2483 mote to send light and temperature data packets to The Things Gateway, which would then forward it to the TTN console for viewing:

https://www.thethingsnetwork.org/labs/story/setting-up-your-own-gateway-and-endpoint-with-microchips-lora-technology-evaluation-kit

https://www.thethingsnetwork.org/forum/t/labs-microchip-lora-mote-cayenne-integration/7376

https://www.thethingsnetwork.org/labs/story/tutorial-microchip-lora-mote-and-the-things-network-cayenne-integration

I have registered my gateway with the TTN console as well as created an app on it, generated the Device EUI, App Key and App EUI, and assigned these values to the RN2483 mote via the LoRa Dev GUI.
However, when I attempt to join (mac otaa join), I am receiving a ā€œdeniedā€ message, and hence I am unable to connect with The Things Gateway.

Is there something or some step that I am doing incorrectly? Am I missing out on something? Will really appreciate any help regarding this query.

what is the firmware version of your rn2483 ?

v 1.0.1

did you add the device (mote) to your application ?

Yes, I performed the following steps after selecting the ā€œRegister Deviceā€ option on the TTN console

yes thatā€™s okā€¦ but now that device should be added to the application youā€™ve created.

console > [application name]

device%20example

this is just an exampleā€¦ you should have at least one device registered in that applicationā€¦ your mote

The device appears to be added to the console

TTN_Device

TTN_Device2

But thereā€™s no indication of the mote being connected to the gateway

TTN_Device3

a node never ā€˜connectsā€™ to a gateway (like wifi)
all gateways in reach of the node are capable of receiving that node.

the moment your mote sends a join command (which you should be able to see in your gateway traffic console tab) the data will be send to the TTN backend.
If accepted, youā€™re mote ā€˜joinedā€™ the networkā€¦ not the gateway.

1 Like

Okay, that makes sense. But when I attempt the OTAA join Iā€™m getting a denied message. I tried manually sending packets via OTAA and ABP settings but the gateway seems to pick up no traffic.

what MAC command sequence did you send through the mote then (for OTAA) ?

I often use this little tool for testing direct commands

tool%20

also I donā€™t know about the used frequency plans for INDIA @ the moment

This is the GUI I used to interact with the mote, the steps performed as in the image:

Will check ESPlorer too.

865-867 MHz

I donā€™t knowā€¦ you are sure your gateway is working ?

just start with resetting the module with

sys factoryRESET

then enter the right keys
Make sure to hit enter after entering each value to ensure that it gets sent to the MOTE.
Click Save.
Click Join.

all TTN device addresses will start with 0x26 or 0x27

Iā€™ll try giving the factory reset a shot.
Alternatively, I used ABP instead of OTAA, configured in sync with the appropriate app settings on the TTN console and now Iā€™m receiving data packets on the dashboard. But on applying the subsequent steps in the above mentioned story for Cayenne integration (https://www.thethingsnetwork.org/labs/story/tutorial-microchip-lora-mote-and-the-things-network-cayenne-integration), Iā€™m not receiving any data on the Cayenne dashboard. Any idea as to what might be missing?

Iā€™m not really into these ā€™ guess whatā€™s wrong here now ā€™ ā€¦ quiztype questions, but Iā€™ll give it a last try :wink:

  • did you add Cayenne integrations to your application ?

  • did you use the lpp format in your node code
  • did you setup your Cayenne dashboard

Yes

Yes

Yes

These steps were mentioned on the story and I followed them, yet Iā€™m not getting any response on the Cayenne dashboard despite receiving data packets on the TTN dashboard via ABP (OTAA still not working):persevere:



thatā€™s because you didnā€™t add device/widgets in your Cayenne dashboard

widgets

@iotsam,
Is the lorasensornode in your screenshot the RN2483 Mote? It is :wink:
I suggest to remove the device from Cayenne and re-create it according to the description in the Lab. Light and Temperature sensor widgets of your Mote are automatically generated in Cayenne with a correct integration.

1 Like

@BoRRoZ @IoT_Marco,
So I removed my current application from the Cayenne dashboard and simply followed the same steps again, and now I am receiving live data on the Cayenne dashboard too. The temperature and luminosity widgets are automatically created as mentioned, so that problem was solved.
Thanks again to both of you!! :smiley:

1 Like