mathworks / thingspeak-arduino

ThingSpeak Communication Library for Arduino, ESP8266 and ESP32

Home Page:https://thingspeak.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continously connecting and disconnecting on router

Kobbe1 opened this issue · comments

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

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

Yes it is.

commented

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