- Practical Internet of Things with JavaScript
- Arvind Ravulavaru
- 156字
- 2021-07-02 19:58:41
Smart device to the apps
A simple flow of data from a sensor to a user device will be as follows:

As you can see from the previous figure, the data originates at the sensor; this data is read by the Raspberry Pi 3 and published to the MQTTS broker (Mosca) via the Wi-Fi router. Once the broker receives the data, it will send the same to the API engine, which will persist the data to the DB. Once the data has been successfully saved, the API engine will send the new data to our app, to show the data in real time.
An important thing to notice here is that the API engine will act as an MQTT client and subscribe to topics on which the device publishes the data. We will look at these topics when we go over the implementation.
Generally, the data in this flow would be a typical sensor transmitting data.
- Mastering Spark for Data Science
- 人工免疫算法改進(jìn)及其應(yīng)用
- 錯覺:AI 如何通過數(shù)據(jù)挖掘誤導(dǎo)我們
- Hands-On Data Science with SQL Server 2017
- Learning Apache Cassandra(Second Edition)
- CompTIA Linux+ Certification Guide
- 人工智能實(shí)踐錄
- 愛犯錯的智能體
- Mastering ServiceNow Scripting
- 基于Xilinx ISE的FPAG/CPLD設(shè)計(jì)與應(yīng)用
- Windows Server 2008 R2活動目錄內(nèi)幕
- 啊哈C!思考快你一步
- Dreamweaver+Photoshop+Flash+Fireworks網(wǎng)站建設(shè)與網(wǎng)頁設(shè)計(jì)完全實(shí)用
- 設(shè)計(jì)模式
- 漢字錄入技能訓(xùn)練