Writing a component for Luxtronik Heatpumps

I’ve updated to V3.85.5 and the problem is the same for the status: no cooling… just no request.

Hello everybody,

how can i change the value
for example hot water temperature.

ID_Soll_BWS_akt

How do I have to enter this in the configurations file?

- platform: luxtronik
  scan_interval: 30
  sensors:
    - group: calculations
      id: ID_WEB_Temperatur_TVL # Vorlauf
    - group: calculations
      id: ID_WEB_Temperatur_TRL # Rücklauf
    - group: calculations
      id: ID_WEB_Sollwert_TRL_HZ # Rücklauf Soll
    - group: calculations
      id: ID_WEB_Temperatur_TA # Aussentemperatur
    - group: calculations
      id: ID_WEB_Temperatur_TBW # Warmwasser Ist
    - group: calculations
      id: ID_WEB_Einst_BWS_akt # Warmwasser soll
    - group: calculations
      id: ID_WEB_Temperatur_TSK # Solarkollektor
    - group: calculations
      id: ID_WEB_Temperatur_TSS # Solarspreicher
    - group: calculations
      id: ID_WEB_WP_BZ_akt # Betriebszustand
    - group: calculations
      id: ID_WEB_AnalogOut2 # Spannung Pumpe
    - group: calculations
      id: ID_WEB_Mitteltemperatur # Durchschnittstemperatur Aussen über 24 h Heizgrenze
    - group: calculations
      id: ID_WEB_Time_VDStd_akt # Verdichter-Standzeit
    - group: calculations
      id: ID_WEB_Time_WPein_akt # Wärmepumpe läuft seit

can nobody help me?

Check out bouni’s post 152.

In my case I have created this script to modify the set point of the hot water.

Many of you seem to use the scan_interval attribute. For me, this doesn’t seem to work, as the entities only update every one to two minutes. Any ideas?
Thanks a lot for the great work, so far, by the way!

Hi folks, for all of you interested in how to (efficiently) automate a heat pump within homeassistant, please find below my latest project which relates back to my earlier thread.

The following guidelines brought me to this implementation:

  • produce warm water + heat (for underfloor heating) mainly during the day, so that I can make use of the warmer air + available energy coming from photovoltaics. Consequently, try to avoid that the heat pump has to start at night.
  • warm water production: trigger either the heat pump or the electric coil, depending on available PV energy (season, power produced, etc.)
  • only a clean hydraulic balancing allows me to use the concrete in the floor as humongous and built-in storage for energy (heat)
  • use excess power from PV in order to heat-up my house or to create warm(er) water

heating_system

The most relevant configuration files (including the diagram + code for picture element) can be found in my github repository.

Best regards,
Markus

Hi everyone,

I can't find the value (ID_WEB_SLPout) under parameters.
How can I switch the solar pump on and off?
I want to automate the whole thing myself.

Thank you

Hi everyone,
is there any update about luxtronik becomming an official HomeAssistant AddOn?
@Bouni I would love to use the luxtronik PlugIn for further optimization of my home but
unfortunately the Logs tell, that the component will not longer work with the newest version of HomeAssistant. I would highly appriciate if anybody could get this fixed.

Hi @MoaGandi,

is there any update about luxtronik becomming an official HomeAssistant AddOn?

No, so far I’ve not worked on getting this officially into HA as the requirements are quite strict and I’ve no spare time at the moment.

I would love to use the luxtronik PlugIn for further optimization of my home but
unfortunately the Logs tell, that the component will not longer work with the newest version of HomeAssistant. I would highly appriciate if anybody could get this fixed.

How did you install the integration?
I highly recommend installing it via HACS because then you get pretty close to an official integration and you can update via HACS as well!

What HA version do you run at the moment?
I’ve 2021.6.6 and don’t get any warnings with the latest release (0.1.20)

I would like to use the energy used by the heatpump in the HA energy display.

But it is not available in the energy page, pointing me to here:

Is there a solution?

Yes, install a kWh meter to measure the usage correctly and readout those values in HA. I use a SDM30-modbus and it’s working great.

Thanks, that is a solution.
I was more thinking in using of the value: ID_WEB_WMZ_Seit.
It must be possible to give it some attributes or template it. the data is there.

The data out the heatpump is an estimate of heat produced NOT consumed. Factor 3-5 difference.

Hello together, I am very sorry to bring up this topic again. However I have problems to integrate my Luxtronik Heatpump in Hass. I installed Luxtronik via HACS and added the lines as suggested into my configuration.yaml
2021-10-14_13-05-48
and even without the quotation marks it did not work.

However I do not have sensors or anything else. In my custom components folder there is a “Luxtronik” folder after installation.

I have both, supervisor and os on current level.

Maybe someone could please help?
Thanks

In my case. All is ok. This is my configuration / sensor yaml

2 Likes

ok, thanks! now i got this working. However, I really would love to convert seconds to days hours minutes for example:
ID_WEB_Time_VDStd_akt

shows only in seconds. This is not easy to deal with. Anyone could help?

sensor:
  - platform: template
    sensors:  
      verdichter_stand_zeit:
        friendly_name: Verdichter Standzeit
        value_template: >- 
          {% set time = (states.luxtronik.id_web_time_vdstd_akt.state | int) | int %}
          {% set minutes = ((time % 3600) / 60) | int %}
          {% set hours = ((time % 86400) / 3600) | int %}
          {% set days = (time / 86400) | int %}        
          {%- if time < 60 -%}
            0
            {%- else -%}
            {%- if days > 0 -%}
              {{ days }}d
            {%- endif -%}
            {%- if hours > 0 -%}
              {%- if days > 0 -%}
                {{ ' ' }}
              {%- endif -%}
              {{ hours }}h
            {%- endif -%}
            {%- if minutes > 0 -%}
              {%- if days > 0 or hours > 0 -%}
                {{ ' ' }}
              {%- endif -%}
              {{ minutes }}m
            {%- endif -%}
          {%- endif -%}

I read about installing this custom component via HACS but I am not able to find it at all. Is it not called luxtronik ?

I would like to read all the values of my heat pump.

I found this Bouni program but I can’t run it from home assistant. Dump all readings from a Luxtronik heatpump · GitHub

When I run it from the developer tools services menu I get error calling service python_script.dump-luxtronik. Service python_script.dump-luxtronik does not match format . for dictionary value @ data[‘sequence’][0][‘service’]. Got ‘python_script.dump-luxtronik’

Can you tell me how to launch this program? If possible step by step, I have no experience with .py files.

try it