# Particle features clarification about cloud storing system

**URL:** <https://community.particle.io/t/particle-features-clarification-about-cloud-storing-system/15595>\
**Category:** Cloud\
**Created:** [September 16, 2015, 10:32am UTC](https://community.particle.io/t/particle-features-clarification-about-cloud-storing-system/15595 "2015-09-16T10:32:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gennariello](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@gennariello](https://community.particle.io/u/gennariello)\
**Post date:** [September 16, 2015, 10:32am UTC](https://community.particle.io/t/particle-features-clarification-about-cloud-storing-system/15595/1 "2015-09-16T10:32:21Z")

</div>

Hi all,  
I’m new in this forum and I’m nice to meet you.

I am interested about Particle project because i have to develop a sensor system, but i’m a little bit confused about how can I do with particle.

My project consist in:

- create multiple weather station to monitoring multiple large fields (based on Electron in the final version, based on Photon during development)
- To decrease the connection costs, Each weather station is a my embedded system that collects multiple temperature / humidity, as shown in the pictures. Electron and sensors communicates through a radio transceiver interfaces.  
 ![](https://sea2.discourse-cdn.com/flex026/uploads/particle/original/a/8/a878b716a635993469b7daceac786162ab5d4269.png)
- I would like to store my data in my personal remote linux server, **can I install particle cloud in my remote server**? I think yes but i’ve not found a tutorial to doing this.
- Watching the particle’s example documentation, I’ve seen that it can respond to a request, but I haven’t understood how it communicates with cloud. I need to keep at least each last year information about each sensors in order to show them using a dashboard. To do that, I need that Electron/Photon device sends and stores data to cloud each 15minutes in independent way (without any external request), is this possible? I said “without any external request” because, in order to saving battery usage, I have to shoot down GPRS / wifi interface when it’s unnecessary.

Thank you very much for your support!  
I wish you a nice day

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [September 16, 2015, 11:33am UTC](https://community.particle.io/t/particle-features-clarification-about-cloud-storing-system/15595/2 "2015-09-16T11:33:30Z")

</div>

Welcome on the forums, glad to have you!

Alright, so there are two main question:  
- **Is there a local cloud available?** _yes_:

> [@Tutorial: Local Cloud on Windows \[25 July 2014\]](https://community.particle.io/t/tutorial-local-cloud-on-windows-25-july-2014/5949):
>
> Hello there! Interested in running your own spark Local cloud but the github repo looks intimidating? Here’s a step by step guide written just for you smile It is highly recommended that you do not skip the steps or deviate from the instructions as installing on Windows is a challenging due to the number of dependencies! 1.) DFU-util Follow the instructions here to install DFU-util driver: [https://community.spark.io/t/tutorial-installing-dfu-driver-on-windows/3518](https://community.spark.io/t/tutorial-installing-dfu-driver-on-windows/3518) Download DFU-util fr…

> [@Local Cloud on Raspberry Pi](https://community.particle.io/t/local-cloud-on-raspberry-pi/5708):
>
> Hello community! I have started documenting the steps i have taken to setup a Raspberry Pi with Local cloud from scratch! Not really an experienced user of linux so if you have any suggests on what should be added in for configuration, let me know! The public repo is here: [https://github.com/kennethlimcp/book-rpi-lc](https://github.com/kennethlimcp/book-rpi-lc) The tutorial will appear here: [http://kennethlimcp.gitbooks.io/spark-local-cloud-on-raspberry-pi/content/](http://kennethlimcp.gitbooks.io/spark-local-cloud-on-raspberry-pi/content/) Thanks and have a great weekend! wink

> [@Tutorial: Local Cloud 1st Time instructions \[01 Oct 15\]](https://community.particle.io/t/tutorial-local-cloud-1st-time-instructions-20-march-15/5589):
>
> This will guide you through on how to Setup the Local cloud and use it with Particle-CLI after a successful installation. Before you proceed, make sure you fired up particle-server successfully at least once. We will need the server public keys generated on 1st run later. \*\*NOTE: \*\* This will point the Particle-CLI to the local cloud and you will not be able to use features available on the spark cloud 1.) We will now create a new server profile on Particle-CLI using the command: part…

This is a 'light' version of the 'real' cloud, and thus might still be lacking some features.

-How does the communication work?  
The Particle device establishes a TCP/IP connection to the cloud server. That allows it to communicate. When it first connects, it makes all the functions and variables available to the cloud, for future reference.  
Interacting with your device works with a REST API. You make HTTP requests to the cloud, which then relays that to the device. If you want to execute a function, you make the appropriate call to the cloud, which in turn passes that message on to the device. Variable calls are similar: you make the request to the cloud, the cloud requests the data from the device and sends it back to you.  
Then there are SSE (Server Sent Events), which allow the device itself to send a message to the cloud, which in turn will broadcast to anyone who's listening (and has permission). You can look at it as the "twitter for the internet of things".

So what you want to do is the following(?): have the devices send information to your server, which you can then store up to a years worth of data. The devices need to send that information in 15 minute intervals without external influences in order to save battery?

If that's correct, you don't even need a local cloud 😄 You do need a server to store/visualize your data as you please. If you use the SSE you can have the devices publish data, which gets picked up by your server, and can then be handled any way you like. It uses the Particle Cloud, which saves you the hassle of setting up and maintaining your own. SSEs require no outside interaction, so that's ideal for battery-saving application. There's a Javascript SDK available for use with node.js, which you can run on a server, although most programming languages should be able to handle SSEs.

Give it a try with the Photon, and let us know if you need any assistance :)!
