Check connection status in loop and reconect

2 posts were split to a new topic: nodeMCU is not reconnecting after a wifi disruption