D1 mini pro + motion detect

Hi everyone,

I’m fairly new to this topic, and what i wanna do is to connect motion detection to D1 mini pro while using https://install.wled.me software, so leds will turn on while detecting any motion and turn off after 30 seconds or so.

Could anyone lead what i should do?

Thanks in advance.

You can use button assignment of PIR sensor.

Or, to step up the game, use PIR sensor usermod.