The log seems to indicate you have 3 APs that Iotawatt can see. One of them is really too far away to work (the one on channel 11). The other two both seem to be about the same distance away and provide adequate signal and DHCP works. Not sure why the esp8266 is picking the wrong one sometimes. That code is in the underlying libraries and is unlikely to be an Iotawatt code issue.
This is one of the reasons I don’t like mesh and mixed 2.4/5GHz systems that use the same SSID. There is a BSSID that is supposed to help with this, but the libraries don’t always get it right. It could also be an issue with your mesh system. Get a small router. Set it up as an access point with a different SSID and use that for Iotawatt only and you will have a hardwired connection with a short wireless hop.