If you’ve successfully uploaded a sketch to the ESP-01 then it will no longer respond to AT commands, as the AT firmware will have been overwritten by the sketch.
When you used the Edgent sketch, what board type did you un—comment in the sketch?
The ESP-01 has limited available GPIOs , so it’s difficult to use with Edgent. More reading here…