December 16, 2018
I am making thingSpeak example project of Dew Point. I am getting error 'URL is incorrectly formed, or the requested feature is not supported in this version of ThingSpeak' in the code.
the code is written as below -
% Enter your MATLAB Code below
readChId = 12397;
writeChId = 655718;
writeKey = 'R7M5XY5TRHGQR85C';
[temp,time] = thingSpeakRead(readChId,'Fields',4,'NumPoints',20);
humidity = thingSpeakRead(readChId,'Fields',3,'NumPoints',20);
tempC = (5/9)*(temp-32);
b = 17.62;
c = 243.5;
gamma = log(humidity/100) + b*tempC./(c+tempC);
dewPoint = c*gamma./(b-gamma)
dewPointF = (dewPoint*1.8) + 32;
This is an example code from ThingSpeak. Can you please guide me why I am getting this error? The objective of this code is to shows how to read temperature and humidity data from ThingSpeak channel 12397, which collects weather-related data from an Arduino® device.
After reading data of Temperature and Humidity, I am getting this error. Is it because there is some conflict in the time stamp which thingspeakread command can't handle?
Please help as this is my first project.
With Best Regards,
March 7, 2017
March 7, 2017
I think clearing the target channel will work. ThingSpeak now enforces unique timestamps. If you run the code too often, it will find some of the same points again and will attempt to write some points with timestamps already used. You can avoid this issue by only running the code infrequently.
We have entered the need to improve the error message in our bug tracking system. Thank you for pointing it out.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeugan, StefanWi
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457