# ITEAD Sonoff

**URL:** <https://community.homey.app/t/itead-sonoff/119>\
**Category:** Apps\
**Tags:** app\
**Created:** [August 22, 2018, 11:20am UTC](https://community.homey.app/t/itead-sonoff/119 "2018-08-22T11:20:11Z")\
**Posts on this page:** 20\
**Page:** 6

<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 8, 2019, 10:09am UTC](https://community.homey.app/t/itead-sonoff/119/103 "2019-07-08T10:09:14Z")

</div>

Flashing is still the only option, I’m afraid ☹

---

<div class="post-metadata">

**Author:** ![Frans\_Keeman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frans_keeman/32/79711_2.png) [@Frans\_Keeman](https://community.homey.app/u/Frans_Keeman)\
**Post date:** [July 8, 2019, 10:10am UTC](https://community.homey.app/t/itead-sonoff/119/104 "2019-07-08T10:10:38Z")

</div>

hm to dificult for me. wil leave the homey part then and only use it thru google assistent. 🤨🤨

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [July 17, 2019, 7:33am UTC](https://community.homey.app/t/itead-sonoff/119/105 "2019-07-17T07:33:51Z")

</div>

@robertklep how is that new DIY stuff looking from your side? Will it mean no flashing needed?  
I’m in need of a mini switch/relay for an extractor fan, and sonoff would be by far the cheapest way to do it if I could control with Homey!

---

<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 17, 2019, 7:46am UTC](https://community.homey.app/t/itead-sonoff/119/106 "2019-07-17T07:46:04Z")

</div>

I haven’t looked at it at all, not sure if I ever will because I mostly stopped using Homey.

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [July 17, 2019, 8:59am UTC](https://community.homey.app/t/itead-sonoff/119/107 "2019-07-17T08:59:00Z")

</div>

☹ Sad to hear

Out of interest what system have you moved to?

---

<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 17, 2019, 9:08am UTC](https://community.homey.app/t/itead-sonoff/119/108 "2019-07-17T09:08:17Z")

</div>

Home Assistant. I moved to it when my Homey got bricked when I upgraded from v1 to v2, and had to send Homey back to Athom. During that time (about a two week period) I moved everything to Home Assistant (I already had Zigbee and Z-Wave USB sticks) and never went back.

---

<div class="post-metadata">

**Author:** ![RichardRR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richardrr/32/10373_2.png) [@RichardRR](https://community.homey.app/u/RichardRR)\
**Post date:** [August 1, 2019, 2:25pm UTC](https://community.homey.app/t/itead-sonoff/119/109 "2019-08-01T14:25:55Z")

</div>

Can’t connect Sonoa basic,

Mqtt connectie kon niet gemaakt worden.

Do you have any idea for me?

---

<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:** [August 1, 2019, 2:29pm UTC](https://community.homey.app/t/itead-sonoff/119/110 "2019-08-01T14:29:14Z")

</div>

Which device cannot connect to the MQTT broker, Homey or the Sonoff device?

I assume you have an MQTT broker running? Because you need one. The easiest solution would be to run one on Homey using the [MQTT Broker app](https://apps.athom.com/app/nl.scanno.mqttbroker).

---

<div class="post-metadata">

**Author:** ![RichardRR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richardrr/32/10373_2.png) [@RichardRR](https://community.homey.app/u/RichardRR)\
**Post date:** [August 1, 2019, 2:35pm UTC](https://community.homey.app/t/itead-sonoff/119/111 "2019-08-01T14:35:32Z")

</div>

The sonos device, no I don’t have a mqtt.  
I’ll do that right now and try.  
This is the first time I’m trying to install something  
of sonos.

---

<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:** [August 1, 2019, 2:36pm UTC](https://community.homey.app/t/itead-sonoff/119/112 "2019-08-01T14:36:11Z")

</div>

Sonos is something entirely different from Sonoff 😉

---

<div class="post-metadata">

**Author:** ![RichardRR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richardrr/32/10373_2.png) [@RichardRR](https://community.homey.app/u/RichardRR)\
**Post date:** [August 1, 2019, 2:40pm UTC](https://community.homey.app/t/itead-sonoff/119/113 "2019-08-01T14:40:15Z")

</div>

word prediction  
Sorry 😐

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [August 9, 2019, 9:14am UTC](https://community.homey.app/t/itead-sonoff/119/114 "2019-08-09T09:14:22Z")

</div>

I have a question about how the Sonoff works… might be easiest to explain the use case

Want to use this on an extractor fan - this has an isolation switch but is also linked to the light switch, so if the light turns on, the fan turns on (unless isolation switch is off), and when the light goes off there is a timer which runs the extractor for x minutes. The fan therefore is powered even with the switch off via a neutral.

My question is, if I stick a sonoff on the line to the fan, will it still pass that power or will the sonoff cut the live and the neutral?

Thanks

---

<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:** [August 9, 2019, 9:21am UTC](https://community.homey.app/t/itead-sonoff/119/115 "2019-08-09T09:21:01Z")

</div>

Timed extractor fans will have three wires connected: live, neutral and switch (where the switch wire is connected to the light).

So it depends on what you want to do and which “line to the fan” you mean 🙂 In any case, I think that the Sonoff devices only switch live, and pass neutral as-is. If you have a multimeter you can run a continuity check between neutral in and neutral out to find out (if you don’t, I can check later).

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [August 9, 2019, 9:24am UTC](https://community.homey.app/t/itead-sonoff/119/116 "2019-08-09T09:24:37Z")

</div>

Thanks for the quick reply!

The line to the fan I was meaning is the wire that goes directly into the back of the fan (so the one with three wires you mentioned i guess (I havent looked inside the casing yet!)

It sounds like I should wire the sonoff into the switch (for live) and neutral (for neutral) and leave the live as is… then, bypass the lightswitch at the switch end?  
Would that make sense?

---

<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:** [August 9, 2019, 9:27am UTC](https://community.homey.app/t/itead-sonoff/119/117 "2019-08-09T09:27:12Z")

</div>

What are you trying to achieve exactly?

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [August 9, 2019, 9:49am UTC](https://community.homey.app/t/itead-sonoff/119/118 "2019-08-09T09:49:56Z")

</div>

I want to link it with a humidity sensor so that the extractor will only come on when the shower is in use (it’s a secondary bathroom so the shower won’t be used much), and then control at will otherwise with flows…

---

<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:** [August 9, 2019, 10:11am UTC](https://community.homey.app/t/itead-sonoff/119/119 "2019-08-09T10:11:39Z")

</div>

Just checked: the Sonoff Basic only switches the L side, and passes the N as-is. The Sonoff POW as well.

So you have two options: switch the L going to the fan, which would disable the timer because you’re basically turning off the power to the fan completely, or switch the switch wire going to the fan and still be able to use the timer. In both cases, you need to pass the N through the Sonoff.

If you want to operate the fan purely on humidity, you probably want to use the first option.

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [August 9, 2019, 10:40am UTC](https://community.homey.app/t/itead-sonoff/119/120 "2019-08-09T10:40:58Z")

</div>

Thanks so much!  
Edit. I guess switching the the switch wire maybe makes most sense maybe, as I _could_ decide to leave it functioning ‘as is’ by leaving the sonoff on, but still control manually (i’m _never_ going to want the fan on when the light is off other than the run on from the timer)

Or as you say I guess I might be better switching the L as then everything controlled via sonoff (and prsumably i need eliminate the connection to the lightswitch all together in this option?)

---

<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:** [August 9, 2019, 10:50am UTC](https://community.homey.app/t/itead-sonoff/119/121 "2019-08-09T10:50:10Z")

</div>

> [@vaderag](#):
>
> and prsumably i need eliminate the connection to the lightswitch all together in this option?

Yes, that connection becomes moot in that case. It may require some sort of configuration at the fan-side, otherwise it may not come on if the switch wire is disconnected (the most obvious solution would be to tie the switch and L endpoints on the fan together, but perhaps the fan already has a selectable option for that).

---

<div class="post-metadata">

**Author:** ![hetzijzo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hetzijzo/32/1079_2.png) [@hetzijzo](https://community.homey.app/u/hetzijzo)\
**Post date:** [September 3, 2019, 12:18pm UTC](https://community.homey.app/t/itead-sonoff/119/122 "2019-09-03T12:18:34Z")

</div>

Have you seen the Python library for discovering and controlling the Sonoff devices in LAN mode. It requires the latest version of the original firmware.

> **[pysonofflan](https://pypi.org/project/pysonofflan/)**
>
> Interface for Sonoff devices running original Itead firmware, in LAN mode.

I think this looks promosing for rewriting the Sonoff plugin.

[Previous page](https://community.homey.app/t/itead-sonoff/119.md?page=5)

[Next page](https://community.homey.app/t/itead-sonoff/119.md?page=7)
