Microwave 24ghz motion sensor

Hello all!
Anyone have an idea on how to connect and use this motion sensor?

I connect it to the 12V (red wires) and then I connect one of the yellow wire in to D5 pin

binary_sensor:
  - platform: gpio
    pin: GPIO14  #(or D5.. same results)
    name: "Motion Sensor 1"
    device_class: motion

… but it doesn’t work: every time I touch the board with my hands it’s getting crazy switching on and off on the logs; if I raise the board through the power cable than it seem kind of working but not 100%.
Can someone help me?
Where am I wrong?
Thanks

for a start you could try de-bouncing your binary_sensor with a delayed_off filter.

Still I wonder you connect a 12V (?) output signal directly to a GPIO of a ESP? Wonder that it doesn’t reset actually :thinking:

There are 4 wires exit from the module… two (red) are for power it (12V and ground) and two of them are supposed to be for signal… the strange things is that if a touch the board it sends signal like is turning on/off; even if I leave on the table it does not work, I need literally to lift from the usb cable for making it working correctly :frowning:
Thanks for your answer

Because there are 2 “data” wires, I don’t know where to put the other!
Thanks

Hello! Any idea?