# Looking for Binding Blauberg Air Handling Unit with heat recovery

**URL:** <https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027>\
**Category:** Bindings\
**Created:** [September 8, 2017, 9:21am UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027 "2017-09-08T09:21:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![4u2fast](https://community.openhab.org/user_avatar/community.openhab.org/4u2fast/32/38905_2.png) [@4u2fast](https://community.openhab.org/u/4u2fast)\
**Post date:** [September 8, 2017, 9:21am UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/1 "2017-09-08T09:21:35Z")

</div>

Hi,  
i’m pretty new to openhab, have a EIB/KNX bus connected and would like to add Blauberg devices :-),  
anything availible ? here the wep page [http://blaubergventilatoren.de/en/series/vento-expert-a50-1-pro](http://blaubergventilatoren.de/en/series/vento-expert-a50-1-pro)  
The Units are connected via W-Lan and can be controlled via UDP  
Protocol description is here [http://blaubergventilatoren.de/uploads/download/ventoexpertduowsmarthousev11en2.pdf](http://blaubergventilatoren.de/uploads/download/ventoexpertduowsmarthousev11en2.pdf)  
Thanks  
Thomas

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [September 8, 2017, 2:37pm UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/2 "2017-09-08T14:37:51Z")

</div>

There is the TCP/UDP Binding. It isn’t super easy to work with but in this case you at least have a published API and don’t have to reverse engineer it.

---

<div class="post-metadata">

**Author:** ![4u2fast](https://community.openhab.org/user_avatar/community.openhab.org/4u2fast/32/38905_2.png) [@4u2fast](https://community.openhab.org/u/4u2fast)\
**Post date:** [September 14, 2017, 8:53am UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/3 "2017-09-14T08:53:54Z")

</div>

Thanks Rich,  
is there a new binding for TCP/UDP binding for OH2 ?

thanks  
Thomas

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [September 14, 2017, 3:38pm UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/4 "2017-09-14T15:38:29Z")

</div>

No. There is only the 1.x version.

---

<div class="post-metadata">

**Author:** ![Rogerbl](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@Rogerbl](https://community.openhab.org/u/Rogerbl)\
**Post date:** [January 26, 2019, 12:28pm UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/5 "2019-01-26T12:28:22Z")

</div>

Hi Thomas!  
I have programmed two Python scripts which together monitor and control the Blauberg Vento Expert wifi fans as well as Vents Twinfresh Expert Wifi fans by using the MQTT protocol.  
These scripts are avilable in my netshop:  
[http://bit.do/exscg](http://bit.do/exscg)  
or  
[https://blomkvistitk-no.loopiasecure.com/produkt/fan2mqtt-mqtt2fan-licenses/?lang=en](https://blomkvistitk-no.loopiasecure.com/produkt/fan2mqtt-mqtt2fan-licenses/?lang=en)

Regards Roger

---

<div class="post-metadata">

**Author:** ![Osmii](https://community.openhab.org/user_avatar/community.openhab.org/osmii/32/37328_2.png) [@Osmii](https://community.openhab.org/u/Osmii)\
**Post date:** [May 9, 2019, 2:37am UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/6 "2019-05-09T02:37:56Z")

</div>

Hi Thomas!  
Did you manage to connect Blauberg vent with UDP binding?  
If you did, could you share the code?

---

<div class="post-metadata">

**Author:** ![4u2fast](https://community.openhab.org/user_avatar/community.openhab.org/4u2fast/32/38905_2.png) [@4u2fast](https://community.openhab.org/u/4u2fast)\
**Post date:** [June 19, 2019, 1:55pm UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/7 "2019-06-19T13:55:37Z")

</div>

Hi, I wrote some scripts using python udp function, didn’t had time to continue…

Blauberg.things

```csv
Thing exec:command:Blauberg_status [command="/srv/openhab2-conf/scripts/get_blauberg_status.sh status", interval=15, timeout=5] 

```

Blauberg.items

```csv
String Blauberg_status "Blauberg [MAP(Blauberg.map):%s]" { channel="exec:command:Blauberg_status:output", autoupdate="true" }
Switch Blauberg_on "Lüftung Schlafzimmer + Jonathan [MAP(Blauberg.map):%s]" <pump> (Status)  

```

Blauberg.rules

```csv
rule "Blauberg AN"
when
Item Blauberg_on changed to ON
then
if( Blauberg_status.state.toString == '00' )
executeCommandLine("/srv/openhab2-conf/scripts/send_blauberg_on.sh")
Blauberg_status.postUpdate('01'.toString)
end

rule "Blauberg AUS"
when
Item Blauberg_on changed to OFF
then
if( Blauberg_status.state.toString == '01' )
executeCommandLine("/srv/openhab2-conf/scripts/send_blauberg_on.sh")
Blauberg_status.postUpdate('00'.toString)
end

```

Scripts

```csv
[15:47:22] root@openhab:/etc/openhab2/scripts# more ON.py
import socket
STATUS = "mobile\03\04\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(2048)
ONOFF = data[7] # 0=OFF,1=ON
SPEED = data[19] # 0=LOW,1=MED,2=HIGH
MODE = data[23] # 0=VENTILATE,1=RECOVERY,2=INTAKE
print('POWER', (ONOFF))

[15:47:30] root@openhab:/etc/openhab2/scripts# more *
::::::::::::::
get_blauberg_status.sh
::::::::::::::
python /srv/openhab2-conf/scripts/ONOFF.py |sed 's/[^0-9]*//g'
::::::::::::::
LUEFTEN.py
::::::::::::::
import socket
STATUS = "mobile\03\04\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(2048)
ONOFF = data[7] # 0=OFF,1=ON
SPEED = data[19] # 0=LOW,1=MED,2=HIGH
MODE = data[23] # 0=VENTILATE,1=RECOVERY,2=INTAKE
print('POWER', (ONOFF))

::::::::::::::
ONOFF.py
::::::::::::::
# get Status ONOFF
import socket
STATUS = "mobile\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(2048)
ONOFF = data[7] # 0=OFF,1=ON
SPEED = data[19] # 0=LOW,1=MED,2=HIGH
MODE = data[23] # 0=VENTILATE,1=RECOVERY,2=INTAKE
print('POWER', (ONOFF))

::::::::::::::
ON.py
::::::::::::::
import socket
STATUS = "mobile\03\04\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(2048)
ONOFF = data[7] # 0=OFF,1=ON
SPEED = data[19] # 0=LOW,1=MED,2=HIGH
MODE = data[23] # 0=VENTILATE,1=RECOVERY,2=INTAKE
print('POWER', (ONOFF))

::::::::::::::

::::::::::::::
send_blauberg_on.sh
::::::::::::::
python /srv/openhab2-conf/scripts/ON.py |sed 's/[^0-9]*//g'
::::::::::::::
Status.py
::::::::::::::
# Echo client program
import socket
ON = "mobile\03\04\01\r\n"
STATUS = "mobile\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(1024)
print('Received', repr(data))
::::::::::::::
WRG.py
::::::::::::::
import socket
STATUS = "mobile\03\04\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(2048)
ONOFF = data[7] # 0=OFF,1=ON
SPEED = data[19] # 0=LOW,1=MED,2=HIGH
MODE = data[23] # 0=VENTILATE,1=RECOVERY,2=INTAKE
print('POWER', (ONOFF))

::::::::::::::
ZULUFT.py
::::::::::::::
import socket
STATUS = "mobile\03\04\01\r\n"
HOST = '192.168.0.20' # The remote host
PORT = 4000 # The same port as used by the server
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((HOST, PORT))
sock.sendall(STATUS)
data = sock.recv(2048)
ONOFF = data[7] # 0=OFF,1=ON
SPEED = data[19] # 0=LOW,1=MED,2=HIGH
MODE = data[23] # 0=VENTILATE,1=RECOVERY,2=INTAKE
print('POWER', (ONOFF))

[15:48:22] root@openhab:/etc/openhab2/scripts#

```

---

<div class="post-metadata">

**Author:** ![mhbosch](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@mhbosch](https://community.openhab.org/u/mhbosch)\
**Post date:** [April 17, 2020, 2:41pm UTC](https://community.openhab.org/t/looking-for-binding-blauberg-air-handling-unit-with-heat-recovery/34027/8 "2020-04-17T14:41:46Z")

</div>

Hello,

i have start to write a bridge service between vent und mqtt.

Look here: [https://github.com/mhbosch/vent\_to\_mqtt](https://github.com/mhbosch/vent_to_mqtt)

Help welcome!
