Why does the implementation of the Cayenne LPP decoder in TTN only support a subset of the payloads supported by ElectronicCats implementation?
I’m missing voltage, current and several more. Now I have to send voltage as analoginput/channel=0, current as analoginput/channel=1 etc etc.
If I want to send rgb color (three values) I must use the payload for gps
these additional data types are not supported by myDevices Cayenne
which implies using the extensions for Cayenne is not useful anyway?
And secondly, also from the documentation:
it includes fully backwards compatibly decoder in JavaScript, suitable for implementations with NodeRED or TTN
So if you do not use Cayenne, just the format you can use that decoder in TTN.
Cayenne format is not the ideal format to use to transmit values. Every value has at least two bytes overhead for type and identifier. Using a byte array without the overhead saves 1/2 the size for analog channels. And for LoRaWAN every byte counts to keeping the transmission as short as possible saving airtime (== more transmissions possible within the 30 second allowance of TTN) and battery life.