EDGENT for esp Constantly goes offline

You might want to read this:

and hopefully a suitable current limiting resistor too?

Pete.