Send commands from Thingspeak to Arduino via MQTT | ThingSpeak Plugins | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Send commands from Thingspeak to Arduino via MQTT
Avatar
Vignesh maker

Silver
Forum Posts: 10
sp_UserOfflineSmall Offline
1
January 27, 2018 - 1:44 am
sp_Permalink sp_Print sp_EditHistory

I want to send commands from thingspeak back to Arduino (is connected to the internet through an ethernet shield) when I press a button on the webpage. The main thing is can I do this using MQTT? Please direct me to the right documentation I can follow up from there. 

Thanks in advance

Avatar
cstapels
Moderator
Forum Posts: 158
sp_UserOfflineSmall Offline
2
January 31, 2018 - 5:22 pm
sp_Permalink sp_Print

ThingSpeak MQTT is a good solution to provide fast response to web commands.  There is an example showing how to subscribe with a particle photon, this will be similar to Arduino code.  If MQTT does not work for you, you may want to try using the talkback app, which is a way to queue commands for your device. Your device will need to poll the que when its ready.  The talkback works better if your device is asleep and wakes up occasionally to check for commands.  The MQTT option is better if you want faster response. 

Avatar
Vignesh maker

Silver
Forum Posts: 10
sp_UserOfflineSmall Offline
3
February 2, 2018 - 12:26 am
sp_Permalink sp_Print

Thank you cstaples,

I accomplished this with talkback app.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
32 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

aogomaeqaza

ureomug

itixuwidouzuv

eilimir

memozupi

isejfujajku

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee