I tried to get one of my ESP-01 to sense distance. Unfortunately it is not up to the task.
On bootup it sees GPIO 0 low and it tries goes in to program mode.
But on a good note, I figured out why my PIR was not working right, it was going to the wrong URL.
I ran 1/2 walked 1/2. Untimed.