Zehnder/Stork WHR Ventilation Unit

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

PiotrekB
Posts: 10
Joined: Friday 07 December 2018 11:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by PiotrekB »

hesselb wrote: Sunday 14 July 2019 10:16 a view smal problems

1563091783: New client connected from 127.0.0.1 as whr930 (c1, k700).
1563091792: Socket error on client whr930, disconnecting.

and the log from domticz

2019-07-14 10:14:00.811 MQTT: Topic: domoticz/in, Message: { "idx" : 61, "nvalue" : 0, "svalue" :"Unknown"}
2019-07-14 10:14:02.944 MQTT: Topic: domoticz/in, Message: { "idx" : 63, "nvalue" : 0, "svalue" :"Unknown"}
2019-07-14 10:14:05.093 MQTT: Topic: domoticz/in, Message: { "idx" : 57, "nvalue" : 0, "svalue" :"0"}
2019-07-14 10:14:05.200 MQTT: Topic: domoticz/in, Message: { "idx" : 58, "nvalue" : 0, "svalue" :"0"}
2019-07-14 10:14:05.307 MQTT: Topic: domoticz/in, Message: { "idx" : 59, "nvalue" : 0, "svalue" :"15625"}
2019-07-14 10:14:05.414 MQTT: Topic: domoticz/in, Message: { "idx" : 60, "nvalue" : 0, "svalue" :"13297"}
2019-07-14 10:14:17.629 MQTT: Topic: domoticz/in, Message: { "idx" : 52, "nvalue" : 0, "svalue" :"44.5"}
2019-07-14 10:14:17.732 MQTT: Topic: domoticz/in, Message: { "idx" : 53, "nvalue" : 0, "svalue" :"-12.0"}
2019-07-14 10:14:17.836 MQTT: Topic: domoticz/in, Message: { "idx" : 54, "nvalue" : 0, "svalue" :"11.5"}
2019-07-14 10:14:17.939 MQTT: Topic: domoticz/in, Message: { "idx" : 55, "nvalue" : 0, "svalue" :"75.5"}
2019-07-14 10:14:20.095 MQTT: Topic: domoticz/in, Message: { "idx" : 62, "nvalue" : 0, "svalue" :"-1"}
2019-07-14 10:14:20.202 MQTT: Topic: domoticz/in, Message: { "idx" : 61, "nvalue" : 0, "svalue" :"Unknown"}
2019-07-14 10:14:22.339 MQTT: Topic: domoticz/in, Message: { "idx" : 63, "nvalue" : 0, "svalue" :"Ok"}
2019-07-14 10:14:24.484 MQTT: Topic: domoticz/in, Message: { "idx" : 57, "nvalue" : 0, "svalue" :"15"}
2019-07-14 10:14:24.591 MQTT: Topic: domoticz/in, Message: { "idx" : 58, "nvalue" : 0, "svalue" :"35"}
2019-07-14 10:14:24.699 MQTT: Topic: domoticz/in, Message: { "idx" : 59, "nvalue" : 0, "svalue" :"373"}
2019-07-14 10:14:24.807 MQTT: Topic: domoticz/in, Message: { "idx" : 60, "nvalue" : 0, "svalue" :"528"}
2019-07-14 10:14:37.059 MQTT: Topic: domoticz/in, Message: { "idx" : 52, "nvalue" : 0, "svalue" :"-20.0"}
2019-07-14 10:14:37.162 MQTT: Topic: domoticz/in, Message: { "idx" : 53, "nvalue" : 0, "svalue" :"-20.0"}
2019-07-14 10:14:37.266 MQTT: Topic: domoticz/in, Message: { "idx" : 54, "nvalue" : 0, "svalue" :"-16.5"}
2019-07-14 10:14:37.370 MQTT: Topic: domoticz/in, Message: { "idx" : 55, "nvalue" : 0, "svalue" :"69.5"}
2019-07-14 10:14:39.506 MQTT: Topic: domoticz/in, Message: { "idx" : 62, "nvalue" : 0, "svalue" :"239"}
2019-07-14 10:14:39.618 MQTT: Topic: domoticz/in, Message: { "idx" : 61, "nvalue" : 0, "svalue" :"No"}
2019-07-14 10:14:41.751 MQTT: Topic: domoticz/in, Message: { "idx" : 63, "nvalue" : 0, "svalue" :"Unknown"}
2019-07-14 10:14:43.886 MQTT: Topic: domoticz/in, Message: { "idx" : 57, "nvalue" : 0, "svalue" :"50"}
2019-07-14 10:14:43.993 MQTT: Topic: domoticz/in, Message: { "idx" : 58, "nvalue" : 0, "svalue" :"45"}
2019-07-14 10:14:44.101 MQTT: Topic: domoticz/in, Message: { "idx" : 59, "nvalue" : 0, "svalue" :"453"}
2019-07-14 10:14:44.208 MQTT: Topic: domoticz/in, Message: { "idx" : 60, "nvalue" : 0, "svalue" :"3511"}
Hellow, How you solved this problem, i have the same problem on Log with Domoticz, the temperatur is not stable...
What did you do ??
hesselb
Posts: 7
Joined: Thursday 11 July 2019 11:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by hesselb »

i have stil the same problem
iamhaller
Posts: 2
Joined: Saturday 10 August 2019 13:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by iamhaller »

-
Last edited by iamhaller on Thursday 08 October 2020 10:06, edited 1 time in total.
PiotrekB
Posts: 10
Joined: Friday 07 December 2018 11:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by PiotrekB »

In my Zehnder 350lux on the main board is DB9 socket. I have conected RPI _ adapter USB rs232 ( DB9) and cable 3 pins GND, TX,RX, to the Zehnder DB9 and it's working.
Consolez
Posts: 1
Joined: Tuesday 20 September 2016 19:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by Consolez »

Hi All,

I have got a WHR950 wtw system installed in my house. With 5x CO2 RF sensors connected to the WHR950 unit. The sensors are placed in the bedrooms and living room. They have a green, orange and red led to signal the CO2 levels in these rooms. When orange or red the system will run faster.

I am very interested in the measurement from these sensors. Is there a possibility to log/store the sensor measurements?
Sjong3
Posts: 1
Joined: Friday 13 September 2019 10:47
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by Sjong3 »

I have a Zehnder 950 luxe, and i only want to read out the temperature's, got enough RF timer controllers and my whr is CO2 controlled, so no need to adjust the speed as it goes automaticly. Is it possible to only get the temperature's truw the RJ45 connection when i attach it to my network and use the domoticz plug in from Sappien? Or does this only works if i directly connect my Synology nas to it with a RS232 connection?

I have tried to decifer the installation manual from Zehnder but it only shows me the placement of the connectors, i cant find anything about how to read out the temperature sensors.
broekp
Posts: 3
Joined: Wednesday 25 September 2019 22:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by broekp »

Hi All,

i have the script working and i am able to control my Zehnder 950 basic.
I however am trying to find a way to control the inflow fan (Zuluft Ventilator) so i can automatically turn off this fan to prevent hot air in my house duriong summers.

In the protocol document (http://www.see-solutions.de/sonstiges/P ... mfoAir.pdf) the Zuluft Ventilator aktiv can be read and is availale in the scripts from the topic starter but i cannot find a command to set this specific mode.
I do know that this mode is controllable from the unit itself with a button and i understand from documentation that is is also possible to send from the Zehnder ComfoSense control unit.

Has anyone reverse engineered further codes or can point me to the right command to use?
I already tried setting the Zuluft Stufe abwesend to 0 and although that seems to set the fan to 0% the fan state reported is still Aktiv and i am unsure if the fan is actually off and in that sense not pulling in air from outside.

Does anybody here have any idea?
mathiasc
Posts: 2
Joined: Saturday 30 August 2014 16:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Belgium
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by mathiasc »

hello everyone, i also have tried to connect my Zehnder comfoair 450 to my pi.

i have a USB to RS232 adapter and i have modified a console cable as follows:

rj45 pin 2 -> rs232 pin 3
rj45 pin 3 -> rs232 pin 2
rj45 pin 8 -> rs232 pin 5

i tried then every script i could find to get it working but i never seem to get any response from the unit.

i see the green LED on the unit blinking very fast when i send a command for a few seconds but i never get a response.

i tried connecting it to my PC and check it with putty, but the same result, i see the led blinking very fast but no response.

i also tried swapping pin 2 & 3 on the RS232 as suggested on page 1 but then the unit constantly keeps blinking fast.

i tried downloading the program as suggested on page 3 but you cannot request a key for it anymore.

the port is /dev/ttyUSB0 and seems to be fine:

Code: Select all

pi@pi:~ $ dmesg | grep tty
[    0.000000] Kernel command line: coherent_pool=1M bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=PARTUUID=d5db435e-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.001109] console [tty1] enabled
[    0.971397] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    1.975811] console [ttyAMA0] enabled
[73850.636892] usb 1-1.2: pl2303 converter now attached to ttyUSB0
[87894.527812] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[88373.948655] usb 1-1.2: pl2303 converter now attached to ttyUSB0
[91033.343777] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[92084.397108] usb 1-1.4: pl2303 converter now attached to ttyUSB0
lsusb

Code: Select all

pi@pi:~ $ lsusb
Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
the scripts i am executing:

serialcommands.py:

Code: Select all

pi@pi:~ $ python serialcommands.py
Enter your commands below.
Insert "exit" to leave the application.
>> 0x07 0xF0 0x00 0x69 0x00 0x16 0x07 0x0F
>>0x07 0xF0 0x00 0x69 0x00 0x16 0x07 0x0F

>>
whr930.py

Code: Select all

pi@pi:~/StorkAir-Zehnder-WHR-930-Domoticz-MQTT $ src/whr930.py
************************
* WHR930 MQTT Domoticz *
************************

24-11-2019 17:17:32 INFO: Successfull subscribed to the MQTT topics
Traceback (most recent call last):
  File "src/whr930.py", line 280, in <module>
    get_temp()
  File "src/whr930.py", line 151, in get_temp
    SupplyAirTemp = int(data[8], 16) / 2.0 - 20
IndexError: list index out of range
pi@pi:~/StorkAir-Zehnder-WHR-930-Domoticz-MQTT $
any kind of help would be appreciated :)

note: i am using a standard "startech usb to RS232 converter" which is connected to the pi, do i still need the RS232 to TTL converter in between?
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by Sappien »

rubenvallinga
Posts: 1
Joined: Friday 03 January 2020 22:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by rubenvallinga »

Hi other members,

The implementation of my WHR930 works great for me. I needed a little bit more research but it was worth it.

I only have one problem, the RPM fan speed presentations arend working correctly. When i use the setting above 20% on the selector switch my fans are getting in a bad value for RPM presentation but the fans are speeding up correctly.
Normally the fan speed is +/- 2900 RPM by 35% fanspeed(selector 20%), but if i reach to fan speed 50% or higher (selector switch 30% or 40%) the speed is going down to 604 RPM.
The fan speed is really going up but something goes wrong on the serial communication for the presentation of the RPM.

Can someone suggest me what to try? Thanks!

P.S. I changed the intakefan/exhaustfan text sensors to a custom virtual sensor with RPM on the axis label and the Intakefanspeed/exhaustfanspeed text sensors to percentage virtual sensors. Now it is possible to log the values on a table. When i used the sensor as original text sensor i still had the same problem as above.

RPM by 35% fanspeed:
Schermafbeelding 2020-01-03 om 23.04.00.png
Schermafbeelding 2020-01-03 om 23.04.00.png (393.39 KiB) Viewed 3077 times
RPM by 70% fanspeed:
Schermafbeelding 2020-01-03 om 23.09.30.png
Schermafbeelding 2020-01-03 om 23.09.30.png (387.62 KiB) Viewed 3077 times
CafedelmarNL
Posts: 4
Joined: Wednesday 14 February 2018 9:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by CafedelmarNL »

Can someone please help me with the cable "setup"

I'm stuck with the cable setup, at this moment ist receives more data without the gnd attached to it then with it...

and when is does its sends: WARNING: The length of the data we recieved from the serial port is 8, it should be minimal 10 bytes
CafedelmarNL
Posts: 4
Joined: Wednesday 14 February 2018 9:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by CafedelmarNL »

Is there a maximum of lenght of the serial cable ?

At this moment i have a standard Cisco rollover cable strip with 2 rj45 plugs at bith end (like a straight cable) and a rj45 coupler with a rj45 at the other end with the 3 wires 2, 3 and 8 connected to the usb - rs232 cable at pin 3, 2 and 8 but its all trouble...

Can someone help me out ?
Cooletijdgast
Posts: 1
Joined: Monday 10 February 2020 0:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by Cooletijdgast »

Hi,
I have a question with installing the plugin for the WHR 930, but I don't know what is meant with the serialport, by default it says YPort but if I leave it like that it gives me an error because it can find the file in /dev/YPort. So my question is to should I have this changed?

Thanks in advance.
adorobis
Posts: 6
Joined: Tuesday 18 February 2020 9:09
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by adorobis »

PiotrekB wrote: Saturday 10 August 2019 14:14 In my Zehnder 350lux on the main board is DB9 socket. I have conected RPI _ adapter USB rs232 ( DB9) and cable 3 pins GND, TX,RX, to the Zehnder DB9 and it's working.
Could you tell a bit more about that? What cable have you used exactly? I have the same issue with strange and ever changing values being reported and I'm using just regular RS232 cable connected to a DB9 connector on pc.
PiotrekB
Posts: 10
Joined: Friday 07 December 2018 11:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by PiotrekB »

adorobis wrote: Tuesday 18 February 2020 9:18
PiotrekB wrote: Saturday 10 August 2019 14:14 In my Zehnder 350lux on the main board is DB9 socket. I have conected RPI _ adapter USB rs232 ( DB9) and cable 3 pins GND, TX,RX, to the Zehnder DB9 and it's working.
Could you tell a bit more about that? What cable have you used exactly? I have the same issue with strange and ever changing values being reported and I'm using just regular RS232 cable connected to a DB9 connector on pc.
I just use telephone wire ( 3 of 4 wire). And I just buy a DB9 connector for DIY
Image
( I do not remember it is female or male) and i bought simple adapter like this:
Image
In the 3 wire was RX,TX GND.
adorobis wrote: Tuesday 18 February 2020 9:18 I have the same issue with strange and ever changing values being reported and I'm using just regular RS232 cable connected to a DB9 connector on pc.
I have the same problem. In my solution was disconect oem panel from Zehnder ( CCeasy). When I disconect the CCeasy, the values was stable and true.
I know that CCeasu use RS232 comunnication and the DB9 MB same protocol. And impossible is that two device use the same communication ath the same time.
And I wonder how the solve this.
adorobis
Posts: 6
Joined: Tuesday 18 February 2020 9:09
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by adorobis »

Right, same here. I've disconnected the Easy panel completely and now everything works!
I've published my code https://github.com/adorobis/hacomfoairmqtt as I'm integrating it with Home Assistant :)

Regarding the two connected devices at the same time, there are some commands that enable one or the other but have not tried that yet. The mode "PC Master" would suggest that both devices should be connected at the same time. Maybe for that we need to use the DB9 port that is on the PCB?
Attachments
RS232modus.jpg
RS232modus.jpg (66.45 KiB) Viewed 2894 times
adorobis
Posts: 6
Joined: Tuesday 18 February 2020 9:09
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by adorobis »

Btw, there seems to be very good documentation for integration with OpenHAB, this includes information that the RS232 port on PCB should be used and that you can control the mode:
https://www.openhab.org/addons/bindings/comfoair1/
PiotrekB
Posts: 10
Joined: Friday 07 December 2018 11:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by PiotrekB »

I use port DB9 on the PCB , but:
Limitations
Either the ComfoAir binding or the CCEase Comfocontrol can be active, but not together.
So in this case, there no way to use CCEasy and Domoticz / else ate the same time.
I wonder, beacouse the main board of 350luxe have conectors marked as RS485 ( CC Luxe).
Meaybe this is the way..
adorobis
Posts: 6
Joined: Tuesday 18 February 2020 9:09
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by adorobis »

That's why the author of the OpenHAB binding has implemented a switch which controls if PC or CCEasy is controlling the unit. This should be possible also on other platforms

Btw, he has also implemented a mode switch - Exhaust&Supply, Supply only or Exhaust only. I can't figure out which commands he is using to switch this mode and I could not find it in the comfoair protocol document. Any ideas? Here is the github repo maybe you would be able to find it out in the code?
https://github.com/gieemek/ComfoAir_Binding_modified
PiotrekB
Posts: 10
Joined: Friday 07 December 2018 11:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zehnder/Stork WHR Ventilation Unit

Post by PiotrekB »

adorobis wrote: Friday 21 February 2020 14:34 That's why the author of the OpenHAB binding has implemented a switch which controls if PC or CCEasy is controlling the unit. This should be possible also on other platforms

Btw, he has also implemented a mode switch - Exhaust&Supply, Supply only or Exhaust only. I can't figure out which commands he is using to switch this mode and I could not find it in the comfoair protocol document. Any ideas? Here is the github repo maybe you would be able to find it out in the code?
https://github.com/gieemek/ComfoAir_Binding_modified
Sorry I can't write the scripts and code, I really don't know where to find this "SWITCH".. and I use domoticz, so if someone can convert this code for tolk to domoticz it will be great for me.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests