Servo

there are two ways to do this:

  1. Add a pca9685 plugin to your cayenne pi agent and then modify the plugin code to work with servo motor. GitHub - myDevicesIoT/cayenne-plugin-pca9685: A PCA9685 plugin for Cayenne
  2. Use adafruit servo example code https://github.com/adafruit/Adafruit_Python_PCA9685/blob/master/examples/simpletest.py and add the cayenne python example code Cayenne-MQTT-Python/examples at master · myDevicesIoT/Cayenne-MQTT-Python · GitHub. this is much easier as just combine the two examples.