Local server setup

As we have seen earlier, Particle provides a cloud-based development environment for building and deploying code to its devices. The Particle cloud is also the gateway through which all communication to and from the Particle device happens. This works well if you have a good Internet connection, however, it may become slow and unreliable if you have a slow connection. This becomes a problem in certain situations where you need to access the board, for example, to read values from it in real time. Your application may require real-time performance, which the cloud-based setup may not be able to guarantee.

By using the Particle cloud, data from your board located in your living room is sent to the server on the Internet, and data ...

Get Learning IoT with Particle Photon and Electron now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.