The Things Node - Cayenne

I am looking at CayenneLPP too, but I got a TTGO T3 V2.1_1.5. It is a ESP32 with Lora built in.
I am not sure what I need to change to make it work. The example code is compiling and running, but i think I need to add som more info to make the Lora part work?
In other code I need to map the pins like this:
// Pin mapping
const lmic_pinmap lmic_pins = {
.nss = 18,
.rxtx = LMIC_UNUSED_PIN,
.rst = 12,
.dio = {26, 33, 32},
};
I think maybe it is the Serial1 that need to be defined?

#define loraSerial Serial1
Any help will be good.
Regards
Svein Utne

Hi Svein,

The example code discussed in this topic is related to The Things Node and will only work with that device because of its onboard sensors.

If you want to have your device working on Cayenne to, make sure that it first works ‘normally’ with TTN, that it can join the network, and that it transmits regulary some sensor data.

Next step is to get that data to Cayenne.
Therefore you have to edit your code and set integration in your console.

see Big ESP32 + SX127x topic part 3

Hi BoRRoZ, Thank you for your answer. I have already good connection to The Things Network, and can see the payload from the web, but Cayenne got more sexy display of data, so I am interested in finding a way to use Cayenne with my Lora data.

Some background info on Cayenne’s LPP (low power payload)
So basically, if you transmit your data in this format, have an account at Cayenne, have registered your device there, added TTN to Cayenne integration in your console, you’re more or less set and you have a dashboard .

Don’t know if there are complete examples (must be) for your device (what sensor(s) / what data ?)

bilde
Thanks againBoRRoZ, I got the data into TTN, but I did not manage to make the dasboard.
I am not sure what device to pick for TTGO T3 Lora32?

please read the last link in the previous post

Thanks again. Now it is working.
bilde

1 Like

hi,
i want to connect my LT-22222-L to ttn but i dont what verif hardware or firmware it is. i only know via the serial communication that the image version is 1.5.6 and the class is A. where can i find those informations? and if i want to inport the end device where can i find the document to do that?

I use the LT-22222 as class C device. If you use it as class A, you have to wait until the next upload to switch the outputs.
LoRaWAN V1.03
PHY V 1.0.3 Rev. A
Supports Class C

i tried changing the class but i get AT_ERROR AT_BUSY_ERROR. how did you know what version is your lorawan and PHY? cause all i get is:
DRAGINO LT-22222-L Device
Image Version: v1.5.6
LoRaWan Stack: DR-LWS-005
Frequency Band: EU868

Log in to the console
Go to applications
Select application
Select End device
General settings
Expand “Network layer”
Here you can see “MAC V”, “Regional Parameters” and “LoRaWAN class capabilities”