Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
38 stars 20 forks source link

Support SmartHomeInterface? #190

Open gerw opened 5 days ago

gerw commented 5 days ago

Since Version V3.90.1 of the luxtronik controller, there exists a so-called SmartHomeInterface. It can be enabled in the settings of the controller (or via parameter 1161, I think). It listens via Modbus-TCP on Port 502 and 'controls' the registers 10.000-19.999 (only a few of them are in use currently). There are some registers for reading (input registers) and others for reading/writing (holding registers). Via the holding registers, it is, e.g., possible to control the "desired return flow temperature". The advantage is that the written values are not saved in the persistent memory of the controller, i.e., these writing operations should not add wear to the NAND memory, see #158.

Should we add access to this interface to this library?

kbabioch commented 5 days ago

Is there any kind of official documentation about this interface? Is it built for integrating with other / third party solutions and/or is it some internal development for AIT itself?

Technically there is a ModBus TCP interface for a long time already. Officially it needs to be activated via a license (expensive) or "hacked" by other means. I'm using it for quite some time. However it is lacking some of the more advanced "features" that this library provides.

The documentation can be found here.

gerw commented 5 days ago

No, of course there is no documentation. I also asked the support of alpha innotec, but they refused to provide some documentation.

The interface is used by the SolarManager.

The new interface uses the same port as the "old" ModBus interface, but it uses other registers.

Edit: Can you do something via the ModBus interface which is not possible via port 8889 (this library)? Do the parameter writes via the old ModBus interface (GLT) go into the permanent memory?