I am using this tutorial - [https://www.instructables.com/id/Flowmeter-NodeMcu-Counting-Litres/]
i am also using a same Node MCU ESP8266
i connected it to my home network the local ip address is also displayed but it doesn't connected to my thingspeak channel and it struck at the waiting for the client
i also check a my thingspeak API its correct and my home network is also working
Thanks in advance
That sounds like a connectivity problem. Are you using a kind of WiFi security that the microcontroller cannot handle (WPA2 perhaps?) Maybe you can set up a WiFi that does not require authentication?
The first step in debugging this would be to see if you can reach the internet from your nodeMCU micro.
I cannot send data to thingspeak with esp8266 (I had thingspeak library and added the apikey number in the arduino ide...) ; I get only on my serial monitor the following information :
Temperature: 23.00 degrees Celcius Humidity: 42.00% send to Thingspeak
Failed to read from DHT sensor!
but nothing is arriving into my channel
What could be the causes ? help
I'd recommend starting from something that works. Try this tutorial modified with your channel info:
Does this work?
I have a very similar issue, I try the DHT sensor, and is taking measurements, and I check if it is connected to the network and it also is, the code get stocked in this line.(from this code source http://www.instructables.com/id/Send-sensor-data-DHT11-BMP180-to-ThingSpeak-with-a/?ALLSTEPS)
if (client.connect(thingSpeakAddress, 80))
I review that the variable thingSpeakAddress, has the correct address.
I'm trying to connect to my plant router, so I can't change the security type.I know my network is encrypted in WPA2-Personal with AES.
I also set up a webserver in the same network with no issues, I was able to connect to the esp from a different computer in the same network.
Hope you can help.
Have a nice day.
Does your plant router require additional authentication after connecting to the Wi-Fi? Often times on an office or business network, there is a captive portal which will not allow any traffic through until a username/password is supplied.
If that is the case, then your device won't be able to connect to ThingSpeak.
I just tested the ESP8266 --> ThingSpeak Channel via MKR1000 Wi-Fi
This sketch sends the Wi-Fi Signal Strength (RSSI) of an ESP8266 to a ThingSpeak
channel using the ThingSpeak API (https://www.mathworks.com/help/thingspeak).
On my serial monitoe it is OK =
but I see nothing on my channel ; I selected RSSI in Field 1 ; METADATA=JSON ; and Showstatus + SAVE
Do I have missed something ? Thanks in advance
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee