-
Notifications
You must be signed in to change notification settings - Fork 367
Thingspeak Read Last Value Fail #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
same issue here, TSclient stopped working... |
Instead we should maybe use the official lib https://github.com/mathworks/thingspeak-arduino |
No...the official library is not a good choice because it retrieves only one field per connection then disconnects therefore the download time became worst case 8 times longer... |
Same issue, .... |
I have temporarily solved not keeping the cycle till the client is connected, see the rows commented below, from ThingspeakClient.cpp //while(client.connected()) { It is working but it is not the best because now if the download from TS is faster than the parsing with Jason (I have noticed that the data are not coming all in one time), it is not completed and part of the value can be not updated... I would like to understand the reason why it is working only commenting out this check. Maybe TS has changed something... |
I will try this fix too good to know, thanks |
Just pushed a commit that fixes this for all files that were'n included in the previous commit: dddb014 Will be in the next release (1.6.4) |
8<------------------------ BUG REPORT -----------------------------------------
Expected behavior
Used to read last values from Thingspeak
Actual behavior
Returning Blank values
Test code
Weather Station version
Which branch are you on? If you know the Git revision then add it here as well.
Hardware
Describe whether you run the code on the ThingPulse Weather Station Color kit or on some custom hardware.
8<------------------------ END BUG REPORT -------------------------------------
The text was updated successfully, but these errors were encountered: