problem to establish connection to LWZ 303i

Asked by kreutpet

Hi,

i am trying to connect to my LWZ303i with the heatpump project.
Unfortunately i am not very successful.

This is my current configuration.
1. I installed everything according INSTALL instruction.
2. i verified the serial cable by using the original software from Stiebel, the one that is also used by the service engineers
    I can establish the communication and the firmware version of my LWZ303i is 2.06
    If somebody wants to have that software . let me know
3. checked serial interfaces in linux
---
[ 0.412422] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.304803] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.340661] 0000:01:09.0: ttyS4 at I/O 0xe800 (irq = 17) is a 16550A
[ 1.376449] 0000:01:09.0: ttyS5 at I/O 0xe400 (irq = 17) is a 16550A
---
01:09.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
---
I am using the /dev/ttyS4

4. i edited the protocol.py
    i enabled the debug to see a bit more.

this is how i set the parameters
    def __init__(self, serialDevice="/dev/ttyS4", versionsConfigDirectory = "/usr/local/share/heatpumpMonitor/protocolVersions", newStyleSerialCommunication = False, debug=True):

and here the output
/usr/local/sbin$ sudo python protocol.py
debug: | 0: 00 ce |
Heatpump reports Version 2.06
Using protocol definition from Beier Andreas <email address hidden> (Tested currently only on a LWZ 303i, send me a line if it works on others too.)
Traceback (most recent call last):
  File "protocol.py", line 274, in <module>
    main()
  File "protocol.py", line 270, in main
    print aP.query()
  File "protocol.py", line 258, in query
    self._establishConnection()
  File "protocol.py", line 139, in _establishConnection
    raise IOError, "Error: heat pump does not respond - is it connected?"
IOError: Error: heat pump does not respond - is it connected?

Well is guess that somehow the connection is working i am getting the version back from the heatpump.
But then the heatpump does not send any data.

Any idea what i can further check

/Peter

Question information

Language:
English Edit question
Status:
Solved
For:
heatpumpMonitor Edit question
Assignee:
No assignee Edit question
Solved by:
kreutpet
Solved:
Last query:
Last reply:
Revision history for this message
kreutpet (kreutzer-peter) said :
#1

hi,

just to add some new findings.

i edited the protocol.py and changed it in such a way that i do not check the version from the heatpump.
        #self._version = self.versionQuery()
        self._version ="2.06"

after that i got this output
Establish connection to heatpump
debug: | 0: 00 00 00 8c | 4: 00 d4 00 d2 | 8: 00 f8 01 cb | 12: 00 00 00 00 | 16: 00 cf 00 dc | 20: 01 1c 00 00 | 24: 00 ce 00 00 | 28: 00 00 00 8b | 32: 00 00 00 00 | 36: 00 00 00 00 | 40: 00 |
debug: | 0: 00 8c 01 42 | 4: 00 d2 00 2b | 8: 00 d4 00 c0 | 12: 00 d2 00 01 | 16: 00 01 01 1c | 20: 00 64 01 00 | 24: 00 00 00 af | 28: 00 00 00 00 | 32: 00 00 02 00 | 36: 00 00 af |
{'expel_speed_actual': 0, 'inside_temp': 0.0, 'flow_temp': 21.2, 'dhw_temp': 45.9, 'evaporator_temp': 20.7, 'outside_temp': 14.0, 'compressor_temp': 0.0, 'outside_temp_filtered': 13.9, 'extr_speed_actual': 0, 'return_temp': 21.0, 'flow_temp_hc2': 0.0, 'condenser_temp': 22.0, 'hot_gas_temp': 24.8, 'vent_speed_actual': 0}

seems that connection it twice cause a problem.

Revision history for this message
kreutpet (kreutzer-peter) said :
#2

well basically the monitor is now up and running.
Seems just the protocol.py for initial test that does not work with connection after version check