Change Text on Dashboard based on Sensor Value


Hi there,

           I am using an Arduino Mega and a GSM to transmit data to Ubidots (I am on an industrial trial). I am using MQTT to do this and it is working perfectly fine.

           However what I want to do is, to have a text box on my dashboard, that can change based upon my sensor value.

For example:

                  If (sensor value = 1) , it will display "RUN MODE"
                  if (sensor value = 2) , it will display "OFF MODE"
                  if (sensor value =3 ) , it will display "Connection Error"


Greetings, please refer to this article.

All the best