Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Everything about esp8266 and more.
User avatar
bbqkees
Posts: 511
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by bbqkees » Thursday 30 June 2016 9:45

A while ago I bought a Sonoff module and flashed it with ESpEasy firmware.

Now I use this module to set my Ducobox mechanical home ventilation system to 'High' whenever the light in the bathroom is on.

If you are going to follow the instructions below please be very careful because you will be working with exposed mains voltage.

The Ducobox can be controlled by (expensive) wireless Duco wall modules but also via a hardwired plug (via Perilex).

Image

The Sonoff module has one relay which can turn on a mains voltage peripheral.

What you need to do is make sure the L3 terminal of Ducobox gets connected to the mains voltage line (L) when the relay switches on.
If the Ducobox detects 230V on L3, the fan will be set the High. (You could also connect it to L2, it will go to half power).

Image

You need to connect the Sonoff exactly like the picture above. It is important that you do it this way, otherwise you will connect the N (neutral/blue) line to the Ducobox L3 when the relay is turned on, which will short circuit the box.
Also make sure the brown cable of the plug of the Ducobox is actually connected to L and not to N.

The Sonoff module is small enough to fit inside the Ducobox, and because it is powered by the mains voltage you don't need an additional power supply.
Image

Now you setup a switch in Domoticz like the usual ESPEasy method.

And afterwards create a Blockly to turn it on when needed:
Image

I use it via the bathroom light but you could also add a humidity sensor etc.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

User avatar
bbqkees
Posts: 511
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by bbqkees » Tuesday 05 July 2016 13:49

The setup as described above will also work for f.i. Storkair/Buva ventilation units.
In fact it will work for every unit that has the tri-state input.

for the Storkair the connection is almost the same as for the Ducobox:
Image

just connect the Sonoff to the grey wire pin on the top connector.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

RayAmsterdam
Posts: 190
Joined: Sunday 11 January 2015 17:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by RayAmsterdam » Tuesday 05 July 2016 22:43

bbqkees wrote:The setup as described above will also work for f.i. Storkair/Buva ventilation units.
In fact it will work for every unit that has the tri-state input.

for the Storkair the connection is almost the same as for the Ducobox:
Image

just connect the Sonoff to the grey wire pin on the top connector.
It is easier to use the 10V input. Simply add a CoCo (KaKu) ACM-LV10 dimmer and you will be able to control the unit continuously variable. See this thread.

mcwieger
Posts: 81
Joined: Tuesday 08 December 2015 10:59
Target OS: NAS (Synology & others)
Domoticz version: 3.7243
Location: Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mcwieger » Wednesday 26 October 2016 20:33

This looks like an interesting solution, as Duco have stepped away from z-wave and use their own closed RF system now.

@bbqkees: can you tell me which modifications have been done on the Sonoff module, apart from flashing the firmware? The link you included mentions soldering, which I would like to stay away from...is that required?
Synology DS414|Zwave.Me RC2|Harmony Elite|Imperihome|Alexa
Aeotec: Stick 5|3x MultiSensor 6|4x Smart Dimmer 6
Qubino: 6xZMNHDD1|4xZMNHAD1|1x ZMNHBD1
Fibaro: 6x FGRM222|3x FGS212|1x FGS223|2x FGWPE
Onkyo TX-NR616|D-Link DCS-825L|Kodi HTPC|SE4000|P1 Cable

User avatar
bbqkees
Posts: 511
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by bbqkees » Thursday 27 October 2016 9:33

mcwieger wrote:This looks like an interesting solution, as Duco have stepped away from z-wave and use their own closed RF system now.

@bbqkees: can you tell me which modifications have been done on the Sonoff module, apart from flashing the firmware? The link you included mentions soldering, which I would like to stay away from...is that required?
Well you need something to connect the 4 pins to the PCB for programming the board.
If you cannot solder it, you could use a few nails or bend paperclips to create the connection between the programmer and the PCB.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

mcwieger
Posts: 81
Joined: Tuesday 08 December 2015 10:59
Target OS: NAS (Synology & others)
Domoticz version: 3.7243
Location: Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mcwieger » Friday 28 October 2016 22:31

Ah, ok. So no OTA programming of the module. That's too bad.

Looking at the picture, it should be possible to just add a z-wave module, right? L+N to the module and black to L3 of the Ducobox. Bigger investment, but less hassle.
Synology DS414|Zwave.Me RC2|Harmony Elite|Imperihome|Alexa
Aeotec: Stick 5|3x MultiSensor 6|4x Smart Dimmer 6
Qubino: 6xZMNHDD1|4xZMNHAD1|1x ZMNHBD1
Fibaro: 6x FGRM222|3x FGS212|1x FGS223|2x FGWPE
Onkyo TX-NR616|D-Link DCS-825L|Kodi HTPC|SE4000|P1 Cable

User avatar
bbqkees
Posts: 511
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by bbqkees » Tuesday 01 November 2016 10:30

mcwieger wrote:Ah, ok. So no OTA programming of the module. That's too bad.

Looking at the picture, it should be possible to just add a z-wave module, right? L+N to the module and black to L3 of the Ducobox. Bigger investment, but less hassle.
There is more than enough room to add a Z-Wave module.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

RayAmsterdam
Posts: 190
Joined: Sunday 11 January 2015 17:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: RE: Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by RayAmsterdam » Wednesday 02 November 2016 21:20

mcwieger wrote:Ah, ok. So no OTA programming of the module. That's too bad.

Looking at the picture, it should be possible to just add a z-wave module, right? L+N to the module and black to L3 of the Ducobox. Bigger investment, but less hassle.
Why not using a (z-wave) 0-10V dimmer module? You can set all speedlevels with such a dimmer module.

mcwieger
Posts: 81
Joined: Tuesday 08 December 2015 10:59
Target OS: NAS (Synology & others)
Domoticz version: 3.7243
Location: Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mcwieger » Wednesday 02 November 2016 23:02

Will that work? It's stated above that it requires 230V (meaning a regular dimmer would work).

I'm going to use a qubino switch (dual) and connect it to L3 and L2. That gives me two speeds, should be more than enough.

Sent from my ASUS_Z00AD using Tapatalk
Synology DS414|Zwave.Me RC2|Harmony Elite|Imperihome|Alexa
Aeotec: Stick 5|3x MultiSensor 6|4x Smart Dimmer 6
Qubino: 6xZMNHDD1|4xZMNHAD1|1x ZMNHBD1
Fibaro: 6x FGRM222|3x FGS212|1x FGS223|2x FGWPE
Onkyo TX-NR616|D-Link DCS-825L|Kodi HTPC|SE4000|P1 Cable

RayAmsterdam
Posts: 190
Joined: Sunday 11 January 2015 17:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: RE: Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by RayAmsterdam » Wednesday 02 November 2016 23:32

mcwieger wrote:Will that work? It's stated above that it requires 230V (meaning a regular dimmer would work).

I'm going to use a qubino switch (dual) and connect it to L3 and L2. That gives me two speeds, should be more than enough.

Sent from my ASUS_Z00AD using Tapatalk
You don't need 230V. Just use a dimmer with 12V input and 0-10V output

wmn79
Posts: 63
Joined: Monday 13 April 2015 23:19
Target OS: NAS (Synology & others)
Domoticz version: 3.5033
Location: Amsterdam, The Netherlands
Contact:

Re: RE: Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by wmn79 » Monday 14 November 2016 12:47

RayAmsterdam wrote:
mcwieger wrote:Ah, ok. So no OTA programming of the module. That's too bad.

Looking at the picture, it should be possible to just add a z-wave module, right? L+N to the module and black to L3 of the Ducobox. Bigger investment, but less hassle.
Why not using a (z-wave) 0-10V dimmer module? You can set all speedlevels with such a dimmer module.
Maybe because of the pricing difference between the Sonoff (around €5) and the Z-Wave alternatives (around €55).

mcwieger
Posts: 81
Joined: Tuesday 08 December 2015 10:59
Target OS: NAS (Synology & others)
Domoticz version: 3.7243
Location: Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mcwieger » Tuesday 15 November 2016 17:29

Obviously Sonoff is the cheaper alternative, but if you're not into soldering, a Z-Wave module does the job. And that can be a dimmer or switch, prices of those are similar.
Synology DS414|Zwave.Me RC2|Harmony Elite|Imperihome|Alexa
Aeotec: Stick 5|3x MultiSensor 6|4x Smart Dimmer 6
Qubino: 6xZMNHDD1|4xZMNHAD1|1x ZMNHBD1
Fibaro: 6x FGRM222|3x FGS212|1x FGS223|2x FGWPE
Onkyo TX-NR616|D-Link DCS-825L|Kodi HTPC|SE4000|P1 Cable

RayAmsterdam
Posts: 190
Joined: Sunday 11 January 2015 17:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: RE: Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by RayAmsterdam » Tuesday 15 November 2016 21:01

wmn79 wrote:
RayAmsterdam wrote:
mcwieger wrote:Ah, ok. So no OTA programming of the module. That's too bad.

Looking at the picture, it should be possible to just add a z-wave module, right? L+N to the module and black to L3 of the Ducobox. Bigger investment, but less hassle.
Why not using a (z-wave) 0-10V dimmer module? You can set all speedlevels with such a dimmer module.
Maybe because of the pricing difference between the Sonoff (around €5) and the Z-Wave alternatives (around €55).
Or use COCO ACM-LV10 (around €25).

User avatar
bbqkees
Posts: 511
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by bbqkees » Wednesday 16 November 2016 0:30

You cannot use a 0-10V dimmer with a Duco box.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

RayAmsterdam
Posts: 190
Joined: Sunday 11 January 2015 17:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: RE: Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by RayAmsterdam » Wednesday 16 November 2016 0:37

bbqkees wrote:You cannot use a 0-10V dimmer with a Duco box.
But you can with the Storkair/Buva

mcwieger
Posts: 81
Joined: Tuesday 08 December 2015 10:59
Target OS: NAS (Synology & others)
Domoticz version: 3.7243
Location: Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mcwieger » Friday 07 April 2017 11:36

The result of using a Qubino switch in the Duco box:
Attachments
Duco.jpg
Duco.jpg (186.05 KiB) Viewed 7032 times
Synology DS414|Zwave.Me RC2|Harmony Elite|Imperihome|Alexa
Aeotec: Stick 5|3x MultiSensor 6|4x Smart Dimmer 6
Qubino: 6xZMNHDD1|4xZMNHAD1|1x ZMNHBD1
Fibaro: 6x FGRM222|3x FGS212|1x FGS223|2x FGWPE
Onkyo TX-NR616|D-Link DCS-825L|Kodi HTPC|SE4000|P1 Cable

User avatar
mvveelen
Posts: 673
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mvveelen » Monday 17 April 2017 17:40

bbqkees wrote:A while ago I bought a Sonoff module and flashed it with ESpEasy firmware.

-...-

I use it via the bathroom light but you could also add a humidity sensor etc.
I'm using this box with a Kaku switch and can select speed 1 (the default speed), 2 or 3. With the Sonoff you can only select 1 (default) or 3 (high speed), right?
RPi3 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

User avatar
bbqkees
Posts: 511
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by bbqkees » Tuesday 18 April 2017 9:42

mvveelen wrote:
bbqkees wrote:A while ago I bought a Sonoff module and flashed it with ESpEasy firmware.

-...-

I use it via the bathroom light but you could also add a humidity sensor etc.
I'm using this box with a Kaku switch and can select speed 1 (the default speed), 2 or 3. With the Sonoff you can only select 1 (default) or 3 (high speed), right?
The Sonoff I used only has one 'SPST' relay. So yes, only speed 1 and 3. But for me that was enough.
You can also use the newer Sonoff Dual if you want all 3 speeds but this one needs a small modification.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

User avatar
mvveelen
Posts: 673
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by mvveelen » Tuesday 18 April 2017 10:49

Maybe a good idea when I want to get rid of the KaKu. I use speed 2 when someone uses the toilet :lol: It spins up the fan to speed 2 for about 5 minutes :mrgreen:
RPi3 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

commentator
Posts: 86
Joined: Thursday 23 June 2016 14:41
Target OS: Raspberry Pi
Domoticz version: beta
Location: NL
Contact:

Re: Sonoff/ESP8266 (Duco/Storkair etc) mechanical home ventilation control

Post by commentator » Sunday 20 August 2017 20:42

bbqkees wrote:
Thursday 30 June 2016 9:45

What you need to do is make sure the L3 terminal of Ducobox gets connected to the mains voltage line (L) when the relay switches on.
If the Ducobox detects 230V on L3, the fan will be set the High. (You could also connect it to L2, it will go to half power).
What if there is a connection with L2 & L3 @ the same time?

Thinking about adding a zwave switch to L2 & L3 to set it to High or medium. I can with Lua switch L2 or L3 off when enable the other one but there is possible some time there is power on both. So what happens then?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest