5:08 am


Silver
July 24, 2018

Hi,
I am sending environmental data (float) once every 30 minutes from a NodeMCU, so the speed rate is low. Since a couple of months I am experiencing 3-5 errors a day, returning code -304 (Timeout waiting for server to respond).
I am sending data with this code (very straight-forward):
ThingSpeak.setField( 1, t );
ThingSpeak.setField( 2, h );
ThingSpeak.setField( 3, p );
ThingSpeak.setField( 4, vdd );
int writeSuccess = ThingSpeak.writeFields( myChannelNumber, myWriteAPIKey );
How can I improve communication?
3:53 pm


Moderators
March 7, 2017

This usually means you have lost the WiFi connection temporarily. You could consider relocating the device or using a larger antenna.
FYI, MATLAB answers is now the preferred location for ThingSpeak Community support.
9:08 am


Silver
July 24, 2018

cstapels said
FYI, MATLAB answers is now the preferred location for ThingSpeak Community support.
Thank you, I'll switch there.
Most Users Ever Online: 166
Currently Online:
23 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:
estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeugan, StefanWiModerators: cstapels: 460
Administrators: Hans: 405, lee: 457