Hello @nayelyz,
Thank you very much for your answer. I saw your replies in a lot of posts I browsed and appreciate the help. I think I will go with the edge driver/custom capabilities route in this case.
For my current progress, I followed this guide Edge Drivers - Driver Presentation and Custom Capabilities and was able to create the example customized âfancyswitchâ capability. At the same time, I was able to add ânotificationâ capability as well, which I modified for use as a text input for my ESP8266.
My current question is as follows (If I need to start another thread according to the community rule, please let me know since it is getting a bit detailed):
The specific capability I want to create is: 1. using the textbox to enter a string and send it to ESP8266 through HTTP (already done with ânotificationâ capability); 2. storing this string as one of the modes linked to a button on the same SmartThings UI; If I push this button, I can send the same string again. The second part of my capability is very close to the current âcolorControlâ capability, in which there are 5 ârecently used coloursâ buttons that stored the previous color entered.
I have checked the capability and presentation JSON files for âcolorControlâ, but it seems like it doesnât cover the part which implements the way of saving recent color into one button. Can you give a pointer on where I should look into?
Thank you!