@clivec If you look in the MySensors code, wifi is not an option for the radio transport. You'd have to somehow write your own deal for that, and it would likely get really involved.
ESP32 is supported for a gateway, where the wifi is the backhaul transport, effectively, but you would need a separate radio for the MySensors side of things.
To use an ESP32 on its own, without a separate radio, you might look into something like https://esphome.io/ This does not allow for interaction with MySensors directly, though. What is your ultimate plan? An ESP32 is very power hungry when on wifi, so it wouldn't work as a battery-powered device very well. They're pretty cheap, and easy to get a hold of, so if you have them plugged into mains power then you could use them alongside a MySensors network. Maybe with something like Home Assistant controlling both and providing a link from one to the other if needed?
Maybe you haven't been getting much interaction here because it doesn't fit very well with MySensors. I've seen your previous posts, but since I haven't tried to connect any ESP32 devices to the network, I didn't have any input for you. (I prefer my backhaul to be wired, so the ESP32 wifi was a negative, in my book.)
I mean, I have nothing against ESP32 for other things, but for me it has no place in the MySensors network at all.