March 13, 2019
I'm kind of a newbie to ESP and ThingSpeak.
During the last few days I managed to set up arduino development IDE, read data from a bme_280 sensor using that Wemos D1 mini, connect it to my local WiFi, send HTTP GET requests to my raspberry and send mails.
But I'm completely lost now as I don't get the connection to Thingspeak to work.
I set up a channel at TS and I'm able to upload data using the URL https://api.thingspeak.com/update?api_key=&field1=
But when using the ESP I'll always receive error -304 - regardless whether I try to upload a new value or read an existing one.
Shouldn't be that tough, but ... also searching the Web doesn't help me much.
After the WiFi is connected I'm executing only few commands:
I copied the Write API Key out of ThingSpeak.com, same for the Channel Id
What am I missing? Any strange combination of libs which won't work ...
Thanks a lot for your help
March 7, 2017
I agree, you seem to be doing everything correct.
I assume you are using the api key in the URL when you try it through the web browser:
You wouldn't get a 304 error if you had the wrong API key, but its just one thing to check. Make sure you are using the write API key for your channel and not the user API key.
I am suspecting its a network issue. Do you have the ability to try the same device on another WiFi network?
March 13, 2019
I am suspecting its a network issue.
I checked using my private WiFi instead of the guest's WiFi - and it worked.
Thanks a lot for that hint, cstapels
I've placed a request at the manufacturer of my FRITZ!Box 7490 as I don't have any setting I know of restricting the guest's WiFi.
In case something helpful is returned, I'll update this topic.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:adeeeban, theweddingties, Vasant Gosai, pavithra, shivaniprakash, Akeyan
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457