DHT22 sensor TTN with Cayenne

Hi,

I am using the TTN Uno Leonardo board. I have connected DHT22 sensor using DHT22 example sketch. Temperature en Humidity data transmission to TTN is successful.
But now I would like to use Cayenne integration. I have uploaded example sketch
https://github.com/TheThingsNetwork/arduino-device-lib/blob/master/examples/CayenneLPP/CayenneLPP.ino sketch and it is running successfully.

Does anyone have an example sketch to upload DHT22 sensor data to Cayenne?
I don’t know how to edit this sketch to replace temperature en humidity variables
void loop()
{
debugSerial.println("-- LOOP");

lpp.reset();
lpp.addTemperature(1, 22.5);
lpp.addBarometricPressure(2, 1073.21);
lpp.addGPS(3, 52.37365, 4.88650, 2);

// Send it off
ttn.sendBytes(lpp.getBuffer(), lpp.getSize());

delay(10000);
}