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

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
Send commands from Thingspeak to Arduino via MQTT
No permission to create posts
January 27, 2018
1:44 am
Avatar
Vignesh maker

Silver
Members
Forum Posts: 11
Member Since:
January 25, 2018
sp_UserOfflineSmall Offline

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

January 31, 2018
5:22 pm
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 365
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

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. 

February 2, 2018
12:26 am
Avatar
Vignesh maker

Silver
Members
Forum Posts: 11
Member Since:
January 25, 2018
sp_UserOfflineSmall Offline

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: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

JudestAboth, concettazx4, lyndarf60, caseybo16, iodiree, emiliacz4

Administrators: Hans: 387, lee: 457