RAK2560 APP for ttn server

HI EVERYONE MI RAK2560 IS NOT SENDING UPLINK MESAGGE FOR MY DEVICE IS THIS ONE
Captura de pantalla 2024-01-20 124150

i used the app wisblock and the device is reconized and everything is well, but when i ve connected with ttn and not receiving payload for the device of soil moisture , only the join and appears me this

what i can do ? , i have to put something in the settings console of the app
best regards rolando garcia

From logs you show of TTN your device is working well both for uplink and downlink as indicates the counters of TTN on payloads received in each direction !
Are you sure it’s not a problem of configuration between TTN and your device/app that gets data ?

I don’t know is My first time using that rak





There is My settings from ttn and the frecuency is the same from the app us902

Yeah but the counter on TTN page confirms you device is working perfectly well for Lora part as it indicates already more than a thousand payloads exchanged both in up and downlinks with TTN network :wink:

The payloads are arriving in TTN. I guess what is missing here is a payload decoder that shows you the content.

There is an obvious error message about failure to decode the data message.

Can you get the full content of the data message by clicking the copy button and share it here.

Btw, TTN is just a LoRaWAN server. If you really want to do something with the data of the sensors, you need to send it to an integration like Datacake. Here is some of my sensor data in Datacake:

Or another (free) visualization like Grafana:

Can You bring me the payload for ttn and datacake please?

I need to see what payload the RAK2560 sends first.
I experienced that depending on the firmware the device is using different payload formats.

If you want to experiment on your own, the RAK2560 decoders are in our RAKwireless_Standardized_Payload repo. The SensorHub.js should work with both TTN and Datacake.

Thanks sir, this is the payload rak sends

It’s ok?

These screenshot do not really help. I need to see the complete payload.
Please click on the copy icon next to the payload and send me the complete payload.

this is all my message im not receive the payload
01 c2 00 3e
image
this is the sensor ttn doesnt reconize
in the app work


the frecuency is ok the settings on ttn is


and this is the message from ttn of the error

{
  "name": "as.up.data.decode.fail",
  "time": "2024-01-22T17:22:15.115472341Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "eui-ac1f09fffe0fd47f",
        "application_ids": {
          "application_id": "data-cake-1t1"
        },
        "dev_eui": "AC1F09FFFE0FD47F",
        "join_eui": "AC1F09FFF8682560"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
    "namespace": "pkg/messageprocessors/devicerepository",
    "name": "no_version_identifiers",
    "message_format": "no version identifiers for device",
    "correlation_id": "da55fc925f57462683da856879bd37d3",
    "code": 3
  },
  "correlation_ids": [
    "gs:uplink:01HMS33D7SVVRP1DCF0YW7J6G9"
  ],
  "origin": "ip-10-23-14-59.eu-west-1.compute.internal",
  "context": {
    "tenant-id": "Cg9zeW5hcHNlY29udHJvbHM="
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01HMS33DEB8RXQHTG7DHE9TKAM"
}

images of the device
image

@Nikola
Any idea?
The sensor is listed in WisToolBox, but it seems the sensor data is not in the payload.

Hi @roby ,
Can you show your code parsing interface? I ran the test in the same way and the data was parsed correctly.


I’d like to interject as well if i may :slight_smile:

I am trying to use a RAK2560 as well, and i’ve set it up in TTN with the payload formatter provided here: https://github.com/RAKWireless/RAKwireless_Standardized_Payload/blob/main/SensorHub.js

I am using a Sensor Probe RAK1901 Temp & Humidity sensor.

Here is the payload i receive:

I should be getting temperature and humidity, but it’s totally different.

Hi @l.dannijs

Please try this code: raw.githubusercontent.com/RAKWireless/RAKwireless_Standardized_Payload/main/RAKwireless_Standardized_Payload.js
Please remove this part of the code:

Thanks is working fines

Thank you! It now shows up properly, although the values seems incorrect:

And here in the app:

EDIT: changed the “divisor” of humidity from 2 to 1. Seems the value is correct now, although i hope this doesn’t mean that others are also incorrect.

You are correct that the parsing script needs to be modified in this way!Thanks for the tip.

May i ask why the standardized payload formatter works but not the Sensorhub one i used initially? Is it outdated or something?

Can you tell me your sensor hub version number?