I tried getting a HC-SR501 to work on a regular esp8266 but nothing shows up in the logs, and if I refresh devices, the pin states stay the same.
Connected both VCC to 5V and GND to my psu, and the output to GPIO0. If I check the pins with my multimeter it shows 5V on the
VCC and 3.2V output when there's movement so I think the PIR is good.
Decided to try get input from a regular momentary push button switch connected to GPIO0 and GND, but also had no luck.
I know the state should go on with press and off as soon as you let go of the switch, so I'd hold it down for a while and refresh page.
Device setup:

What am I missing?
Thanks!