In this chapter, we used the knowledge we gained in chapters two and three and built a prototype of a smart weather station. We started by identifying the sensors needed to build the weather station. Next, we set them up on the Raspberry Pi 3. We wrote the code needed to interface with the sensors. Once this was done, we updated the API engine to read the data from the Raspberry Pi 3 on the new topic. Once the API engine received the data, we saved it in the database and then sent it to the web, desktop, and mobile apps over web-sockets. Finally, we updated the presentation templates on the web, desktop, and mobile apps; then, we displayed the data from the Raspberry Pi on the web, desktop, and mobile apps.
In Chapter 5, Smart Agriculture and Voice AI, we are going to work with voice artificial intelligence, using Alexa from Amazon and the smart weather station we built.