Adeunis Dry Contacts Decoder/Encoder function

Hey there,

we’re having trouble with integrating the Adeunis Dry Contact sensors in our LoRaWAN plattform, because we can’t find a solution for decoding and encoding the payload of the device.

I’ve now tried for several days to implement the Codec library Adeunis provides (http://codec-adeunis.com/decoder), but i’m not into javascript development and had no success.

We’re using ThingsBoard for Data handling and visualization, but I also didn’t find a way to get the Decoding done.

If anyone has a Decoder and/or Encoder function for this device type the help would be highly appreciated.

Kind Regards,
Jonathan Maier

try to use Cayenne LPP codec in the device profile

Hey eugenev,

sadly that throws an error (error:“invalid data type: 160”) and just gives me the data as BASE64 Code:

  • data:“QKAAAAABAAAAAAQ=”
  • objectJSON:""

Any other suggestions ?

also try this http://codec-adeunis.com/download

Yes I tried to download the JavaScript library, but i couldn’t extract a JavaScript Decoder function, which I can copy in the Chirpstack Codec.
Sadly the library is very big and cmplex and i’m not that into programming that i could extract a single function out of it.

Hi,

Sorry to raise an old thread, but did you get this working?

Thanks