As hinted at in the title, I’m struggling with adding a custom widget button for my dev board. My end goal is to store a digital value from the button for later use in my code (lets say its for a relay). I realize with the Sparkfun board I am unable to use the existing relay widget, because it has something to do with MQTT. I also know that the relay widget is just a rebranded, configured Custom-Widget-Button.
So my question really is: How do I properly set up the Custom-Widget-Button both in my IDE code, and in the Cayenne interface?
I have only managed to get as far as step 1: Code in the Cayenne add widget interface. I have not been able to successfully compile the code it told me to upload to my Sparkfun board, because there is no cayenneMQTTClient.h library. Any help would be greatly appreciated.