# Wired gate open/close sensor

**URL:** <https://community.homey.app/t/wired-gate-open-close-sensor/113239>\
**Category:** Questions & Help\
**Created:** [July 21, 2024, 8:10pm UTC](https://community.homey.app/t/wired-gate-open-close-sensor/113239 "2024-07-21T20:10:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Thijs](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mark_thijs/32/111330_2.png) [@Mark\_Thijs](https://community.homey.app/u/Mark_Thijs)\
**Post date:** [July 21, 2024, 8:10pm UTC](https://community.homey.app/t/wired-gate-open-close-sensor/113239/1 "2024-07-21T20:10:49Z")

</div>

Hi all. I have an existing wired open/closed magnetic sensor on my gate.  
I am using a Shelly mini Z-Wave relay to open and close the gate using my Homey.

Is there a way to use the wired open/closed sensor with my setup? Or which component can I add to connect the wired sensor to my network?  
I would like to define a flow like “when I get home AND the gate is closed, open it”.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [July 22, 2024, 7:47am UTC](https://community.homey.app/t/wired-gate-open-close-sensor/113239/2 "2024-07-22T07:47:02Z")

</div>

The Shelly mini has switch contact also, why not use that as a signal for open / close. Keep in mind that you are using 230Vac on th contact.

You could use one of the other Shelly devices for just the contact information.
