ESP8266 board stops working once code uploaded OTA

Right, please bear with me as I’m not the most tech savvy person in the world but I can get the basics and appreciate I may be a little out of my depth here. Also not 100% sure If I’m posting this in the right place as its a project that straddles Arduino, Platform IO, Home Assistant etc etc but essentially I’m trying to build a form of this:

The physical build isn’t an issue but frustratingly the code owner isn’t particularly forthcoming with assisting anyone else trying to implement it themselves.

I can prepare my ESP8266 board using Arduino IDE for OTA updates… it’s connected on my network nicely, I can ping the IP and all is good. I’m 99.9% sure I’ve edited the code properly for my use case, changing all the info in secrets.ini and all the relevant info for ip address, network details etc etc on the platform.ini file and platform IO sends all the code onto the board without any errors… but as soon as the update completes I can no longer ping the board and it seems to disappear from my network. Any suggestions?

I don’t know the linked project and how you implemented ArduinoOTA to this.
But did you try the basic OTA example ?

Just to be sure that this is running without issues.

Hi, yes, sorry, perhaps I didn’t make myself clear.

I used the basic OTA example you refer to, this gets the board is up and running without issues.

It is only when I upload the GitHub project that the board seems to stop working so I’m assuming its either an issue with that code or something I haven’t edited correctly in the platform.ini file

Appreciate its a bit of a long shot to get some help with this so anything is helpful

Many thanks

Can you share your OTA enabled project so I can test this?