mathworks / thingspeak-arduino

ThingSpeak Communication Library for Arduino, ESP8266 and ESP32
https://thingspeak.com
431 stars 231 forks source link

Continously connecting and disconnecting on router #52

Closed Kobbe1 closed 4 years ago

Kobbe1 commented 5 years ago

Hi there, using a ESP8266 NodeMCU to post humidity data to TS every 60s. This works very well.

The only issue I have is that the wifi connection seems to get opened and closed instantly whenever a post to TS is done, so I get a new connection and instant disconnect on the router - which it does not really seem to like much.

This happens when I use the default "WriteMultipleFields.ino" example.

So is there a way to keep the wifi connection open between posts? Best,

-T

jasontwinters commented 5 years ago

The way the example is written, it should be maintaining the WiFi connection between posts. Is the ThingSpeak channel update successful?

Kobbe1 commented 5 years ago

Yes it is.

v-c commented 4 years ago

This may have to do with your router settings, not so much this example. Can you confirm?