- 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.
- MicroPython Projects
- ESP8266 Home Automation Projects
- 菜鳥起飛系統(tǒng)安裝與重裝
- 西門子變頻器技術(shù)入門及實(shí)踐
- 網(wǎng)絡(luò)管理工具實(shí)用詳解
- 自動(dòng)化生產(chǎn)線安裝與調(diào)試(三菱FX系列)(第二版)
- 手機(jī)游戲策劃設(shè)計(jì)
- Dreamweaver+Photoshop+Flash+Fireworks網(wǎng)站建設(shè)與網(wǎng)頁設(shè)計(jì)完全實(shí)用
- INSTANT Adobe Story Starter
- AMK伺服控制系統(tǒng)原理及應(yīng)用
- Photoshop CS4數(shù)碼照片處理入門、進(jìn)階與提高
- 網(wǎng)頁設(shè)計(jì)與制作
- R Statistics Cookbook
- 電機(jī)與電力拖動(dòng)
- Microsoft 365 Mobility and Security:Exam Guide MS-101