Real Time weather monitoring using MQTT + Android
Weather master is a real time weather monitoring app made using Android Studio. To provide the data for the application a Weather Monitoring device has been implemented using NodeMCU 1.0 + Temperature and Humidity Sensor. (Pictures of the device and screenshots are included at the bottom)
In this application eclipse's Paho MQTT API is used create the MQTT client in Android Studio. It is a pretty straightforward process and a callback function is used to execute everytime the data is added to the MQTT broker.
As the MQTT broker , I used CloudMQTT cause it provides a free easy to use service with a simple interface. You can easily find how to implement Paho MQTT with CloudMQTT.
NodeMCU WiFi Module and DHT11 Temperature Sensor is used to demonstrate the basic functionality of this Application , many other weather sensors can also be added to increase the functionality.
PahoMQTT Client Library has been used to set up the NodeMCU as a MQTT client.