ESP32 - "No matching network found!"

Dear Cognoscenti,
I set up ESPHome and an ESP32 processor measuring air quality successfully a month ago. The version of ESPHome was 2023.2.4. Everything was working fine until I upgraded to 2023.3.0. Since then my ESP32 processors have not been connecting to the wifi.
I have tried upgrading to 2023.3.2, reverting back to 2023.2.4, removing the ESP32 processors and reinstalling them, and removing ESPHome and reinstalling it. I have tried the ESP32 processor with the default wifi setting, my customised wifi settings, with the network names and passwords in plain text and using !SECRET. I bought a brand new ESP32 processor and installed it, and it is showing the same error.
All to no effect.

Here is the configuration:

esphome:
  name: esp32-2
  friendly_name: ESP32-2

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
  level: verbose

# Enable Home Assistant API
api:
  encryption:
    key: "enMw+Gl60Zr0aPPZJdyawDTrt9dF62h62Z/fZ56cMMk="

ota:
  password: "eb94e6a7137c8ed5177873e638ac304f"

wifi:
  networks:
  - ssid: bwifi
    password: *******
    bssid: 20:B0:01:C0:70:8F
    priority: 1
  - ssid: bhwifi_EXT
    bssid: 20:E5:2A:1A:22:A0
    password: *******
    priority: 0
  # Define local domain name
  domain: .bh.local

  # Add static ip address
  manual_ip:
    static_ip: 192.168.1.51
    gateway: 192.168.1.254
    subnet: 255.255.255.0

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esp32-2 Fallback Hotspot"
    password: "cuSS5KnJDOW4"

captive_portal:

uart:
  tx_pin: GPIO17
  rx_pin: GPIO16
  baud_rate: 9600

sensor:
  - platform: pmsx003
    type: PMSX003
    pm_1_0:
      name: "PM1.0"
    pm_2_5:
      name: "PM2.5"
    pm_10_0:
      name: "PM10"
    update_interval: 30s

And here is the log - is the relevant error the following?
“[V][esp32.preferences:058]: nvs_get_blob(‘3785824164’): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet”
Thank you very much for your advice.

ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[     6][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[I][logger:258]: Log initialized
[C][ota:469]: There have been 5 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[V][esp32.preferences:125]: sync: key: 233825507, len: 4
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[C][uart.arduino_esp32:077]: Setting up UART...
[    67][E][HardwareSerial.cpp:525] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

[C][wifi:037]: Setting up WiFi...
[C][wifi:038]:   Local MAC: 70:B8:F6:5B:3F:48
[V][esp32.preferences:058]: nvs_get_blob('3785824164'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[V][wifi_esp32:039]: Enabling STA.
[   113][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[V][wifi_esp32:444]: Event: WiFi ready
[   209][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[   210][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
[V][wifi_esp32:459]: Event: WiFi STA start
[  6031][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 128, Status: 0, Results: 4
[  6031][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=128
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[D][wifi:386]: Starting scan...
[ 13193][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 129, Status: 0, Results: 4
[ 13194][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=129
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[D][wifi:386]: Starting scan...
[ 20354][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 130, Status: 0, Results: 4
[ 20355][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=130
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[D][wifi:386]: Starting scan...
[ 27516][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 131, Status: 0, Results: 4
[ 27516][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=131
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 1 µg/m^3, PM10.0 Concentration: 1 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 1.000000
[D][sensor:127]: 'PM2.5': Sending state 1.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 1.000000
[D][sensor:127]: 'PM10': Sending state 1.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 1 µg/m^3, PM10.0 Concentration: 1 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 1.000000
[D][sensor:127]: 'PM2.5': Sending state 1.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 1.000000
[D][sensor:127]: 'PM10': Sending state 1.00000 µg/m³ with 0 decimals of accuracy
[D][pmsx003:236]: Got PM1.0 Concentration: 0 µg/m^3, PM2.5 Concentration 0 µg/m^3, PM10.0 Concentration: 0 µg/m^3
[V][sensor:076]: 'PM1.0': Received new state 0.000000
[D][sensor:127]: 'PM1.0': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM2.5': Received new state 0.000000
[D][sensor:127]: 'PM2.5': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[V][sensor:076]: 'PM10': Received new state 0.000000
[D][sensor:127]: 'PM10': Sending state 0.00000 µg/m³ with 0 decimals of accuracy
[D][wifi:386]: Starting scan...
[ 34677][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 132, Status: 0, Results: 4
[ 34677][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=132
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[D][wifi:386]: Starting scan...
[ 41838][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 133, Status: 0, Results: 4
[ 41838][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=133
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[D][wifi:386]: Starting scan...
[ 48998][V][WiFiGeneric.cpp:381] _arduino_event_cb(): SCAN Done: ID: 134, Status: 0, Results: 4
[ 48999][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[V][wifi_esp32:453]: Event: WiFi Scan Done status=0 number=4 scan_id=134
[D][wifi:401]: Found networks:
[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!
[W][wifi:585]: Restarting WiFi adapter...
[V][wifi_esp32:041]: Disabling STA.
[ 49078][V][WiFiGeneric.cpp:341] _arduino_event_cb(): STA Stopped
[ 49080][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 3 - STA_STOP
[V][wifi_esp32:464]: Event: WiFi STA stop

You have bwifi in your priority 1 ESP setup but it finds the bhwifi SSID. I can’t see why it’s not picking up the bhwifi_EXT SSID though: are you sure the password is correct?

Hi Troon, thank you for your very prompt reply.
The passwords for both networks are the same. I have rechecked the config file and these are correct.
By the way, how are you able to pick up that the ESP32 is finding bhwifi?
Thanks very much for your help.

By reading the logs you included — second and third lines below, with the second line matching the AP MAC you specified in your config for the bwifi network that is it not finding:

[D][wifi:450]: - 'bhwifi_EXT'[redacted] (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[W][wifi:455]: No matching network found!

If those are LAN IP addresses you’re redacting, there is no point doing that. Are you certain that your network is still in the 192.168.1.0/24 subnet and there’s nothing else already at 192.168.1.51?

Hi Troon, I have run “nmap -sn 192.168.1.0/24” on one of my Raspberry Pi’s and I can’t see 192.168.1.51 showing up.
Incidentally the log had the [redacted] entries already in it, I didn’t add these.
Thanks for your help.

Oddly and rather frustratingly, after removing and re-adding ESPHome, and the ESP32 processer several times it looks like the processor is now connecting to the wifi.
But it now won’t connect to my Home Assistant RPi on 192.168.1.2:



ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13132
load:0x40080400,len:3036
entry 0x400805e4
[I][logger:258]: Log initialized
[C][ota:469]: There have been 1 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]:   Local MAC: 70:B8:F6:5B:3F:48
[D][wifi:386]: Starting scan...
[D][wifi:401]: Found networks:
[I][wifi:445]: - 'bhwifi_EXT' (20:E5:2A:1A:22:A0) [redacted]▂▄▆█
[D][wifi:446]:     Channel: 6
[D][wifi:447]:     RSSI: -48 dB
[D][wifi:450]: - 'bhwifi'[redacted] (20:B0:01:C0:70:8F) [redacted]▂▄▆█
[D][wifi:450]: - 'bhwifi'[redacted] (0C:80:63:74:32:8E) [redacted]▂▄▆█
[D][wifi:450]: - 'DIRECT-4L17-TR7500series'[redacted] (02:BB:C1:C2:47:17) [redacted]▂▄▆█
[I][wifi:257]: WiFi Connecting to 'bhwifi_EXT'...
[I][wifi:518]: WiFi Connected!
[C][wifi:362]:   Local MAC: 70:B8:F6:5B:3F:48
[C][wifi:363]:   SSID: 'bhwifi_EXT'[redacted]
[C][wifi:364]:   IP Address: 192.168.1.176
[C][wifi:366]:   BSSID: 20:E5:2A:1A:22:A0[redacted]
[C][wifi:367]:   Hostname: 'esp32-2'
[C][wifi:369]:   Signal strength: -49 dB ▂▄▆█
[C][wifi:373]:   Channel: 6
[C][wifi:374]:   Subnet: 255.255.255.0
[C][wifi:375]:   Gateway: 192.168.1.254
[C][wifi:376]:   DNS1: 192.168.1.38
[C][wifi:377]:   DNS2: 0.0.0.0
[D][wifi:527]: Disabling AP...
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: esp32-2.local:3232
[C][ota:097]:   Using Password.
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[I][app:102]: ESPHome version 2023.3.2 compiled on Mar 29 2023, 14:29:16
[C][wifi:504]: WiFi:
[C][wifi:362]:   Local MAC: 70:B8:F6:5B:3F:48
[C][wifi:363]:   SSID: 'bhwifi_EXT'[redacted]
[C][wifi:364]:   IP Address: 192.168.1.176
[C][wifi:366]:   BSSID: 20:E5:2A:1A:22:A0[redacted]
[C][wifi:367]:   Hostname: 'esp32-2'
[C][wifi:369]:   Signal strength: -49 dB ▂▄▆█
[C][wifi:373]:   Channel: 6
[C][wifi:374]:   Subnet: 255.255.255.0
[C][wifi:375]:   Gateway: 192.168.1.254
[C][wifi:376]:   DNS1: 192.168.1.38
[C][wifi:377]:   DNS2: 0.0.0.0
[C][logger:293]: Logger:
[C][logger:294]:   Level: DEBUG
[C][logger:295]:   Log Baud Rate: 115200
[C][logger:296]:   Hardware UART: UART0
[C][captive_portal:088]: Captive Portal:
[C][mdns:108]: mDNS:
[C][mdns:109]:   Hostname: esp32-2
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: esp32-2.local:3232
[C][ota:097]:   Using Password.
[C][api:138]: API Server:
[C][api:139]:   Address: esp32-2.local:6053
[C][api:141]:   Using noise encryption: YES
[D][api:102]: Accepted 192.168.1.2
[W][api.connection:071]: 192.168.1.2: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[D][api:102]: Accepted 192.168.1.2
[W][api.connection:071]: 192.168.1.2: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[D][api:102]: Accepted 192.168.1.2
[W][api.connection:071]: 192.168.1.2: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[D][api:102]: Accepted 192.168.1.2
[W][api.connection:071]: 192.168.1.2: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11

I have tried restarting HA (but not the RPi) and it is still showing the error code.

I guess it wouldn’t connect to 192.168.1.2 because the original configuration in HA was still in Integrations.
I deleted this and reinstalled it, and the processor is now connecting to HA.
The processor isn’t measuring the sensor attached to it, but hopefully in a few more restarts it will be!
All rather frustrating but certainly character building!