Hi @benko.jaku,
Did you see this post? Converting Cayenne Arduino LIbrary sketches to Cayenne MQTT Arduino