Report this

What is the reason for this report?

What's the best way to transfer data continuously from a Raspberry Pi to my droplet?

Posted on March 21, 2017

I have a Raspberry Pi and I have connected two different sensors to my Raspberry Pi. Now I need to send the data I’ve received from my R-Pi to my droplet to get access to it from everywhere. My knowledge about Digital Ocean is limited so now I need some help how I should do this in the best way. To sum it up:

  • I want to send stored information from my R-Pi to my Digital Ocean droplet continuously and automatically
  • What do I need to do, what programs do I need?
  • I prefer to use Python code
  • One option is to put it on a web browser, but I’m not sure what I have to do in order to make that work

Thankful for any help I can get!

// Jenny



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @jennykimbengtsson

You actually got an answer on your other thread: https://www.digitalocean.com/community/questions/transfer-data-continuously

DigitalOcean offers just a server (which they call a droplet). You need to setup and manage the server yourself, but you can run whatever you like on the server.

It depends on how you want to digest your RaspberryPi data. Lets say you would like to present it on a website. A possible solution could be to setup a URL:Endpoint with your Python Application that presents JSON data and then digest and display it using a simple Angular application.

Here is a place to start: https://www.w3schools.com/angular/angular_http.asp

I know this question is now 3 years old but the system I have been using is a program called INLETS which can be found at Inlets Documentation.

I have been using it for awhile but for some reason it has stopped working recently.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.