Arduino and Raspberry Together

the script is independent of the pi agent version and should work without any issue.

It does not work actually and on the Arduino tab, I get a message that I have to update the agent. Also this file is no longer available for download from the github repository.

you will need to add a new device now as the old cayenne Arduino has been discontinued. you also have to use the new MQTT library GitHub - myDevicesIoT/Cayenne-MQTT-Arduino: Cayenne MQTT Arduino Library

I need to add the Arduino to Raspberry Pi. Is there somewhere a step by step how to add this library to Raspberry Pi ?

Thank you.

steps:

  1. clone the directory on your pi sudo git clone https://github.com/myDevicesIoT/Cayenne-MQTT-Arduino.git
    2 . navigate to scripts folders.
    3 . make it executable sudo chmod +x cayenne-ser.sh
    4 . run the scripts ./cayenne-ser.sh -c /dev/ttyACM0 -b 9600 -s mqtt.mydevices.com -p 1883
1 Like