In this repostory you can fin the code for sensor DHT11 values send to Cayenne trough Arduino and Raspberry PI as intermediate because fo wifi.