I have an issue- which I guess is has some power issue. I'm using ESP32 and a 3.3v Dual relay.
My code is simple ( switch up and switch down ), and works fine.
The thing is that when all wires are connected between ESP32 and Relays, and then connecting ESP32 to USB cable from a 2A adapter to main, it just wont start ( I have a MQTT message send on boot ), BUT when I first connect ESP32 to power ( same cable, adapter and so on ), and only then connect VCC and GND to relay - all is working fine ( buttons and MQTT ).
I tried it several times, and it is persistent