Dukaone ventilation with heat exchanger and Home Assistant
The dukaone S6W is a one room ventilation system with a heat exchanger with up to 95% heat efficiency (running on the lowest speed). The S6W model has build it WiFi and can be controlled from an app on your phone/tablet. I have made an integration for Home Assistant so you can control the dukaone from within HA – read more below
What is this “ding”?
The “ding” has a fan behind a ceramic heat exchanger, and will run for 70 seconds one way and then change 70 seconds the other way. The ceramic heat exchanger will heat up when blowing air out of the house and cool down when blowing air in the house (assuming the air in the house is warmer). In the low mode is has an efficiency of 95% – in this mode the air flow is 15m³ per hour. I have only had if for about 3 months, and it has not yet been really cold in that period – only about 5°, but you can feel the air blowing in is not cold, so it is doing some heat exchange.
The duka one s6w is a Danish brand and you can read about it here: Duka Ventilation It may be a re-brand of similar a product in other countries, and you can find several products using the same heat exchanger. I bought this one because of the WiFi connectivity and I think it is one of the best looking devices. It is a bit more expensive than similar products – I got if for 3998 DKr.
The inside part of dukaone is glossy white plastic with a small curve. The device fits in a 16 cm hole in the wall. The inside part can be closed completely,by manually pressing the front. I guess that is in case of a storm to prevent air blowing in. The control panel has 3 touch buttons to select speed or turnoff and the mode. The regular in-out mode where the device is working as a heat exchanger, or you can have it running constantly in or out. (When it is warm, it is nice to have it blow cool air in at night).
The dukaone S6W also includes an IR remote control.
Behind the cover inside you can see the ceramic heat exchanger and a filter. The heat exchanger can be disconnected and pulled out using the wire. You need to be able to do that for cleaning and changing the filter once every 3 month.
The outside part is made in the same white plastic. (You can get the outside part in a few other colors). The front can be removed for cleaning.
WiFi and App
You connect the device to your WiFi using an app on your phone or tablet. I will not go into details about it, since I am only going to be using it for the initial setup. The app is not that great.
One thing I don’t like is that when the dukaone has been setup to connect to your WiFi, it will not start if it loose the connection. So if your WiFi dies you have no ventilation!
API for connecting to dukaone
I asked the manufacture about an API or any documentation about how to connect to the dukaone, but did any answer at all! Normally that would have made me choose another product, but I could not find any other similar product with the WiFi connectivity.
I had to inspect the UDP packages send to/from the dukaone and decipher then meaning of it. The dukaone constantly broadcast a packet each second to tell its current state. Unfortunately it is broadcasting it to destination 0.0.0.0 (maybe not initialized?). I have not found a way to receive these in python (If you know leave a comment below). I guess you can do it using a “RAW” socket, but since that is not always allowed, I have not looked further into it. (The broadcast could have been used for a nice auto discover functionality)
I have made a python dukaone sdk implementing the basic functionality:
- Set speed (low,medium,high)
- Set mode (in, inout, out)
- Turn on/off
- Listen for state changes (of the above)
You can get the dukaone sdk here on github:
A simple example is included if you want to try it. The dukaonesdk has also been uploaded to pypi.
Home Assistant integration
The home assistant integration is based on the above dukaonesdk. It includes a configuration flow so your can set it up from the UI in HA. You need to know the dukaone deviceid. You can get this from the dukaone app. If you know the IP address of the device you can specify it, or you can use the broadcast address of you network. If you use a broadcast address it is only used internally the first time to connect to the device. After a response has been received the device IP address will be used.
You can get the HA integration here: https://github.com/dingusdk/ha-dukaone
The easiest way to install, is using HACS (adding the above url as a user defined repository). Or you can copy the custom_components/dukaone folder manually.
The dukaone integrates as a fan in HA, but also adds an additional “dukaone.set_mode” service function.
To control the fan mode I have made a custom lovelace UI – you can get here on github
The custom UI adds button for mode (in, in-out, out):
I hope someone else can use this integration – if you do leave a comment below.