update requency and http 500 errors | ThingSpeak API | 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
update requency and http 500 errors
No permission to create posts
April 19, 2017
1:30 pm
Avatar
slopcounts
New Member
Members
Forum Posts: 1
Member Since:
April 19, 2017
sp_UserOfflineSmall Offline

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

April 23, 2017
10:28 am
Avatar
Vinod

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

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

frenk0, Jassonchulp, MatGame, Domnesich, saxenadj, concepcionoa3

Administrators: Hans: 387, lee: 457