Send commands from Thingspeak to Arduino via MQTT | ThingSpeak Apps | 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: 477
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:
34 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

JerilynDernnida, JaketripDernnida, KenterDernnida, AlisaMiz, AriurinDernnida, KabinaDernnida

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457