Practical Internet of Things with JavaScript
上QQ阅读APP看书,第一时间看更新

Architecture

A simple reference architecture with Raspberry Pi, Wi-Fi gateway, the cloud engine, and the user interface apps stitched together would look as shown in the following diagram:

At a very high level, we have smart devices on the left-hand side and the user devices on the right-hand side. All of the communication between them happens through the cloud.

Following is a description of each key entity in the previous architecture. We are going to start from the left-hand side and move towards the right.