ThingTweet - What is minimum Response Time I should expect ? | ThingSpeak Apps | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Please consider registering

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
ThingTweet - What is minimum Response Time I should expect ?
No permission to create posts
August 29, 2018
10:13 pm
New Member
Forum Posts: 1
Member Since:
August 29, 2018
sp_UserOfflineSmall Offline

I'm using a digital input connected to a ESP8266 to connect to ThingSpeak. I have then used ThingTweet to post tweets when the digital input status toggles.

The digital input is monitoring a reed switch on an electrically operated gate which I'd like to monitor the open/closed status.

Problem... The gate open/close status does come through as tweets but so slow, several minutes....

Question... What is the minimum response I should expect keeping mind that the gate may only be open for say a minute. Where is the time delay being introduced?

Thanks for your comments in anticipation

September 4, 2018
2:26 pm

Forum Posts: 885
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

You should be able to drastically improve your performance time if you set up your own monitor instead of twitter. You can use MQTT subscribe to get rapid feedback on a channel status.
Here is an example showing publish and subscribe for MQTT on ESP8266.

You can use the subscribe part to monitor the gate status, but you will have to use another device at the monitor point. There are MQTT clients that will run on a cell phone, but I would use another ESP connected to a OLED display. You can use the callback function to update the screen.
I have been able to achieve sub second response time averages using MQTT subscribe.

It would be interesting to know if you get an additional performance gain using MQTT publish to update the gate status. If you feel like implementing it in two parts, please let us know what you get after implementing each part, or just let us know MQTT helps ypur application.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
31 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:

Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormier

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457