Error decoding Cayenne LPP


#1

Hi, I’m trying to decode the payload with Cayenne LPP, but it seems it is something wrong. FYI I am able to see all the data with TTN+Cayenne.
With loraserver

LIVE DEVICE DATA

Join:
Screenshot_1

Error when trying to decode cayenne lpp?
Screenshot_2

Uplink:

LIVE DEVICE FRAMES

This is what I see on TTN+Cayenne integration:

My understanding is there is a problem on cayenne decode…? If I use custom javascript codec, how should I decode/encode the payload?

Any suggestion is welcome!
Thanks in advance!


#2

Ok I think I figured this out. (FYI This is a device with 4 buttons)
On custom javascript codec I implemented something like this:
Screenshot_6

And this is the final uplink


#3

To me it looks like MyDevices is working on a LPP v2, which hasn’t been “published” yet (https://community.mydevices.com/t/cayenne-lpp-2-0/7510). Maybe you can share more about your Cayenne LPP payload, e.g. which device etc…?


#4

Hi, first of all, thank you very much for your time and effort on this project.
This is the device I’m using:
Lora Button

And this is the payload.


#5

I don’t think your device uses the Cayenne LPP codec. Please see https://mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload.

That it works is probably since Cayenne has a codec for this specific device, but this is not the same as the Cayenne LPP codec.