update requency and http 500 errors | ThingSpeak API | 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
update requency and http 500 errors
Avatar
slopcounts
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
1
April 19, 2017 - 1:30 pm
sp_Permalink sp_Print

Hello, I'm new to this stuff but have a decent understanding of how it works.  Ok, I have a few questions that I think have been giving me problems.

1.  data points on channels, is it always set at 15 seconds or does it only update when data comes in?

        I say this because I've changed the time.sleep() and it doesn't seem to affect this.

2. I keep getting this error intermittently and I thought it could be because of the update time.  I get this error sometimes after 1 hour, sometimes after 8.

     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error

This is a simple 2 sensor setup going into a channel with two fields coming from a raspberry pi running python 2.7.9

Avatar
Vinod

Forum Posts: 134
sp_UserOfflineSmall Offline
2
April 23, 2017 - 10:28 am
sp_Permalink sp_Print

If you are a user of the free service, you can send data up to once every 15s per channel. If you purchase a ThingSpeak license you can send data up to once every 1s. If you send data faster than the limits of your account, you will get an HTTP error status code.

I'm not sure why you are getting a HTTP 500 status code. Could you share the code that results in a 500 status code?

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 224

Vinod: 134

vespapierre: 63

piajola: 62

chrisjmears: 54

turgo: 54

Newest Members:

eli

sally

Metabolicz

RodrigoSos

tjheikki

manimb54

Forum Stats:

Groups: 4

Forums: 17

Topics: 1124

Posts: 3994

 

Member Stats:

Guest Posters: 1

Members: 5293

Moderators: 0

Admins: 2

Administrators: Hans, lee