I’m trying to upload a value to my ThingSpeak channel, but without success.
My widget config is: Output: V50 URL: https://api.thingspeak.com/update?api_key=*********&field3=/pin/ Method: GET Content type: text/plan
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.
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.
Here my account data:
Channel ID:160240
Write API Key: 6Y1Q0Y34RIGN8CCA
Read API key: WNOVOTK61ALM8FH7
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!
Exception in thread "main" java.lang.NullPointerException
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:679)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:638)
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:111)
at cc.blynk.server.notifications.mail.SparkPostMailClient.<init>(SparkPostMailClient.java:39)
at cc.blynk.server.notifications.mail.MailWrapper.<init>(MailWrapper.java:23)
at cc.blynk.server.Holder.<init>(Holder.java:85)
at cc.blynk.server.launcher.ServerLauncher.start(ServerLauncher.java:63)
at cc.blynk.server.launcher.ServerLauncher.main(ServerLauncher.java:59)