I’m trying to upload a value to my ThingSpeak channel, but without success.
My widget config is:
Content type: text/plan
In my sketch I call:
Using the URL in the web browser I can update the ThyngSpeak channel with succes.
What I wrong in the widget?
Please check few things :
field3 is correct one?
Blynk.virtualWrite really happen?;
- Thingspeak has limitation 1 request per 15 seconds. Don’t you exceed it with browser request?
I’ve checked this below:
field3 is correct (but I’ve tried also with
field1 with no luck).
Blynk.virtualWrite is correctly called.
- The TS update is fired every 30 seconds by a timer.
… and I’ve made some other tests, so I’ve discovered a strange thing: are updated only the first call if the channel is empty, elsewere nothing is updated… so if the channel isn’t empty the data is never updated.
The same URL content that was in the widget, works fine if it’s pasted as link in the web browser.
/pin/ is a floating number (like 25.12).
You can try with my real key!
Are you sure? Maybe this is because values in almost same time frame? I have same thing. If you move mouse pointer to single point you can see few values within 1 point.
Yes I’m sure, I sent only one data, I can’t go wrong because the number of entries are specified in the left top of the page.
Now I’m more confused than ever… now I’m not able to upload nothing… I checked that the
Blynk.virtualWrite is called regulary every 30 seconds.
Like as before, instead, I can update the channel without problems if I paste the URL string on the web browser.
I’m getting crazy!
Do you refresh page? As this counter doesn’t updated in realtime.
It works for me. I just checked.
Please tell me your account I’ll check.
Thanks for you time!
Here my account data:
Write API Key:
Read API key:
Public page: https://thingspeak.com/channels/160240
I’m trying with IFTTT/Maker to make some exp. and debug with the WebHook widget and… same issue: my sketch call in the right way the VirtualWrite but no action triggered IFTTT side.
If I copy the URL string of the WebHook widget and I will paste it into a web browser the event is triggered!
I experienced the same thing with ifttt. Not sure if I was doing everything right, but the same URL pasted into browser did work.
@zeeko you mean thingspeak API wasn’t working from IFTTT?
@naamah75 this server bug…
Ok… no problem… just to know that I’m not crazy!
Thanks for your work! Blynk is a very great idea!
@naamah75 should be fixed right now. Could you please check again?
I guess you talk about cloud server… I’m running a local server.
Unfortunately I got an exception in “main” thread (java.lang.NullPointerException) and the server has not started.
Could you please show this exception?
Exception in thread "main" java.lang.NullPointerException
Oops. Sorry. I updated build. Sorry to bother you. But could you please check again ?