I didn´t find a CayenneLPP pressure definition for RAK5801

Please include the following information, in order for us to help you as effectively as possible.

  • What product do you wish to discuss? RAK4631

  • What firmware are you using? Arduino BSP

  • Computer OS? Windows

  • What Computer OS version? Windows 11

@beegee ,

I was looking for in The RAKwireless_Standardized_Payload, a standard for RAK5801 but I can´t find a option. I found barometric pressure, but it isn´t the same: GitHub - RAKWireless/RAKwireless_Standardized_Payload: Payload description, payload decoder and example code for RAKwireless LoRaWAN devices

Any suggestion?

Claudio

The RAK5801 is a 4-20mA interface and can have any kind of sensor attached to it.
You can select any barometric pressure entry from the payload definitions, if your sensor is a barometric pressure sensore with 4-20mA interface.

The “Standardized Payload” was originally created for WisBlock Sensor Modules, then extended for SensorHub sensors.

I have a pressure transducer connected in the RAK5801, and the pressure unit can be PSI, BAR or Pascal.

In the Stadardized Payload load I found a lot of RAK Wisblock sensors, but I didn´t find one for pressure (I know it has barometric pressure, but it isn´t my case).

My point is to try reduce the effort in the decoder.

Any idea?

Claudio

The original CayenneLPP definitions are very limited, that’s why we added our own definitions.
For your pressure sensor, maybe you can use the “standard” analog input definition:

Type                 IPSO    LPP     Hex     Data Size   Data Resolution per bit
Analog Input        3202    2       2       2           0.01 Signed

Then for the channel number you can use any value you like, eg 05. The decoder will generate an analog_in_05 output.

This depends of course on the resolution you need.

Good morning,

Good idea, I will work with analog input.

Regards,

Claudio