Detecting and acting upon dry contact input

  • Hoping someone can help me please.

    I've got a Shelly Uni powered on and connected to my WLAN, and the Cloud integration working with Samsung Smartthings, so I can see two switches on my Shelly Uni in Smartthings.

    I intend to take dry contact input from my Guardline driveway sensor in the attached diagram.

    I used to have a Door sensor which the Guardline was wired to,

    COM on Guardline -> GND on Door sensor, and

    NC (Normally Closed) on Guardline -> IN on Door sensor

    My next challenge is being able to fire a Smartthings Event when the Guardline triggers it's dry contact output, but that's where I'm stuck. I wondered if anyone can please:

    firstly advise me how I can query the Shelly (perhaps see a log etc) for whether it detected an input on the dry contacts, and

    secondly how I can make a SmartThings event happen? I realise the switches on the Shelly are not useful for me as i will not be attaching anything to them.

    Sorry for the really bad diagram😊 if you can't tell, the wiring is:

    COM on Guardline -> 4 on shelly uni

    NC on Guardline -> 7 on shelly uni[Blockierte Grafik: https://i.ibb.co/RQkBtQJ/Screenshot-2023-09-20-at-10-59-30.png]