About the How to get started? category

[Replace this first paragraph with a short description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters. Until you edit this text or create topics, this category won’t appear on the categories page.]

Use the following paragraphs for a longer description, as well as to establish any category guidelines or rules.

Some things to consider in any discussion replies below:

  • What is this category for? Why should people select this category for their topic?

  • How is this different than the other categories we already have?

  • Do we need this category?

  • Should we merge this with another category, or split it into more categories?

Hello, I’m using an RN2483 together with a PIC and a temperature/humidity sensor. The RN2483 is transmitting 2 bytes for temperature and 2 bytes for humidity. I can see the data at the TTN console. The payload is 12 34 56 78 for example.
Now I want to transmit the data to Cayenne and show the temperature and the humidity.
How to do?
Where do I have to implement the formula to convert from 16 bit to float?

You need to format the data on the node using the LPP format. This basically involves adding a few ‘header’ bytes to each value and making sure it uses the right precision.
For instance for the temperature you use (hex values):
01 67 00 FF (channel 1, temperature, 25.5 C)

Thanks for the hints.
So in my application I have to calculate the temperature/humidity (for example +20.4 / 45.6), multiply them by ten, put these values in 2 bytes (temperature) and 1 byte (humidity), in TTN payload decoder I have to add some header according the LPP format and that’s it?

Or must all be done in my sensor-node before sending data to TTN via LoRaWAN?

No you need to do this on the node. You can not manipulate the data in the application. The data sent over LoRaWAN should be in LPP format.

Let me summarize:

  • take the measurement in my node.
  • transvert the data in the LPP format
  • transmit that tarnsverted data via TTN to Cayenne
  • add a device in mydevice with the keys of my node/RN2483
  • Cayenne will show the data

That’s wright?

Yes that is the right way to do it.

Many thanks, I got it working as I wanted.