-->
Page 1 of 1

nodeMCU disconnects from wifi

PostPosted: Wed Apr 10, 2019 9:12 pm
by Wolfgang Helmut
Hi all.
After much searching of the internet and this site, I am making a cry for help because I don't know what else to do.
I have a Geekcreit ESP12F devkit v3 that i got from banggood.
I'm able to connect it to wifi (WiFi.status() = 3) and read from a website and write to thingspeak for a limited amount of time.
I've run several tests with different codes, and they run anywhere between a few minutes to over 1 day... until it disconnects (WiFi.status() = 6). Once it disconnects I cannot get it to connect again with WiFi.begin(ssid, pass). The only way I'm able to get it to connect again is to reset the nodeMCU.
How do I reconnect after it disconnects?
I have several sketches with outputs that i can share if needed.
Thanks,
Wolfgang

Re: nodeMCU disconnects from wifi

PostPosted: Sun Apr 14, 2019 4:01 am
by marcelstoer
Please share a Minimal, Complete, and Verifiable example as per https://stackoverflow.com/help/mcve to help us help you.