Issues with Nodemcu and wled

My setup

  1. I use 300 Led ws2812 to power something from 7 am to 11 pm.
  2. At 11pm, a smart plug switches off and starts again at 7 am next morning
  3. I was running this setup on ESP-12E board over the past 2 years …
  4. I powered the LED and ESP with same 5v 10A smps
  5. Sometime back I got a Nodemcu with base board deployed latest wled and tried running with same ws2812.
  6. Everything worked as expected, EXCEPT, the lights randomly early and now almost everytime do not start any automation at 7am when smart plug switches power supply. I can’t detect my Nodemcu on wled app.
  7. The only thing works is if I switch off the plug, remove wled, switch on and then add wled back.
  8. If I try to power on Nodemcu with a different usb mini power supply, and wled with my original snps, it doesn’t control the lights . I can see Nodemcu on wled app but wled is doing something on its own

Any suggestions for points 7 and 8. What should I be doing.

seams a condensator above 470uF woudt stabalise the power on issue