# Device with 2 inputs and 1 output

**URL:** <https://community.homey.app/t/device-with-2-inputs-and-1-output/112929>\
**Category:** Devices\
**Created:** [July 15, 2024, 3:00pm UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929 "2024-07-15T15:00:08Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 15, 2024, 3:00pm UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/1 "2024-07-15T15:00:08Z")

</div>

I’m searching for a device which has two 230v inputs and one output.  
The inputs need to be able to accept on/off switches.  
If one of the inputs switches, the output needs to be toggled.

One of the ‘switches’ is a Sonoff iFan which has a remote control and a conventional 230v switch.  
If either is switched, the light needs to be toggled.

This way if my Homey or wi-fi fails, I’m still able to switch the light by using the remote control or the conventional switch.

Anyone if such a device exists?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 15, 2024, 3:23pm UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/2 "2024-07-15T15:23:45Z")

</div>

Isn’t it possible to connect both switches in parallels to one 230V relay input?

I guess the easiest way is, just use 2 relays, both driven by one of the switches, and connect both outputs to the light.

Otherwise, there’s something called a dual coil relay.  
It switches the output, if one or both coils are getting powered by 230V.  
Didn’t find any of those in a quick search tho.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [July 15, 2024, 3:36pm UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/3 "2024-07-15T15:36:49Z")

</div>

Just connect the lamp to the 230V of the fan motor? When the fan runs, the light is on.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [July 15, 2024, 3:46pm UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/4 "2024-07-15T15:46:10Z")

</div>

You could use the fibari smart implant, but perhaps with an extra relais.

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 9:07am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/5 "2024-07-16T09:07:42Z")

</div>

Thank you for your answer.

This would mean that if 1 switch is on, it won’t be possible to switch off the light with the remote, right?

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 9:36am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/6 "2024-07-16T09:36:05Z")

</div>

Thanks.  
I want to be able to switch independently.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [July 16, 2024, 9:37am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/7 "2024-07-16T09:37:46Z")

</div>

This device must give you enough flexibility: [Shelly Plus i4](https://kb.shelly.cloud/knowledge-base/shelly-plus-i4)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 16, 2024, 9:48am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/8 "2024-07-16T09:48:56Z")

</div>

That’s only an input device though, no outputs.

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 9:50am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/9 "2024-07-16T09:50:25Z")

</div>

I’ve created a quick Paint drawing of my intention.

 ![sonoffifan](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/cab94bc03eb2b0e1c5985993201717dcc2e32859.png)

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 9:51am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/10 "2024-07-16T09:51:33Z")

</div>

Thanks.  
That’s only input, no output.  
I need to be able to switch the light on using the wall switch if wifi and/or Homey is down.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 16, 2024, 9:59am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/11 "2024-07-16T09:59:45Z")

</div>

With a Shelly 1 (which has one input) I think you can use something like this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1ab413d178fbd50b4763bda3d062b868cda10719.png)

You can configure the Shelly to toggle the output when the input _changes_ (either from on to off, or off to on).

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 10:01am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/12 "2024-07-16T10:01:28Z")

</div>

This will not work because if the switch is off the iFan will not be able to switch the light on.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 16, 2024, 10:02am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/13 "2024-07-16T10:02:16Z")

</div>

Ah duh, of course not 🤦🏼‍♂️

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 10:07am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/14 "2024-07-16T10:07:22Z")

</div>

However after creating the drawing I thought of something.  
If I use a device like the Qubino flush 2 relay and hardwire the wall switch to input 1 and hardwire the light to output 1, the wall switch will always be able to switch the light in case of an outage of Homey/Z-Wave.

If I connect the Sonoff iFan to input 2 and create a flow in Homey to when input 2 switches on, switch output 1 on (and vice versa).  
This will mean in case of an Homey outage the Sonoff iFan won’t be able to switch the light. This is no issue, however.

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [July 16, 2024, 10:08am UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/15 "2024-07-16T10:08:14Z")

</div>

Thank you for thinking along and your time, though!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 16, 2024, 11:13pm UTC](https://community.homey.app/t/device-with-2-inputs-and-1-output/112929/16 "2024-07-16T23:13:06Z")

</div>

> [@Robin\_van\_Kekem](#):
>
> This would mean that if 1 switch is on, it won’t be possible to switch off the light with the remote, right?

Ah yes, true that.
