Git Product home page Git Product logo

luxtronik's People

Contributors

ajediiam avatar augi avatar benpru avatar crashman1983 avatar dinkelnaar avatar edwinengelen avatar ggajoch avatar kars-de-jong avatar macrojames avatar qubabos avatar rhammen avatar steffenweber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luxtronik's Issues

Sensor: Current Power needed

Hi!

Can we have the sensor that displays "current power" usage of heat pump? It is found under:

Einstellungen --> Informationen --> Anlagenstatus --> "Leistung Ist"

Cannot not see this yet, but need it, to calculate current COP.

Support for multiple Heatpumps

As i try to open a second and/or third heatpump the existing sensor values are overwritten by the new one's.

It would be great if multiple Heatpumps could get added - as this would allow to montor & track the performance and efficiency of them in parallel

Target temperature does not always update

I have an automation which updates "domestic water" and "heating". The automation seems to run, but the values do not get updates 2 out of 3 times.

When the domestic target temperature is set to 45, the following automation does not always update the value to 50
device_id: 8c635edbff41e8559ceca2a0000a5bc4 domain: number entity_id: number.luxtronik2_domestic_water_target_temperature type: set_value value: 50 alias: Set domestic water to 50

and similar for the heating target which I want to change from 0 to 1.

device_id: 92612039a820eb13ef106a1c263a19c3 domain: number entity_id: number.luxtronik2_heating_target_correction type: set_value value: 1 alias: Set Heating to 1

Can someone confirm this issue or is it something local?

2022.12.15 Pre-release - cannot import name 'LUX_BINARY_SENSOR_CIRCULATION_PUMP'

2022.12.15 release

The following integrations and platforms could not be set up:
luxtronik2.binary_sensor ([Show logs]

`Logger: homeassistant.setup
Source: setup.py:338
First occurred: 07:07:53 (4 occurrences)
Last logged: 07:09:04

Unable to prepare setup for platform luxtronik2.binary_sensor: Platform not found (cannot import name 'LUX_BINARY_SENSOR_CIRCULATION_PUMP' from 'custom_components.luxtronik2.const' (/config/custom_components/luxtronik2/const.py)).
Unable to prepare setup for platform luxtronik2.switch: Platform not found (cannot import name 'LUX_BINARY_SENSOR_CIRCULATION_PUMP' from 'custom_components.luxtronik2.const' (/config/custom_components/luxtronik2/const.py)).`

luxtronik2.switch ([Show logs]

`Logger: homeassistant.setup
Source: setup.py:338
First occurred: 07:07:53 (4 occurrences)
Last logged: 07:09:04

Unable to prepare setup for platform luxtronik2.binary_sensor: Platform not found (cannot import name 'LUX_BINARY_SENSOR_CIRCULATION_PUMP' from 'custom_components.luxtronik2.const' (/config/custom_components/luxtronik2/const.py)).
Unable to prepare setup for platform luxtronik2.switch: Platform not found (cannot import name 'LUX_BINARY_SENSOR_CIRCULATION_PUMP' from 'custom_components.luxtronik2.const' (/config/custom_components/luxtronik2/const.py)).`

Please check your config and [logs].

TypeError: LuxtronikBinarySensor.__init__() missing 1 required positional argument: 'icon'

Version: 2022.12.01

At startup the following error is logged:

2022-12-03 14:58:51.819 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up luxtronik2 platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/luxtronik2/binary_sensor.py", line 277, in async_setup_entry
    LuxtronikBinarySensor(
TypeError: LuxtronikBinarySensor.__init__() missing 1 required positional argument: 'icon'

issue detecting all sensors (after update / installation)

2022-11-19 13:13:26.066 WARNING (MainThread) [custom_components.luxtronik2] _load_lang_from_file - file not found /config/custom_components/luxtronik2/helpers/../translations/texts.None.json
2022-11-19 13:13:26.268 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform luxtronik2.binary_sensor: Platform not found (No module named 'custom_components.luxtronik').
2022-11-19 13:13:26.383 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform luxtronik2.sensor: Platform not found (No module named 'custom_components.luxtronik').
2022-11-19 13:13:26.386 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform luxtronik2.switch: Platform not found (No module named 'custom_components.luxtronik').

Room temperature sensor not available

My luxtronik/alpha innotec installation includes a room temperature sensor.
However, it doesn't show up in the integration. Can this be added?
It does show up in de webserver heatpump controller though.
Thanks!

Note: Auto discovery didn't work in my case.

en-GB file not found in latest version

dear ben, merry christmas,

the latest version of your integration does not load all values from the heat pump but shows this error:

2022-12-23 21:57:28.975 WARNING (MainThread) [custom_components.luxtronik2] _load_lang_from_file - file not found /config/custom_components/luxtronik2/helpers/../translations/texts.en-GB.json

Would be great for a fix.

Thanks!

HA 2022.11.3 and latest version of this plugin panics

hey, I just pulled in via git pull --rebase -p your latest version 9afb327 and pulled the latest HA version with docker image ID 0b0db9f8d3bc Home Assistant 2022.11.3 Frontend 20221108.0 - latest

This error shows up und disables the Luxtronik plugin in HA. Unfortunately I don't speak python:

2022-11-20 16:54:38.427 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up luxtronik2 platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/luxtronik2/sensor.py", line 139, in async_setup_entry
    text_time = get_sensor_text(lang, "time")
  File "/config/custom_components/luxtronik2/helpers/helper.py", line 37, in get_sensor_text
    if lang != LANG_DEFAULT and key in __content_locale__:
TypeError: argument of type 'NoneType' is not iterable
2022-11-20 16:54:38.573 ERROR (MainThread) [homeassistant.components.climate] Error while setting up luxtronik2 platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/luxtronik2/climate.py", line 95, in async_setup_entry
    text_heating = get_sensor_text(lang, 'heating')
  File "/config/custom_components/luxtronik2/helpers/helper.py", line 37, in get_sensor_text
    if lang != LANG_DEFAULT and key in __content_locale__:
TypeError: argument of type 'NoneType' is not iterable
2022-11-20 16:54:38.580 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up luxtronik2 platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/luxtronik2/binary_sensor.py", line 150, in async_setup_entry
    text_evu_unlocked = get_sensor_text(lang, "evu_unlocked")
  File "/config/custom_components/luxtronik2/helpers/helper.py", line 37, in get_sensor_text
    if lang != LANG_DEFAULT and key in __content_locale__:
TypeError: argument of type 'NoneType' is not iterable
2022-11-20 16:54:38.586 ERROR (MainThread) [homeassistant.components.number] Error while setting up luxtronik2 platform for number
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/luxtronik2/number.py", line 65, in async_setup_entry
    text_temp = get_sensor_text(lang, 'temperature')
  File "/config/custom_components/luxtronik2/helpers/helper.py", line 37, in get_sensor_text
    if lang != LANG_DEFAULT and key in __content_locale__:
TypeError: argument of type 'NoneType' is not iterable
2022-11-20 16:54:38.971 ERROR (MainThread) [homeassistant.components.switch] Error while setting up luxtronik2 platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/luxtronik2/switch.py", line 50, in async_setup_entry
    text_remote_maintenance = get_sensor_text(lang, 'remote_maintenance')
  File "/config/custom_components/luxtronik2/helpers/helper.py", line 37, in get_sensor_text
    if lang != LANG_DEFAULT and key in __content_locale__:
TypeError: argument of type 'NoneType' is not iterable

Thanks for having a look.

elif evu_event_minutes <= 30: TypeError: '<=' not supported between instances of 'NoneType' and 'int'

2022-12-01 00:15:37.157 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 813, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 586, in _async_write_ha_state
attr.update(self.extra_state_attributes or {})
File "/config/custom_components/luxtronik2/sensor.py", line 926, in extra_state_attributes
ATTR_STATUS_TEXT: self._build_status_text(),
File "/config/custom_components/luxtronik2/sensor.py", line 888, in _build_status_text
elif evu_event_minutes <= 30:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'

Optimize power usage

Yesterday I activated my heatpump for the heating season. And now I read out the power usage of my heatpump with ha glow.
I found out today that it has a big impact between heating "off" and "automatic" without running.
The standby power usage in heating mode "off" is about ~13 Watt.
In automatic mode the standby power usage is about 83 Watt and every 20 minutes it is ~150 Watt!
Every 20 minutes the heatpump runs in mode "pump forerun" without doing something productive!
In the past I thought this is a display bug in luxtronik but the usage show a real impact.
My luxtronik version is V2.86.0 (Novelan LD7).

Has anyone something like this?

Discover heatpump

Current state: working
Currently using the (or)

  • Siemens mac address range: 000E8C*
  • Fujitsu mac address range: 001999*
  • Loewe Opta GmbH mac address range: 000982*
  • hostname: wp-novelan
    After the dhcp lookup the broadcast discovery (AIT magic brodcast packet) is executed. If the ip address matches both discoveries the heatpump can be configured.

TODO:

  • Check the mac address range with other heatpumps in real live.
  • Check or detect other heatpump hostnames.

sensor.luxtronik2_status broke

You broke sensor.luxtronik2_status with latest update 2022.11.28. My heat pump works from latest 9h but sensor shows no request. Using it with alpha Innotec. Could you be more carefull in future updates and do not brake something that already works just fine?

Provide a sensor for "next evu event"

A minutes timer number or timestamp with the next evu event.
If the evu is active its the time when the evu ends.
If the evu is not active its the time when the next evu starts.
For example my evu time slots are:

  • 10:43-12:46
  • 16:42-18:44

Example values:

  • At 10:00 the value is 43 minutes.
  • At 11:00 the value is 106 minutes.
  • At 13:00 the value is 222 minutes.

kW/h counters always at 0

Hello,

I have a Luxtronik 2.0 controller on firmware 1.86.2 attached to an LW-100 H-A heat pump, all the kW/h counters are always at 0.

  • Heatpump: sensor.luxtronik2_heat_amount_counter
  • Domestic water: sensor.luxtronik2_heat_amount_domestic_water
  • Heating: sensor.luxtronik2_heat_amount_heating

The download section of Alpha Innotec only gives me 1.86.2 as the last version available, so not sure if it's a firmware limitation.

Thanks.

Question: Where to find the configuration UI

Hello, thank you for you effort with this integration!

I've just downloaded it via HACS but I don't know where to find the UI for configuration (as shown in the README). So I'm not able to configure IP address and port of my heatpump šŸ˜¢

Double code in const.py and xxx.py

Sensors for example are partly doubled within const.py and sensors.py This is error-prone and maintenance-intensive. What's the reason for it?

value heatpump idle not found

This error originated from a custom integration.

Logger: custom_components.luxtronik2
Source: custom_components/luxtronik2/helpers/helper.py:70
Integration: Luxtronik
First occurred: 8:10:59 PM (248 occurrences)
Last logged: 9:12:29 PM

get_sensor_value_text key luxtronik2__status_line_1 / value heatpump idle not found in {'state': {'luxtronik2__status': {'heating': 'Heating', 'hot water': 'Domestic water', 'swimming pool/solar': 'Pool / Solar', 'evu': 'Grid lock - no power', 'defrost': 'Defrost', 'heating external source': 'Heating external source', 'cooling': 'Cooling', 'no request': 'Idle (no request)'}, 'luxtronik2__status_line_1': {'heatpump running': 'The heatpump runs', 'heatpump idle': 'The heatpump is idle', 'heatpump coming': 'The heatpump is coming', 'errorcode slot': 'Heatpump error code in slot 0', 'pump forerun': 'Pump forerun', 'defrost': 'Defrost', 'writing on LIN connection': 'Writing on LIN connection', 'compressor heating up': 'Der Kompressor heizt auf'}, 'luxtronik2__status_line_2': {'since': 'since', 'in': 'in'}, 'luxtronik2__status_line_3': {'heating': 'heating', 'defrost': 'defrost', 'cooling': 'cooling', 'pump forerun': 'pump forerun', 'thermal desinfection': 'thermal desinfection', 'swimming pool/solar': 'swimming pool/solar', 'no request': 'no request', 'cycle lock': 'cycle lock', 'lock time': 'lock time', 'domestic water': 'domestic water', 'flow monitoring': 'flow monitoring', 'grid switch on delay': 'grid switch on delay', 'info bake out program': 'info bake out program', 'heating external engery source': 'heating external engery source', 'domestic water external energy source': 'Domestic water external energy source', 'second heat generator 1 active': 'second heat generator 1 active'}}}
get_sensor_value_text key luxtronik2__status_line_2 / value since not found in {'state': {'luxtronik2__status': {'heating': 'Heating', 'hot water': 'Domestic water', 'swimming pool/solar': 'Pool / Solar', 'evu': 'Grid lock - no power', 'defrost': 'Defrost', 'heating external source': 'Heating external source', 'cooling': 'Cooling', 'no request': 'Idle (no request)'}, 'luxtronik2__status_line_1': {'heatpump running': 'The heatpump runs', 'heatpump idle': 'The heatpump is idle', 'heatpump coming': 'The heatpump is coming', 'errorcode slot': 'Heatpump error code in slot 0', 'pump forerun': 'Pump forerun', 'defrost': 'Defrost', 'writing on LIN connection': 'Writing on LIN connection', 'compressor heating up': 'Der Kompressor heizt auf'}, 'luxtronik2__status_line_2': {'since': 'since', 'in': 'in'}, 'luxtronik2__status_line_3': {'heating': 'heating', 'defrost': 'defrost', 'cooling': 'cooling', 'pump forerun': 'pump forerun', 'thermal desinfection': 'thermal desinfection', 'swimming pool/solar': 'swimming pool/solar', 'no request': 'no request', 'cycle lock': 'cycle lock', 'lock time': 'lock time', 'domestic water': 'domestic water', 'flow monitoring': 'flow monitoring', 'grid switch on delay': 'grid switch on delay', 'info bake out program': 'info bake out program', 'heating external engery source': 'heating external engery source', 'domestic water external energy source': 'Domestic water external energy source', 'second heat generator 1 active': 'second heat generator 1 active'}}}
get_sensor_value_text key luxtronik2__status_line_1 / value pump forerun not found in {'state': {'luxtronik2__status': {'heating': 'Heating', 'hot water': 'Domestic water', 'swimming pool/solar': 'Pool / Solar', 'evu': 'Grid lock - no power', 'defrost': 'Defrost', 'heating external source': 'Heating external source', 'cooling': 'Cooling', 'no request': 'Idle (no request)'}, 'luxtronik2__status_line_1': {'heatpump running': 'The heatpump runs', 'heatpump idle': 'The heatpump is idle', 'heatpump coming': 'The heatpump is coming', 'errorcode slot': 'Heatpump error code in slot 0', 'pump forerun': 'Pump forerun', 'defrost': 'Defrost', 'writing on LIN connection': 'Writing on LIN connection', 'compressor heating up': 'Der Kompressor heizt auf'}, 'luxtronik2__status_line_2': {'since': 'since', 'in': 'in'}, 'luxtronik2__status_line_3': {'heating': 'heating', 'defrost': 'defrost', 'cooling': 'cooling', 'pump forerun': 'pump forerun', 'thermal desinfection': 'thermal desinfection', 'swimming pool/solar': 'swimming pool/solar', 'no request': 'no request', 'cycle lock': 'cycle lock', 'lock time': 'lock time', 'domestic water': 'domestic water', 'flow monitoring': 'flow monitoring', 'grid switch on delay': 'grid switch on delay', 'info bake out program': 'info bake out program', 'heating external engery source': 'heating external engery source', 'domestic water external energy source': 'Domestic water external energy source', 'second heat generator 1 active': 'second heat generator 1 active'}}}

Warning: Detected blocking call to sleep inside the event loop

2022-11-23 21:50:51.926 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for luxtronik2 doing blocking calls at custom_components/luxtronik2/luxtronik_device.py, line 151: time.sleep(3)

Useful sensors to generate automatically

Current- and target-temperatures and modes are used in the climate thermostates.
Sensors:

  • Status: calculations.ID_WEB_WP_BZ_akt
  • Status time: calculations.ID_WEB_HauptMenuStatus_Zeit
  • Status Line 1: calculations.ID_WEB_HauptMenuStatus_Zeile1
  • Status Line 2: calculations.ID_WEB_HauptMenuStatus_Zeile2
  • Status Line 3: calculations.ID_WEB_HauptMenuStatus_Zeile3
  • Flow In temperature: calculations.ID_WEB_Temperatur_TVL
  • Flow out temperature: calculations.ID_WEB_Temperatur_TRL
  • Flow out target temperature: calculations.ID_WEB_Sollwert_TRL_HZ
  • Output temperature: calculations.ID_WEB_Temperatur_TWA

Outdoor:

  • Outdoor temperature: calculations.ID_WEB_Temperatur_TA
  • Average outdoor temperature: calculations.ID_WEB_Mitteltemperatur

Solar:

  • Solar collector: calculations.ID_WEB_Temperatur_TSK
  • Solar buffer: calculations.ID_WEB_Temperatur_TSS

Statistics:

  • Impulses compressor: calculations.ID_WEB_Zaehler_BetrZeitImpVD1
  • Working hours total: calculations.ID_WEB_Zaehler_BetrZeitWP
  • Working hours heating: calculations.ID_WEB_Zaehler_BetrZeitHz
  • Working hours domestic water: calculations.ID_WEB_Zaehler_BetrZeitBW
  • Working hours cooling: calculations.ID_WEB_Zaehler_BetrZeitKue
  • Working hours solar: calculations.ID_WEB_Zaehler_BetrZeitSolar
  • Heat quantity heating: calculations.ID_WEB_WMZ_Heizung
  • Heat quantity domestic water: calculations.ID_WEB_WMZ_Brauchwasser
  • Heat quantity counter: calculations.ID_WEB_WMZ_Seit

Detect heatpump options/modules (Cooling, Solar...)

Option Flag Example Description / File
Active Cooling ??? = 1 -
Passive Cooling ? -
Extra circulation pumps ? -
solar collector ? -
solar buffer ? -

To help in this ticket, add a comment to describe your heatpump manufacturer, model and options (solar, cooling, ...).
Run the bouni dump script and add the output as attached file in the comment.

Climate thermostat heating

Creating a home assistant climate thermostat for the heating

Current state: existing but not finally bug free...

Todos:

  • Sensors:
    • status_sensor='calculations.ID_WEB_WP_BZ_akt',
    • current_temperature_sensor=Select a sensor from ha!,
    • target_temperature_sensor=Only internal in this thermostat,
    • target_temperature_sensor_write=not existing in luxtronik - only internal in this thermostat,
    • heater_sensor='parameters.ID_Ba_Hz_akt'
  • Translation
  • ClimateExtraAttributes
    • parameters.ID_Einst_WK_akt?

Luxtronik1 support

Hello @BenPru , I am quite new to HA. I own a Alpha Innoctec heatpump (about 14 years old), which has an Luxtronik 1 controller. You can find a module for iobroker https://github.com/iobroker-community-adapters/ioBroker.luxtronik1 which does the job.
As far as I can see, this module only supports luxtronik 2 - which has an LAN-Interface and not only an serial - right?
It would be a pleasure to provide all information you need to support Luxtronik 1 with your module in HA.

kind regards
axel

p.s. located in Kempen, just around the corner :-)

Error while reading datetime value

Logger: homeassistant.components.sensor
Source: components/sensor/init.py:690
Integration: Sensor (documentation, issues)
First occurred: 06:38:25 (2 occurrences)
Last logged: 06:38:25

Error adding entities for domain sensor with platform luxtronik2
Error while setting up luxtronik2 platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 692, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 789, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 545, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 583, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 551, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 690, in state
raise ValueError(
ValueError: Invalid datetime: sensor.luxtronik2_id_web_error_time0 provides state '2022-12-13 23:24:04', which is missing timezone information

License and naming

@Bouni
I'm trying to push my new integration "luxtronik2" based on your luxtronik hacs integration.
I'm using parts of your code. Is this okay for you?
Would you like to named as author/codeowners in the manifest.json?

Frenk would like to use "luxtronik" as domain name. This means your hacs integration has to renamed. Is this okay for you?

Not compatible with Home Assistant 2022.5.x

Integration does not start anymore after the update:

Unable to prepare setup for platform luxtronik2.sensor: Platform not found (cannot import name 'ENTITY_CATEGORIES' from 'homeassistant.helpers.entity' (/usr/src/homeassistant/homeassistant/helpers/entity.py)).
Unable to prepare setup for platform luxtronik2.binary_sensor: Platform not found (cannot import name 'ENTITY_CATEGORIES' from 'homeassistant.helpers.entity' (/usr/src/homeassistant/homeassistant/helpers/entity.py)).
Unable to prepare setup for platform luxtronik2.climate: Platform not found (cannot import name 'ENTITY_CATEGORIES' from 'homeassistant.helpers.entity' (/usr/src/homeassistant/homeassistant/helpers/entity.py)).
Unable to prepare setup for platform luxtronik2.number: Platform not found (cannot import name 'ENTITY_CATEGORIES' from 'homeassistant.helpers.entity' (/usr/src/homeassistant/homeassistant/helpers/entity.py)).
Unable to prepare setup for platform luxtronik2.switch: Platform not found (cannot import name 'ENTITY_CATEGORIES' from 'homeassistant.helpers.entity' (/usr/src/homeassistant/homeassistant/helpers/entity.py)).

And:

Unexpected error importing luxtronik2/logbook.py
Unexpected error importing luxtronik2/system_health.py
Unexpected error importing luxtronik2/group.py
Unexpected error importing luxtronik2/media_source.py
Unexpected error importing luxtronik2/cast.py
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 40, in _async_process_single_integration_platform_component
    platform = integration.get_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 603, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 620, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.luxtronik.recorder'

Climate thermostat domestic water

Creating a home assistant climate thermostat for the domestic water.

Current state: partial working
Adds hardcoded climate entity

TODO:

  • Fix gui delay after writing new values.
  • Create unique id
  • Check the underlying luxtronik sensor names.
  • Allow control mode luxtronik and home assistant. Mode Home assistant=Thermostat idle means state off in luxtronik. Home assistant is the primary controller! Mode luxtronik means the thermostat writes only the target temperature to luxtronik, preset and hvac modes. The On/Off state is handled by luxtronik and the thermostat shows only the current state.
  • Translation
  • Allow to overwrite the underlying luxtronik sensor names.?

Heating climate without data

The climate.luxtronik2_domestic_water entity shows this nice graph ā¤ļø
image

Unfortunately, the climate.luxtronik2_heating entity looks like being without data šŸ˜¢

image

Don't you please know what could be wrong? Also, please note that all the statuses (e.g. sensor.luxtronik2_status) and temperatures get the right data.

write failed ??

Is there any idea

my service:
service: luxtronik2.write
data:
parameter: ID_Einst_BWS_akt
value: "46"

Logger: homeassistant.helpers.script.websocket_api_script
Source: custom_components/luxtronik2/init.py:76
Integration: Luxtronik
First occurred: 13:15:42 (11 occurrences)
Last logged: 13:25:38

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'update_immediately_after_write'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1745, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1788, in _execute_service
await self._hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/luxtronik2/init.py", line 76, in write_parameter
update_immediately_after_write = hass.data[f"{DOMAIN}_conf"][
KeyError: 'update_immediately_after_write'

Daily heat amount

Could we have a sensor, that compares heat energy (kWh) day by day?

YAML code of README examples

Hi !

Thanks for the work ! Would it be possible to share the YAML of the examples on your README page ?

Regards,

WM

Thermal desinfection hot water

Ideas for Thermal desinfection

  • Allow to set a "thermal desinfection temperature" (e.g. default 60 CĀ°)
  • Add a sensor date "last thermal desinfection". Means a date stamp the hot water temperature was over "thermal desinfection temperature".
  • Add a "Start thermal desinfection" "button" (e.g. automation, script or ...)
  • Start thermal desinfection only if the "sun shines" or the outdoor temperature is over x?

Would it be possible to add ID_WEB_Zaehler_BetrZeitZWE1

The "old" integration offered the value of ID_WEB_Zaehler_BetrZeitZWE1 as a sensor. This sensor has shown the amount of time the heating rod was active. Was nice to see.. how often it spins up and how it develops during the heating season.

Would it be possible to add it to this integration?

Climate thermostat cooling

Creating a home assistant climate thermostat for the cooling

Current state: open

Todos:

  • Sensors:
    • status_sensor='calculations.ID_WEB_WP_BZ_akt',
    • current_temperature_sensor=Select a sensor from ha???,
    • target_temperature_sensor='parameters.ID_Sollwert_KuCft2_akt'?,
    • target_temperature_sensor_write='parameters.ID_Sollwert_KuCft2_akt'?,
    • heater_sensor='parameters.ID_Einst_BA_Kuehl_akt'?

Wrong heating info in 2022.12.16

I updated to the latest version in the afternoon, and as you can see the orange value is missing for hot water, and it is still present for heating.
Screenshot_20221215_221022_Home Assistant

Error while reading custom sensors

Logger: homeassistant.components.sensor
Source: custom_components/luxtronik2/sensor.py:435
Integration: Sensor (documentation, issues)
First occurred: 06:38:25 (1 occurrences)
Last logged: 06:38:25

Error while setting up luxtronik2 platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/luxtronik2/sensor.py", line 435, in async_setup_entry
if luxtronik.get_value("parameters.ID_Waermemenge_ZWE") > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

No Solar Buffer Temperature & Solar Collector

Hi. I currently have the software 2022.11.20 running with me and everything is fine with that.
When I make a newer update, I no longer see the temperatures from the solar collector and from the buffer storage and the status from the solar pump.
Do you have an idea why that is?

Flow Rate Value

Hi

Thanks for the Component! It's very helpful! Question: is there a Posibility to integrate the flow Rate reading of the WP? Would be grate to ensure that the flow Rate is not falling below the min Flow Rate of the WP when closing Valves.

BR busa

Write / update delay

If you change a setting, the new value is immediately written to Luxtronik, but the old one is still displayed in the ha interface until the next update (~60 Sec.).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.