Writing a component for Luxtronik Heatpumps

Thanks,
are there 2 integrations? I thought this is about the one from Bouni, but I haven’t m,ade it through the thread yet.
I’ll try yours benpr

A few weeks ago I added the luxtronik integration from Bouni (GitHub - Bouni/luxtronik: Luxtronik integration for Home Assistant) and it worked as it should. Today I saw your integration (GitHub - BenPru/luxtronik: Luxtronik integration for Home Assistant) and tried it.
Right now I didn´t get it working. I installed with HACS but there is no autodisover finding anything and I can´t add the integration manually (Settings → Devices & Services → Integration → Add Integration).
I restarted the server and cleared browser cache several times but I can´t find my heatpump.

I uninstalled the original luxtronic integration from Bouni with HACS. Is this correct?
Any tips?

Yes. Bounis has the key luxtronik and you have to configure it all via yaml. It provides the HA Domains sensor and binary_sensor. You can only change values with the service luxtronik.write.
My implementation is based on Bounis with key luxtronik2 but discovers your heatpump and creates many sensors automaticly with HA Domains sensor, binary_sensor, climate, number and switch. You can change values direct in the gui with climate, number and switch. Additional sensors and binary_sensors can configured via yaml with the same syntax as Bounis.

Do you have a current home assistant version? About 2022.09.* or newer?
Do you have any luxtronik messages in your logs? (Settings => System => Logs => filter=luxtronik)
You have to enter an existing temperature sensor in the setup assistant with format sensor.%my_temperature_sensor% for the indoor temperature in ha. This dialog has currently no validation checl. Perhaps the syntax of the sensor id is wrong.

Got the integration running, I will try some sensors tomorrow.
My heatpump wasn’t discoverd automatically. Is there an adress for feddback?

Here is okay. :wink:

  • The first six chars of your luxtronik heatpump mac address
  • the original hostname
  • the manufacturer
  • the model

I’m not sure where to fin the hostname :man_facepalming:

Mac adress: 04:D1:6E
Manufacturer: Novelan
Model: LADV9 (LDV9 in the menu itself)

Thanks. This MAC-Range is already known. Strange… :man_shrugging:

I don’t know how the discovery protocol works, but depending on the network it may not work (I have my IoT devices on a separate VLAN for instance, so broadcast discovery doesn’t work).

Yes, broadcasts can always only discover devices in the same network. VLAN and other sub-networks are problematic.

Hi benpr,
Thanks for your reply. Version was the problem. I had been on 2022.08. After updating, the integration works perfectly. Tipp: Add the minimum version in the description for future users.

BUT I have the same problem like tebald1, my heatpump is not found in autodiscovery also. Maybe problem with the model, cause I have the exact same.

In my case, Home Asssistant and heatpump are in the same network (no VLAN or firewall configuration).

After a restart, HA my heatpump was discovered automatically. Had to reconfigure, otherwise it kept reapearing as a new device. Now it’s working fine.

1 Like

Thanks for the hint. I set now 2022.9.0 as min version.
I plan to change the internal unique id of the integration instance. Currently it is the ip or hostname. But they can change and you can create the same heatpump more than one time e.g. with ip and hostname.
In the future I will use %manufacturer%_%model%_%serial_number%.

Is there any way to get the power consumption from one of the sensors? I know that there ist one for the generated heat, but it would be really nice to know the comsumption.

This wont work. For an accurate reading you need a kWh meter installed. And for the heat you should install a flow/heat meter as well.

Why wouldn’t you use the sensors for genrated heat? Whts more accurate than the counter within the pump itself?

The sensors of the heat pump are a software implementation of the estimate heat production. This is only an indication. If you would to calculate the costs of heat production for a number of houses or shared usage in a commercial setting you need an accurate measurement.

For private use the heat pump implementation can be used.

I’m just using it to calculate how much heat I get out of 1 kWh power consumption.

Some models provides the input consumption in a calculation somewhere 250-259.

@benpr Thanks for the great integration, works fine here!

I sometimes use the boost option to manually start the water heating when there’s enough power coming from the solar roof.
Does anyone know how to create something like a timer to automatically set the preset of climate.luxtronik2_domestic_water back from “Boost” to “none” after an hour?
Thank you!

2 Likes