Arduino and Raspberry Together


#82

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


#83

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.


#84

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 https://github.com/myDevicesIoT/Cayenne-MQTT-Arduino


#85

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.


#86

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