Zehnder/Stork WHR Ventilation Unit
Moderator: leecollings
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
After being injured for a long time I picked up this project again.
I am not a python programmer so I only understand a small part of the code in ventserver.sh
neither do I use domoticz: ventserver is running on a PI and the only thing I need is a (json) file with the temperatures. I have a WHR930Luxe so I do not need to control the WHR. that is taken care of by a Qubino 0-10V unit.
So I am trying to strip the ventserver.sh from all code that is Domoticz related
Question: should I start from the ventserver.sh or from the ventserver.py (second version)
and can somebody indicate what parts I can delete that are Domoticz related?
I am not a python programmer so I only understand a small part of the code in ventserver.sh
neither do I use domoticz: ventserver is running on a PI and the only thing I need is a (json) file with the temperatures. I have a WHR930Luxe so I do not need to control the WHR. that is taken care of by a Qubino 0-10V unit.
So I am trying to strip the ventserver.sh from all code that is Domoticz related
Question: should I start from the ventserver.sh or from the ventserver.py (second version)
and can somebody indicate what parts I can delete that are Domoticz related?
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
-
- Posts: 3
- Joined: Tuesday 29 April 2014 19:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
That would be great! I am looking into a way of getting the serial RS232 data through a Wemo D1 on my wireless network. I already have the RJ45 to SubD-9 cable working on my laptop, but now I want to connect the Wemo D1 and send that data to Domoticz. Any ideas?
-
- Posts: 39
- Joined: Wednesday 31 December 2014 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
That would be cool. I have also a WHR930Luxe. I already can set the fan to 1 with a sonoff. I have also connected 4 DS18B20 to the sonoff
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
I have all the programming checked and working but getting no results.
My guess is that the protocol description for the WHR930 is not compatible with the WHR930 Luxe which I am using.
I get no response on the commands that I send to the unit.
the send led on the USB<->RS232 interface is blinking when I send a command but the receive led stays dark. no response at all.
I have changed the Rx and Tx and I used the RJ45 as well as the screw terminals.
Only the DB9 is not tried yet.
Does anyone know if there is a protocol specification for the WHR930 Luxe.
Zehnder Netherlands is not supporting this type of information.
My guess is that the protocol description for the WHR930 is not compatible with the WHR930 Luxe which I am using.
I get no response on the commands that I send to the unit.
the send led on the USB<->RS232 interface is blinking when I send a command but the receive led stays dark. no response at all.
I have changed the Rx and Tx and I used the RJ45 as well as the screw terminals.
Only the DB9 is not tried yet.
Does anyone know if there is a protocol specification for the WHR930 Luxe.
Zehnder Netherlands is not supporting this type of information.
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
OK that's a wifi switch I guess. so you don't have the RS232 protocol working?
and you use the DS 18B20 to read the 4 air temps.
I'd prefer to read the temps from the circuitboard in stead of using 4 external temp sensors
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
Re: Zehnder/Stork WHR Ventilation Unit
After reading this topic I became enthousiastic about controlling my StorkAir WHR950 unit with Domoticz. After examining the PCB of this unit I found out that I have version 1.00 of the PCB and firmware (at least is says so on the sticker of the EPROM). This board has a Philips 80C552 microcontroler interfaced via a MAX3082 RS485 interface chip.
After reading here (https://www.promixis.com/forums/showthr ... ir-WHR950/) I figured that I should be able to control it with an USB to RS485 interface.
So now that my FTDI USB RS485 interface has arrived I tried to send simple commands via a terminal capable of sending hex codes (realterm, of course with the correct baudrate, stopbit, etc) but I get no response at all from the unit. I already did a loopback test by connecting Rx and Tx after the FTDI chip (but before the RS485 converter) and that works fine. I'm also sure I connected the A, B and GND lines of the RS485 correctly.
Any hint on what could be wrong?
After reading here (https://www.promixis.com/forums/showthr ... ir-WHR950/) I figured that I should be able to control it with an USB to RS485 interface.
So now that my FTDI USB RS485 interface has arrived I tried to send simple commands via a terminal capable of sending hex codes (realterm, of course with the correct baudrate, stopbit, etc) but I get no response at all from the unit. I already did a loopback test by connecting Rx and Tx after the FTDI chip (but before the RS485 converter) and that works fine. I'm also sure I connected the A, B and GND lines of the RS485 correctly.
Any hint on what could be wrong?
Re: Zehnder/Stork WHR Ventilation Unit
Hi all,
In the meantime I figure out what the issue is... My unit is using a different protocol over the RS485 line. The StorAir maintenance tool communicates perfectly fine with my unit. If I sniff the com port while the tool is active I see the following messages coming by (some of them are also mentioned in the thread I referred to in my previous post:
Now I hope I get a full protocol description for my unit, so I can adapt the code for domoticz...
In the meantime I figure out what the issue is... My unit is using a different protocol over the RS485 line. The StorAir maintenance tool communicates perfectly fine with my unit. If I sniff the com port while the tool is active I see the following messages coming by (some of them are also mentioned in the thread I referred to in my previous post:
Code: Select all
07 F0 00 83 00 30 07 0F
07 F0 00 85 00 32 07 0F --> Query temperatures (looking at VSDomoticz code)
07 F0 00 87 00 34 07 0F --> Query Ventilators (looking at VSDomoticz code)
07 F0 00 87 00 34 07 0F
07 F0 00 89 00 36 07 0F --> Query Parameters 1(looking at VSDomoticz code)
07 F0 00 8B 00 38 07 0F --> Query Parameters 2(looking at VSDomoticz code)
07 F0 00 8F 00 3C 07 0F
07 F0 00 91 00 3E 07 0F
07 F0 00 96 00 43 07 0F
07 F0 00 98 00 45 07 0F
07 F0 00 9A 00 47 07 0F
07 F0 00 9C 00 49 07 0F
07 F0 00 C9 00 76 07 0F
Re: Zehnder/Stork WHR Ventilation Unit
Hey all I have been trying to connect my WTW machines over USB > RS323
I have tried to connect a WHR930 and WHR90 to my RPi3 and Macbook over ttyUSB1
I have used ventserver.sh and ventclient.sh, but i keep getting 'No Data'
I used a little python script to send the commands to the unit to see if i am getting a response.
No matter what commands i send i am not getting any response from any of the units.
Output:
I took the commands from the ventserver.sh
Can someone try to see if they do get a response using the same python script?
Or maybe point me in the right direction why my WHR930 and WHR90 are both not replying to any commands....
I have tried to connect a WHR930 and WHR90 to my RPi3 and Macbook over ttyUSB1
I have used ventserver.sh and ventclient.sh, but i keep getting 'No Data'
I used a little python script to send the commands to the unit to see if i am getting a response.
No matter what commands i send i am not getting any response from any of the units.
Output:
Code: Select all
pi@raspberrypi:~ $ python serialTest.py
Enter your commands below.
Insert "exit" to leave the application.
>> \x07\xF0\x00\xCD\x00\x7A\x07\x0F
>> \x07\xF0\x00\x99\x01\x02\x49\x07\x0F
>> \x07\xF0\x00\x99\x01\x04\x4B\x07\x0F
>> \x07\xF0\x00\x99\x01\x00\x47\x07\x0F
Can someone try to see if they do get a response using the same python script?
Or maybe point me in the right direction why my WHR930 and WHR90 are both not replying to any commands....
- Attachments
-
- serialcommands.py.zip
- Serial Py
- (720 Bytes) Downloaded 196 times
Re: Zehnder/Stork WHR Ventilation Unit
I am having a similar issue now, i got that data back once.domoticzcom1234 wrote: ↑Saturday 25 June 2016 21:23 All,
Today I tried to connect my WHR 930 with a serial printboard using a serial to USB converter I bought at ebay. (Search on ebay for "USB 2.0 to RS232 Serial DB9 9 PIN Cable Adapter GPS PDA Converter", very cheap but should work)
I followed the instructions but running the status.sh only returned ONCE (out of many) a result in Domoticz but only with incorrect values (54 degrees outside temp. and more invalid information. The rest of the times it fails with the error message "integer expression expected". A reboot, disconnect cables, poweroff the WTW did not helped.
Update:
By running the following script I can change the speed:
-------------------------
#!/bin/sh
/bin/echo -e '\x07\xF0\x00\x99\x01\x01\x48\x07\x0F' > /dev/ttyUSB0
---------------------------
The script as posted gives a lot "integer expression expected" errors:
What could be the issue with the script? Please help.
Thanks in advance.
-----------------
ERROR CODES AFTER RUNNING STATUS.SH
-----------------
Ventserver not running..
./status.sh: line 50: [: : integer expression expected
Status WHR
{
"status" : "OK",
"title" : "Update Device"
}
{
"status" : "OK",
"title" : "Update Device"
}
{
"status" : "OK",
"title" : "Update Device"
}
{
"status" : "OK",
"title" : "Update Device"
}
./status.sh: line 70: [: : integer expression expected
./status.sh: line 78: [: : integer expression expected
./status.sh: line 86: [: : integer expression expected
./status.sh: line 94: [: : integer expression expected
----------------------------------------------------------------------------------------------------------------------------------------------
After that the WHR 930 never responded again... i triple checked the wires and scripts.
Did you ever manage to solve this?
-
- Posts: 5
- Joined: Friday 12 January 2018 20:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
Hi,
I Have a Zehnder ComfoAir350 Luxe with CC EASY and a RPI3 with domoticz.
And a DB9 port on my PCB
https://drive.google.com/file/d/1uDVFhM ... _3O0v/view
I Use a conection
RPI3 <USB - SERIAL DB9> -<DB9 pin 2,3,5 DB9> -<DB9 Port on PCB
A use scripts vent 0.3.
And it isn't work
When i start ventserver ...
https://drive.google.com/file/d/1uDVFhM ... sp=sharing
Any solutions ?
I Have a Zehnder ComfoAir350 Luxe with CC EASY and a RPI3 with domoticz.
And a DB9 port on my PCB
https://drive.google.com/file/d/1uDVFhM ... _3O0v/view
I Use a conection
RPI3 <USB - SERIAL DB9> -<DB9 pin 2,3,5 DB9> -<DB9 Port on PCB
A use scripts vent 0.3.
And it isn't work
When i start ventserver ...
https://drive.google.com/file/d/1uDVFhM ... sp=sharing
Any solutions ?
Re: Zehnder/Stork WHR Ventilation Unit
I could be that you have the same issue that I have: slightly different communication protocol. Did you try the official "Maintenance software" from Stork / Zehnder. You can download it from this thread:
https://www.promixis.com/forums/showthr ... R950/page3
If that works then jou know that your cables are OK and that the communication protocol is the issue.
Let me know what your findings are.
https://www.promixis.com/forums/showthr ... R950/page3
If that works then jou know that your cables are OK and that the communication protocol is the issue.
Let me know what your findings are.
-
- Posts: 11
- Joined: Monday 26 February 2018 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
Hi everyonemogwai wrote:I could be that you have the same issue that I have: slightly different communication protocol. Did you try the official "Maintenance software" from Stork / Zehnder. You can download it from this thread:
https://www.promixis.com/forums/showthr ... R950/page3
If that works then jou know that your cables are OK and that the communication protocol is the issue.
Let me know what your findings are.
Any progress mogwai? I have the same one unit i started it yesterday and today I try to connect it to pc. If you have any suggestions...
Wysłane z mojego D6503 przy użyciu Tapatalka
-
- Posts: 5
- Joined: Friday 12 January 2018 20:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
SzuR widzę że jesteś z Polski ?
odezwij się proszę na stabilo1(at)interia.pl
odezwij się proszę na stabilo1(at)interia.pl
Re: Zehnder/Stork WHR Ventilation Unit
Hi,
I am curious if anyone with a basic version of Zehnder got this working, i am using the Zehnder WHR basic RFR but i am not able to get any of the data that is described in this topic. When i print the data from the serial port the array only has 7 values indexed. Is their anyone that is using the basic version and what functionalities are you using? @bizziebis you are also using thr basic version right?
I am curious if anyone with a basic version of Zehnder got this working, i am using the Zehnder WHR basic RFR but i am not able to get any of the data that is described in this topic. When i print the data from the serial port the array only has 7 values indexed. Is their anyone that is using the basic version and what functionalities are you using? @bizziebis you are also using thr basic version right?
-
- Posts: 11
- Joined: Monday 26 February 2018 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
My storkair also no response
Wysłane z mojego D6503 przy użyciu Tapatalka
Wysłane z mojego D6503 przy użyciu Tapatalka
Re: Zehnder/Stork WHR Ventilation Unit
Hi all. No progress on understanding the protocol of my unit, but a discussion did start on:
https://www.promixis.com/forums/showthr ... 0&p=153224
https://www.promixis.com/forums/showthr ... 0&p=153224
-
- Posts: 11
- Joined: Monday 26 February 2018 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
Hi cab you explain your setup for receiving data? I have Rs232to usb plug but i can't get anything from it. What cable, pins, operating system and programs you use?mogwai wrote:Hi all. No progress on understanding the protocol of my unit, but a discussion did start on:
https://www.promixis.com/forums/showthr ... 0&p=153224
Wysłane z mojego D6503 przy użyciu Tapatalka
Re: Zehnder/Stork WHR Ventilation Unit
My old WHR950 has a RS485 connection (NOT RS232!), so I use a RS485 to USB adapter. If you also have RS485 then make sure you connect only signal A, B and GND. My WHR950 also has 12V on its connector which can destroy your RS485 to USB adapter. The software I used is the official StorkAir maintenance SW that you can download from this forum:
https://www.promixis.com/forums/showthr ... R950/page3
https://www.promixis.com/forums/showthr ... R950/page3
-
- Posts: 11
- Joined: Monday 26 February 2018 20:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
Thank you for the information. I need to fund some xp. Sp3 pc rof thismogwai wrote:My old WHR950 has a RS485 connection (NOT RS232!), so I use a RS485 to USB adapter. If you also have RS485 then make sure you connect only signal A, B and GND. My WHR950 also has 12V on its connector which can destroy your RS485 to USB adapter. The software I used is the official StorkAir maintenance SW that you can download from this forum:
https://www.promixis.com/forums/showthr ... R950/page3
Wysłane z mojego D6503 przy użyciu Tapatalka
-
- Posts: 114
- Joined: Saturday 24 August 2013 9:59
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Zehnder/Stork WHR Ventilation Unit
I've made a new script for the WHR930 with MQTT support,
https://github.com/AlbertHakvoort/Stork ... oticz-MQTT
https://github.com/AlbertHakvoort/Stork ... oticz-MQTT
- Attachments
-
- whr930-domoticz.png (70.14 KiB) Viewed 4362 times
Who is online
Users browsing this forum: No registered users and 1 guest