As stated before, we want to build an Android Things Remote weather station that acquires data from remote sensors connected to several IoT boards. In this project, the Android Things board acts as an MQTT client that collects data coming from remote sensors and visualizes it through an UI. In this context, the sensors are not connected physically to the Android Things board, but they are managed by other non-compatible IoT boards. In turn, these IoT boards exchange data with Android Things using MQTT. We will describe in more details what MQTT is and how to use it later. For now, it is enough to know that MQTT is a lightweight protocol that is widely used in M2M communication.
The following diagram describes the project architecture:
As you might already foresee, this project emulates the scenario where we have sensors and IoT boards...