Wifi disconnection Issue with two IoTaWatt Devices

I have two devices and what I am finding is that on one of them the wifi keeps dropping and then reconnecting. I thought it could be that I had an older device and a new one. The issue I had was on the older device and after reading some responses thought it could be a wifi strength issue so I brought a new one. Now the latest one is fine but the previous newest device is showing the same issue.

IoTwat1 Previous newest device:
SD initialized.
10/24/24 00:53:49z Real Time Clock is running. Unix time 1729731229
10/24/24 00:53:49z Reset reason: Software/System restart
10/24/24 00:53:49z Trace: 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[3], 1:5[20], 1:6[4], 20:0, 20:1
10/24/24 00:53:49z ESP8266 ID: 14649948, RTC PCF8523 (68)
10/24/24 00:53:49z IoTaWatt 5.0, Firmware version 02_08_03
10/24/24 00:53:49z SPIFFS mounted.
10/24/24 11:53:49 Local time zone: +10:00, using DST/BST when in effect.
10/24/24 11:53:49 device name: IotaWatt
10/24/24 11:53:49 HTTP server started
10/24/24 11:53:49 timeSync: service started.
10/24/24 11:53:50 statService: started.
10/24/24 11:53:50 dataLog: service started.
10/24/24 11:54:07 dataLog: Last log entry 10/24/24 11:53:45
10/24/24 11:54:07 Updater: service started. Auto-update class is MAJOR
10/24/24 11:54:07 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -49db
10/24/24 11:54:08 historyLog: service started.
10/24/24 11:54:18 historyLog: Last log entry 10/24/24 11:53:00
10/24/24 11:54:23 Updater: Auto-update is current for class MAJOR.
10/25/24 01:34:28 WiFi disconnected.
10/25/24 01:34:30 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -49db
10/25/24 03:00:05 WiFi disconnected.
10/25/24 03:00:06 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -81db

9/14/24 05:03:19 WiFi disconnected.
9/14/24 05:03:20 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -74db
9/16/24 00:32:07 Updater: Invalid response from server. HTTPcode: -4
9/21/24 13:37:03 WiFi disconnected.
9/21/24 13:37:09 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -51db
9/22/24 19:56:26 WiFi disconnected.
9/22/24 19:56:28 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -69db
9/24/24 09:12:43 WiFi disconnected.
9/24/24 09:12:45 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -48db
10/05/24 01:13:21 WiFi disconnected.
10/05/24 01:13:23 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -50db
10/08/24 04:13:35 WiFi disconnected.
10/08/24 04:13:38 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -51db
10/08/24 22:40:12 WiFi disconnected.
10/08/24 22:40:13 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -73db
10/12/24 05:54:46 WiFi disconnected.
10/12/24 05:54:47 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -50db
10/15/24 06:47:29 WiFi disconnected.
10/15/24 06:47:35 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -48db
10/15/24 06:56:19 WiFi disconnected.
10/15/24 06:56:20 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -50db
10/15/24 13:20:42 WiFi disconnected.
10/15/24 13:20:43 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -50db
10/16/24 10:39:17 WiFi disconnected.
10/16/24 10:39:18 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -49db
10/24/24 04:39:49 WiFi disconnected.
10/24/24 04:39:53 WiFi connected. SSID=theshed_2.4, IP=192.168.56.73, channel=7, RSSI -51db
10/24/24 11:53:47 timeSync: Six week routine restart.

IoTwat2 Newest device installed today:
SD initialized.
Real Time Clock not running.
Reset reason: Software/System restart
Trace: 32:137[120], 153:251[243], 128:62[195], 155:213[163], 178:32[207], 103:217[114], 161:198[186], 64:57[112], 88:124[48], 37:214[236], 136:111[1], 0:57[226], 175:120[250], 58:228[21], 52:116[43], 90:187[28], 158:18[139], 62:206[149], 191:113[68], 190:2[77], 219:17[82], 209:136[73], 76:130[83], 4:228[172], 162:74[125], 35:83[236], 213:113[102], 32:8[218], 235:225[156], 138:30[74], 142:146[109], 219:125[5]
ESP8266 ID: 14632697, RTC PCF8523 (68)
IoTaWatt 5.0, Firmware version 02_08_03
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.

I had in the past changed the wifi channel but that did not resolve it, any advice would be grateful

They should have different device names when on the same network.

It looks like you have more than one AP/router on the same channel with the same name. The wifi stack on the esp is probably seeing interference and decided to switch to the other one.

The signal strength looks great on one of them, but the other is quite low. You didn’t state what you are using for wifi. I would look there. These kinds of intermittent problems can be difficult to debug.