How many devices can connect to one channel? | General | 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
How many devices can connect to one channel?
No permission to create posts
September 28, 2018
2:21 am
Avatar
Jeff
New Member
Members
Forum Posts: 3
Member Since:
September 28, 2018
sp_UserOfflineSmall Offline

I would like to know how many devices can connect to one channel at the same time?

September 28, 2018
2:27 pm
Avatar
cstapels
Moderator
Members


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

There is no limitation to the number of devices that can update a channel, as long as they each have the correct Write API Key.
There is a limitation on the rate that all devices can post to a single channel, which is usually 15 seconds or 1 second depending on your license type. See https://thingspeak.com/prices/ for more details about license types. See https://thingspeak.com/pages/license_faq for other typical license questions.

If one device has just updated the channel, no other device can write to the channel until the timeout passed (15 or 1 seconds as of Sept 2018).

September 28, 2018
3:38 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 235
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

As Christopher says, there is no limit to the number of devices that can send data to a channel - however a channel can be updated at most as frequently as once per second for a paid license account, or once every 15 seconds for a free account. Note that time between requests is measured at the ThingSpeak server.

Synchronizing multiple devices to have the exact same clock, and accounting for transport delays from each individual device to ThingSpeak is not a trivial problem. If you did manage to do it, tell us how you did it Smile

I'd strongly recommend each device post to its own channel.

September 30, 2018
11:21 pm
Avatar
Jeff
New Member
Members
Forum Posts: 3
Member Since:
September 28, 2018
sp_UserOfflineSmall Offline

Thanks for the information, Christopher and Vinod.

Means if multiple devices want to connect to a single channel need to set a delay between them, can it be differentiated to different fields when I upload the data, eg: pressure 1, pressure 2, pressure 3, etc?

October 3, 2018
2:59 pm
Avatar
cstapels
Moderator
Members


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

Writes to different fields within a single channel must have a delay between them, they are subject to the rate limit.

If you wrote them to separate channels, you could use a MATLAB analysis to aggregate them to a different single channel at regular intervals.

You can write multiple fields to a single channel in one update.
https://www.mathworks.com/help/thingspeak/write-data.html

October 10, 2018
5:25 am
Avatar
Jeff
New Member
Members
Forum Posts: 3
Member Since:
September 28, 2018
sp_UserOfflineSmall Offline

hello cstapels, thank you and sorry for late reply.

Forum Timezone: America/New_York

Most Users Ever Online: 114

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

Williampes, esmeraldagx11, lilacs16, loriexo60, ThomasHut, WernerDernnida

Administrators: Hans: 387, lee: 457