Haspone output pin for buzzer and input pin for motion detect

Anyone know were to find how to hook up a buzzer to the D1 mini when used as haspone switch plate?
I’d settle for finding info on a input from a motion sensor to turn on the display. I know luma tried it. Nothing in the hook up docs or anywhere I see.