How To: Driveway Swing Gate Automation (Shelly + BFT) - Working Perfectly with states!

Hi all,

First post here, so go easy!

I’ve been trying to replicate what I’ve read in this thread for my BFT Thalia and using a Shelly Plus Uni. Annoyingly the Shelly Plus Uni inputs are different from the previous Shelly Uni ones and I’ve struggled to get my head around them as I don’t think they’re very well documented for my case of using the digital inputs with both free and powered contacts. Nonetheless this is what I’ve come up with.

Before I plug this in and test it, does anyone have experience with the Shelly Plus Uni who can advise if this is the right way to wire up the digital inputs?