# Send data from raspberry pi to platform cumulocity iot

**URL:** <https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597>\
**Category:** Forum\
**Tags:** thin-edge-io, cumulocity\
**Created:** [November 9, 2022, 2:04pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597 "2022-11-09T14:04:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![youssefbelkho](https://avatars.discourse-cdn.com/v4/letter/y/a587f6/32.png) [@youssefbelkho](https://community.cumulocity.com/u/youssefbelkho)\
**Post date:** [November 9, 2022, 2:04pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/1 "2022-11-09T14:04:11Z")

</div>

Hello,  
I add appariel raspberry pi to cumulocity .But my problem is how to send data to cumulocity with raspberry pi ! Can anyone help solve this problem.Any help is appreciated

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [November 9, 2022, 2:52pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/2 "2022-11-09T14:52:48Z")

</div>

Hi Youssef,

there are a lot of examples and documentation out there to use a raspberry pi with Cumulocity IoT.

> **[Cumulocity documentation](https://cumulocity.com/docs/)**
>
> This documentation offers comprehensive information on the Cumulocity platform both from a user and from a developer perspective. It reflects the latest state of the Cumulocity platform and is continuously updated to align with recent software...

> [@Getting started with thin-edge.io on a RevPi from Kunbus](https://community.cumulocity.com/t/getting-started-with-thin-edge-io-on-a-revpi-from-kunbus/3663):
>
> Introduction In this post the installation for [thin-edge.io](http://thin-edge.io) on a RevPi from Kunbus is described. thin-edge.io is an open-source project initiated by Software AG and partners to provide a cloud-agnostic edge framework. It is much more generic than the device management agent, so it can connect to multiple IoT Platforms, and it allows flexible logic executed on the device. It is optimized for a very small footprint and high performance. The [Revolution PI](https://revolutionpi.de/revolution-pi-serie/) from Kunbus is an open, modul…

[https://thin-edge.github.io/thin-edge.io/html/tutorials/connect-c8y.html](https://thin-edge.github.io/thin-edge.io/html/tutorials/connect-c8y.html)

> **[GitHub - Cumulocity-IoT/cumulocity-devicemanagement-agent: Cumulocity Reference Agent written in Python to...](https://github.com/Cumulocity-IoT/cumulocity-devicemanagement-agent)**
>
> Cumulocity Reference Agent written in Python to demonstrate most of the Device Management Capabilities of Cumulocity IoT

and many more.

---

<div class="post-metadata">

**Author:** ![youssefbelkho](https://avatars.discourse-cdn.com/v4/letter/y/a587f6/32.png) [@youssefbelkho](https://community.cumulocity.com/u/youssefbelkho)\
**Post date:** [November 11, 2022, 3:53pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/3 "2022-11-11T15:53:08Z")

</div>

Hello stefan ,  
i added raspberry’s ID to cumulocity but it won’t connect, even after changing the host in the raspberry pi and connecting raspberry to the wifi.

 ![IMG-20221111-WA0030.jpg](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/1/4/14b64b032bfeb9e30221dff65253ea7ac7d49840.jpeg)

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [November 11, 2022, 3:59pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/4 "2022-11-11T15:59:20Z")

</div>

Hi Youseef,

which agent do you use on the raspberry pi? There might be logs of that agents that could help to identify the issue

---

<div class="post-metadata">

**Author:** ![anon19830398](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon19830398](https://community.cumulocity.com/u/anon19830398)\
**Post date:** [November 11, 2022, 4:13pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/5 "2022-11-11T16:13:38Z")

</div>

Hi Youssef,

I definitely recommend [thin-edge.io](http://thin-edge.io) for easily connecting and sending data to Cumulocity from a Raspberry Pi. This getting started guide is written specifically for the Raspberry Pi and will take you through everything from installation to connection to sending data.  
[https://thin-edge.github.io/thin-edge.io/html/tutorials/getting-started.html](https://thin-edge.github.io/thin-edge.io/html/tutorials/getting-started.html)

---

<div class="post-metadata">

**Author:** ![youssefbelkho](https://avatars.discourse-cdn.com/v4/letter/y/a587f6/32.png) [@youssefbelkho](https://community.cumulocity.com/u/youssefbelkho)\
**Post date:** [November 12, 2022, 10:26am UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/6 "2022-11-12T10:26:43Z")

</div>

How to remove raspberry pi from cumulocity iot environment

---

<div class="post-metadata">

**Author:** ![Korbinian\_Butz](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/korbinian_butz/32/10473_2.png) [@Korbinian\_Butz](https://community.cumulocity.com/u/Korbinian_Butz)\
**Post date:** [November 12, 2022, 10:53am UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/7 "2022-11-12T10:53:51Z")

</div>

How to delete a device is described [here](https://cumulocity.com/guides/users-guide/device-management/#to-delete-a-device-from-the-list) in the docs → Go to Device Management \> All Devices, hover over your device and a delete button will appear on the right.

---

<div class="post-metadata">

**Author:** ![youssefbelkho](https://avatars.discourse-cdn.com/v4/letter/y/a587f6/32.png) [@youssefbelkho](https://community.cumulocity.com/u/youssefbelkho)\
**Post date:** [November 12, 2022, 11:03am UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/8 "2022-11-12T11:03:42Z")

</div>

thank you i resolved the problem, you have just to delet the folder cumulocity-rpi-agent located in /usr/share,using rm -r command

---

<div class="post-metadata">

**Author:** ![youssefbelkho](https://avatars.discourse-cdn.com/v4/letter/y/a587f6/32.png) [@youssefbelkho](https://community.cumulocity.com/u/youssefbelkho)\
**Post date:** [November 15, 2022, 4:06pm UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/9 "2022-11-15T16:06:26Z")

</div>

thank you MR.Louisse ffor your advice ,

I have tried the guide you recommanded , but i had this error in phase "the certifcate is upploaded "  
so please i would l

 ![IMG_20221115_155536](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/1/7/176b5172d09ce92f6ac4624572c29bc7f27de812.jpeg)  
ike to know what do you recommand to fix this error.

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [November 16, 2022, 10:15am UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/10 "2022-11-16T10:15:09Z")

</div>

You need to check in Administration → Users/Roles if your user has the “admins” role which contains ROLE\_TENANT\_ADMIN or ROLE\_TENANT\_MANAGEMENT\_ADMIN. If not assign it to the “admins” role and to your user.

![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/3/5/35a4b3e53fe5ba618f688e4e66296353ee493147.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [May 15, 2023, 10:15am UTC](https://community.cumulocity.com/t/send-data-from-raspberry-pi-to-platform-cumulocity-iot/7597/11 "2023-05-15T10:15:48Z")

</div>

Closed on May 15, 2023, 10:15am UTC

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