I am trying to subscribe to a variable on my ubidots device which is controlled by a slider that ranges from 0 to 100. I am currently using the ESP32 development board and the following libraries: WiFi.h and PubSubClient.h .
So far I have only been able to publish four variables to my ubidots device but I have not had any luck subscribing. I have had a good look at the examples in the ubidots API and other examples as well but nobody really explains in detail how it all works. The closest thing I found was an example that allowed the user to control a relay but this has not helped me understand the subscribe procedure either.
Does anyone have any SIMPLE bare bones example that subscribes to a variable on ubidots and prints its value to the serial monitor?? If I have that, I would be able to take it from there.
Thank you for you help