# Connect Raspberry Pi to Arduino IoT Cloud

**URL:** <https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916>\
**Category:** Cloud IoT\
**Created:** [November 14, 2021, 11:12am UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916 "2021-11-14T11:12:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![helium97](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@helium97](https://forum.arduino.cc/u/helium97)\
**Post date:** [November 14, 2021, 11:12am UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/1 "2021-11-14T11:12:08Z")

</div>

Hi everyone!

I'm trying to create an IoT project with two Arduino MKR WIFI 1010 and one Raspberry Pi.  
The Arduinos are connected to the IoT Cloud and are able to communicate. I'm struggling to understand how to connect the Raspberry to the IoT Cloud.  
What I'm trying to reach is to make the two Arduino send commands to Raspberry and receive outputs from it.  
I've already configured it and is connected correctly to the Arduino Manager for Linux.

Is there any way to connect the Raspberry to the Arduino IoT Cloud in the same way of the Arduinos?

Thank you!

---

<div class="post-metadata">

**Author:** ![J-M-L](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/j-m-l/32/766245_2.png) [@J-M-L](https://forum.arduino.cc/u/J-M-L)\
**Post date:** [November 14, 2021, 11:21am UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/2 "2021-11-14T11:21:00Z")

</div>

> [@helium97](#):
>
> I'm struggling to understand how to connect the Raspberry to the IoT Cloud.  
> What I'm trying to reach is to make the two Arduino send commands to Raspberry and receive outputs from it.

just thinking aloud here — if the Arduino and RPi are on the same network, why would you go through IoT Cloud for sending commands and getting results? can't you handle that just locally without a round trip to the cloud?

indeed otherwise it's through [Setup a Linux device](https://create.arduino.cc/getting-started/#cloud-devices) but I've never used it..

> **[Arduino Cloud - Getting started](https://create.arduino.cc/getting-started/raspberrypi/welcome)**
>
> Arduino Cloud Getting Started allows you easily to setup linux devices and get them running quickly.

Note ➜ ONLY DEBIAN AND DERIVATIVES ARE FULLY SUPPORTED AS OS

---

<div class="post-metadata">

**Author:** ![helium97](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@helium97](https://forum.arduino.cc/u/helium97)\
**Post date:** [November 14, 2021, 11:42am UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/3 "2021-11-14T11:42:36Z")

</div>

Thank you for the super fast answer!

I would like to use the cloud because of his friendly dashboard and mobile app.

I already tried the setup you linked and it worked, but when you setup the Raspberry following this method, it opens up the Arduino manager for Linux which seems a different platform than the IoT Cloud...  
On the IoT Cloud when I try to add a Device you can only select Arduino boards, ESP32 and LoRaWAN. 😕

---

<div class="post-metadata">

**Author:** ![J-M-L](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/j-m-l/32/766245_2.png) [@J-M-L](https://forum.arduino.cc/u/J-M-L)\
**Post date:** [November 14, 2021, 12:00pm UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/4 "2021-11-14T12:00:10Z")

</div>

Not sure what you expect.

are you developing code on the RPi using Arduino's IoT cloud APIs ?

for example in Python: [arduino-iot-client · PyPI](https://pypi.org/project/arduino-iot-client/)

---

<div class="post-metadata">

**Author:** ![boukille](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@boukille](https://forum.arduino.cc/u/boukille)\
**Post date:** [March 14, 2022, 9:08pm UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/5 "2022-03-14T21:08:02Z")

</div>

Hi,

Excuse me but I would like to drive my Raspberry Pi with Arduino IoT Cloud...  
Did you find a solution ?

Thanks

---

<div class="post-metadata">

**Author:** ![helium97](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@helium97](https://forum.arduino.cc/u/helium97)\
**Post date:** [March 14, 2022, 9:29pm UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/6 "2022-03-14T21:29:12Z")

</div>

Nope,  
Unfortunately due to time constraints I decided to work with MQTT protocol using Mosquitto.  
The Raspberry worked as a client and all the Arduino as publishers/subscribers.  
The functioning is actually pretty easy and stable. It is also 100% free, without spending for Pro versions or APIs

---

<div class="post-metadata">

**Author:** ![mrayauto](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mrayauto/32/228941_2.png) [@mrayauto](https://forum.arduino.cc/u/mrayauto)\
**Post date:** [April 11, 2022, 10:56am UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/7 "2022-04-11T10:56:14Z")

</div>

Hey, did it work? Connecting to the arduino iot cloud through the raspberry? Im trying to connect to the cloud but doesnt work for me. The wireless connection between the arduino and the raspberry works fine but thats all, there is no data being sent to the cloud..

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [October 8, 2022, 10:56am UTC](https://forum.arduino.cc/t/connect-raspberry-pi-to-arduino-iot-cloud/924916/8 "2022-10-08T10:56:25Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
