Pulling my hair out at the moment. I am not sure what could be going wrong I have a mix of ESP-01s and ESP-01. I Have had great success with the firmware everything worked as it should. I needed another 3 so got these from my supplier.
I Flashed the firmware but constant connection issues very unreliable so I figured it was a bad batch of ESP-01s. I have ordered some more from somewhere else and waiting on those to turn up.
In the meantime, I see that a new version of FW was released so decided to upgrade the current fleet, the same issue! I figured it is a firmware issue so rolled it back to a version I know works ok version 0.13.0-b4 problem remains
An un(re)flashed version of 0.13.0-b4 still works fine but anything newly flashed has the same flakey issue. Looking at one light (with glitter running) It looks like the ESP is crashing as the light sequence pauses every 30 seconds or so. I connected a 2A power supply and the issue remains (30 pixels), I also added a 4700uF cap (all I had laying around) across the power supply with no improvement.
I have the environment set up and I add the example you provided but when I go to the UI all of those options are still available. Is that right? I don’t know a lot about this part of it. I do get a new firmware.bin in .pio and I wrote that.
I found out the issue, pretty stupid on my part. I was changing the AP name then rebooting. On the reconnection, my phone was caching the old name and I was connecting back to that. Once I removed the network from my list of wifi ap’s everything started to work.