BenPru / luxtronik

Luxtronik integration for Home Assistant
MIT License
80 stars 29 forks source link
home-assistant home-assistant-component home-assistant-custom home-assistant-sensor homeassistant

Luxtronik

If you like 🩷 this project, sponsor it (click).

Warning

:warning: New Code-Base - PLEASE READ! :warning:

  • Backup your data before update (different config structure!). If you make a downgrade of this integration (<2023.9) restore your data backup (The entries for Luxtronik in ./storage/core.config_entries + core.device_registry + core.entity_registry should be enough.)! If not you get double entities!
  • This release has no more language selection. The HA backend language is used.
  • Some entities which can not detected automaticly are hidden or disabled by default. In the devices you can find them and activate it. Please check this list before creating issues with entity whiches.
  • The RBE Room Temperature Sensor is currently not implemented.
  • The update sensor "rings" for new firmware versions, but the "Install"-Button has no function. The Firmware has to be installed manually. An the Install-Button is necessary to get notified.
  • In the integration configuration you can set a ha sensor id for the indoor temperature value.

:warning: Known Issues :warning:

  • Runtime warning "untimeWarning: coroutine ... was never awaited ...". #116 #138 #108 Please don't create tickets for this!
  • Cooling is not full implemented! #128

This component has been created to be used with Home Assistant.

:warning: Use at your own risk! :warning:
You can write config parameters to your heatpump, altering it's efficiency and functionality.
Please be careful.

Based on Bouni/luxtronik / Bouni/python-luxtronik. ❤️

This component extends the original luxtronik component with automatic discovery of the heatpump und home assistant climate thermostat. The Luxtronik integration lets you monitor and control heat pump units containing a Luxtronik controller. It is used by various manufacturers such as:

This integration works locally. It's only necessary to connect the Luxtronik controller to your network using an ethernet cable. No additional hard- or software is needed.

  1. Installation
    1.1 HACS (Recommended)
    1.2 Manual installation
  2. Adding Luxtronik
  3. Tips for using Luxtronik
    3.1 Energy use
    3.2 Additional sensors (advanced)
  4. Support / Creating tickets

1. Installation

1.1 HACS (recommended)

Add the custom repo to HACS

  1. Go to 'HACS > Integration'
  2. Select 'Custom repositories' from the top right menu
  3. Under Repository, enter 'https://github.com/BenPru/luxtronik'
  4. Under Category, select 'Integration'
  5. Click 'Add' The new integration will appear as a new integration and under 'Explore & Download Repositories' in the bottom right

Install the integration

  1. Click on the new integration or find it under 'Explore & Download Repositories' in the bottom right with the search word 'luxtronik'.
    • Choose the one with the blue download button: image
  2. Select 'download' at the bottom right.
  3. Restart Home Assistant

1.2 Manual installation

Add the integration to Home Assistant

  1. Download the latest release of the Luxtronik integration from this repository
  2. In Home Assistant, create a folder 'config/custom_components'
  3. Add the Luxtronik integration to the 'custom_components' folder;
  4. Restart Home Assistant;

Install the integration

  1. Add the Luxtronik integration to Home Assistant (Settings -> Devices & services -> Add integration);
  2. Restart Home Assistant;

2. Adding Luxtronik

Autodiscovery

Your heatpump should be autodiscovered by home assistant.

Press Configure and follow the steps to the end.

Manual

'If auto discovery does not work, please give feedback with the first six chars of your luxtronik heatpump mac address, the original hostname, the manufacturer and model.

To add the heatpump manually go to Settings -> Devices & services -> Add integration and add a new Luxtronik device.'

Select Configure and review the settings.

ℹ️ Ensure the IP address is static. This can be configured in your router.'

3. Tips for using Luxtronik

It's not always clear from the name alone what an entity exactly means and how it effects your heatpump. The main source of information is ofcourse the Luxtronik Operating Manual.

Another great source is FHEM - Luxtronik 2.0. It's in German so use Google Translate.
It contains details about the various parameters and how to use them to optimize your heatpump efficiency. Read carfully though. Make small incremental changes and monitor your progress in Home Assistant. You don't want to miss out on this information.

3.1 Energy use

Not all heatpumps have build in electrical energy metering and instead only show the energy produced in heat, not the energy consumed in electricity. Adding a (strong) energy meter is a nice addition to measure the SCOP of your device. Shelly energy meters are recommended since they offer offer a 16A power plug and a variety of in-line or clamp energy meters with various protection mechanisms.

3.2 Additional sensors (advanced)

If you miss a sensor please have a look in the devices under "+n entities not shown". Not all entities can autodetect by the integration. You can enable the entities by your self.

The most usefull sensors and parameters are created automaticly. But if you miss a sensor you can add it manually via yaml configuration like the original module from Bouni/luxtronik.

A short description of many of the available sensors can be found here Loxwiki - Luxtronik Java Web Interface

Parameter IDs

Take these files as a reference to figure ot which IDs to use:

Service

In order to change parameters on the Luxtronik conroller, you can use the following service:

Domain: luxtronik2
Service: write
Service Data: {"parameter": "ID_Ba_Hz_akt", "value": "Automatic"}

Only a small number of the over 1100 parameters have a known funtion and only these can be written, these are:

ℹ️ Before changing a parameter it smart to first read the current value and note it somewhere in case you want to set it back to its original value. All parameters can be configured as sensors and read that way.

4 Support Tickets

If you create a ticket please provide always a diagnostic file as issue attachment: image

Some Screenshots

image image image image image image