The MQTT Dash application is useful for testing and debugging the GreenSense projects because it displays the time since the last message was received. This helps to show that the system devices are working.
Before you can use the MQTT Dash application you will need to follow the networking guide to set up networked GreenSense devices.
Open Play Store on an android device and search for "mqtt dash":
Select the "MQTT Dash (IoT, Smart Home)" option and tap INSTALL:
Tap ACCEPT to confirm installation:
Tap OPEN to open MQTT Dash:
The MQTT Dash application will open and should look similar to this:
Tap the (+) on the top right hand corner and you should see this:
Enter a name and the address of the MQTT broker:
Scroll down to this section:
Enter the username and password:
Tap the save button at the top right hand corner and you should see something like this:
Tap the (+) at the top right hand corner of the screen and you should see something like this:
Tap the "Range/progress" option and you should see something like this:
Enter the device details:
Tap the save button at the top right corner of the screen and you should see something like this (depending on which device you configured):
Submerge the soil moisture sensor into water, damp soil, or something similar:
Within a few seconds the value displayed on the MQTT Dash application should increase to show that it senses moisture.
If you see the values changing as you submerge and remove the soil moisture sensor from water then it appears your system is working properly.
Notes:
The value may not quite reach 0 (when dry) or 100 (when wet) as expected, but this can be fixed by calibrating the device.