# SONOFF RE5V1C: How tu use the PIN IO2

**URL:** <https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080>\
**Category:** Free discussion\
**Created:** [September 15, 2024, 5:59pm UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080 "2024-09-15T17:59:28Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![raffaele.forte](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raffaele.forte](https://forum.ewelink.cc/u/raffaele.forte)\
**Post date:** [September 15, 2024, 5:59pm UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/1 "2024-09-15T17:59:28Z")

</div>

Hi there,  
please can you give me information on how to use the PIN IO2 to connect to a switch or to a sensor? Thank you.  
Regards

---

<div class="post-metadata">

**Author:** ![jarkad.rpt](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jarkad.rpt/32/1498_2.png) [@jarkad.rpt](https://forum.ewelink.cc/u/jarkad.rpt)\
**Post date:** [September 18, 2024, 4:56am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/2 "2024-09-18T04:56:18Z")

</div>

I don’t understand the question which Pin of IO2. Please clarify the question.

---

<div class="post-metadata">

**Author:** ![ward](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/ward/32/10437_2.png) [@ward](https://forum.ewelink.cc/u/ward)\
**Post date:** [September 18, 2024, 5:55am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/3 "2024-09-18T05:55:25Z")

</div>

![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/7e1d12df6ff03eff070779108070a7465bebbccb.jpeg)

I don’t think you need IO2 to connect with external switch:

> **[SONOFF RE5V1C – 5V wifi inching/selflock relay module](https://itead.cc/product/sonoff-re5v1c/?srsltid=AfmBOoqpDcV1MTR6keMlx5mc-UHHN3oLOfjspXU6yRnh67BvHyPU_teh)**
>
> Nano Size  Dry Contact Output Low Power Supply – 5VDC low voltage input 2 Working modes – self-locking and inching mode LAN Control – Turn on/off the device even when WiFi has no Intern…

---

<div class="post-metadata">

**Author:** ![raffaele.forte](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raffaele.forte](https://forum.ewelink.cc/u/raffaele.forte)\
**Post date:** [September 18, 2024, 7:31am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/4 "2024-09-18T07:31:28Z")

</div>

I want to control the relay status by connecting IO2 to an external switch

---

<div class="post-metadata">

**Author:** ![raffaele.forte](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raffaele.forte](https://forum.ewelink.cc/u/raffaele.forte)\
**Post date:** [September 18, 2024, 7:51am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/5 "2024-09-18T07:51:00Z")

</div>

I asked how to control the relay status with an external switch, such as the SONOFF MINI Extreme, using the s1, s2 pins. I thought this might be possible using IO2.  
In the application manual it is written that the module “supports device button control”, but not in which way.

---

<div class="post-metadata">

**Author:** ![jarkad.rpt](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jarkad.rpt/32/1498_2.png) [@jarkad.rpt](https://forum.ewelink.cc/u/jarkad.rpt)\
**Post date:** [September 18, 2024, 8:07am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/6 "2024-09-18T08:07:35Z")

</div>

The only thing I could find for that PIN is this.  
 ![img1](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/705630bac3d778e6b6c5478836dba2af8f4df434.jpeg)

 ![re5v1c](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/d/d5f5ba8a20a0113f74b527d7fa8b84c2e890e389.jpeg)  
 ![RE5V1C-1](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/3/31526865eeaaac4c70164673a0946e0db6968824.png)

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [September 18, 2024, 8:16am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/7 "2024-09-18T08:16:08Z")

</div>

if you want to control RE5V1C with SONOFF MINI Extreme.

The create a scene to control the RE5V1C device depending on the on/off state of the mini extrime.

---

<div class="post-metadata">

**Author:** ![raffaele.forte](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raffaele.forte](https://forum.ewelink.cc/u/raffaele.forte)\
**Post date:** [September 18, 2024, 8:29am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/8 "2024-09-18T08:29:39Z")

</div>

I mentioned the **SONOFF MINI Extreme** only as an example of what I intend to do with **RE5V1C** , i.e. control the relay status by an external switch.

---

<div class="post-metadata">

**Author:** ![jarkad.rpt](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jarkad.rpt/32/1498_2.png) [@jarkad.rpt](https://forum.ewelink.cc/u/jarkad.rpt)\
**Post date:** [September 18, 2024, 8:36am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/9 "2024-09-18T08:36:50Z")

</div>

When creating a scene for the RE5V1C, this relay can be controlled by the different status of other devices connected to the eWelink app.

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [September 18, 2024, 9:06am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/10 "2024-09-18T09:06:30Z")

</div>

![RE5V1C_schemat](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/6/699dc8939e91532b8d5e0090085390fed93cadc5.jpeg)

Here you have power for the relay. measure the voltage. solder the external switch to the switch located on the RE5V1C device

---

<div class="post-metadata">

**Author:** ![raffaele.forte](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raffaele.forte](https://forum.ewelink.cc/u/raffaele.forte)\
**Post date:** [September 19, 2024, 2:31pm UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/11 "2024-09-19T14:31:27Z")

</div>

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![mario.bianchi](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mario.bianchi](https://forum.ewelink.cc/u/mario.bianchi)\
**Post date:** [September 22, 2024, 4:42pm UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/12 "2024-09-22T16:42:21Z")

</div>

it would be useful to enable an input for RE5V1C trough a firmware upgrade. This way this device would be suitable for garage door openers for exaple. having the realy to action the monual opening button, and being able to connect a magnetic sensor to know the status of the door as an example.

Other use case if to connect water level floaters where you want to use low voltage. This would make RE5V1C a unique device.

---

<div class="post-metadata">

**Author:** ![raffaele.forte](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@raffaele.forte](https://forum.ewelink.cc/u/raffaele.forte)\
**Post date:** [September 23, 2024, 6:55am UTC](https://forum.ewelink.cc/t/sonoff-re5v1c-how-tu-use-the-pin-io2/59080/13 "2024-09-23T06:55:08Z")

</div>

Well said!

-------- Messaggio originale --------
