Particle features clarification about cloud storing system

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.
  • 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

Welcome on the forums, glad to have you!

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




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 :smile: 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 :)!