You can definitely use the talkback app. Set your Arduino to occasionally poll for new commands using the documentation for "Execute the Next TalkBack Command" from here: https://www.mathworks.com/help/thingspeak/talkback-app.html .
You can use the react app to watch your channel and see if the condition changes: https://www.mathworks.com/help/thingspeak/react-app.html
Use the react to trigger a ThingHTTP that writes a command to your talkback que. You can create multiple ThingHTTP for each command and have each triggered by a different react condition. https://www.mathworks.com/help/thingspeak/thinghttp-app.html
Given the power in the Arduino, I would suggest an easier method may be to read the value directly from your thingspeak channel and make a decision about what to do on the arduino (i.e. if value=xx, then LED =ON...etc.) You can poll your channel values any time you like. The ESP82266 also has enough on board memory to analyze the data read from a channel.
About the second option you suggested, how can I make the Arduino read the value directly from thingspeak channel?
for sending data from Arduino by esp8266 I use these AT commends:
AT+CIPSTART= TCP , 184.108.40.206, 80;
mystring = "GET https://api.thingspeak.com/update?api_key=**********&field1=0"
what commends do I need for making the Arduino read the data?
You use the same AT commands but a different URL
Please see the documentation at https://au.mathworks.com/help/thingspeak/get-channel-field-feed.html to construct a URL to read data. If you want to read more than a single value please see https://au.mathworks.com/help/thingspeak/get-a-channel-feed.html
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee