[Opentherm Gateway] Failed to connect

Hi,

I’m trying to setup to Opentherm Gateway integration in Home Assistant (lastest version running on Odroid C2).

Mu connection parameter is socket://192.168.0.140:23. But it always says is fails to connect.

If I look at the logs, different error messages show up. For example:

Logger: pyotgw.pyotgw
Source: /usr/local/lib/python3.8/site-packages/pyotgw/pyotgw.py:880
First occurred: 2 December 2020, 20:57:03 (49 occurrences)
Last logged: 16:34:32

* Timed out waiting for command: PR, value: L.
* Timed out waiting for command: PR, value: M.
* Timed out waiting for command: PR, value: A.
* Timed out waiting for command: PR, value: B.
* Timed out waiting for command: PR, value: C.

Or

Logger: pyotgw.protocol
Source: /usr/local/lib/python3.8/site-packages/pyotgw/protocol.py:206
First occurred: 2 December 2020, 21:04:09 (1051 occurrences)
Last logged: 16:38:31

* Received erroneous message, ignoring: b'\xf0p\x00\x00'
* Received erroneous message, ignoring: b'\x80!~\x00'
* Received erroneous message, ignoring: b'\x80!p\x00'
* Received erroneous message, ignoring: b'\x80s\x01\xff'
* Received erroneous message, ignoring: b'\x80\x13\x01\xff'

So the integration is able to connect, but apparently is not receiving the response it expects.

I am able to connect using Node-Red, and decode some data.

I am also able to connect using otmonitor, and see more than enough data.

Now, I have a Atag heather, of wich I know it hasn’t got the best OpenThem implementation. But I would think the Openthem integration within HA would be able to extract the same data as otmonitor can.

Am I doing something wrong? Or am I missing something?