BenPru / luxtronik

Luxtronik integration for Home Assistant
MIT License
68 stars 23 forks source link

heatpump IP address change; new setup impossible #101

Closed apf-doit closed 1 year ago

apf-doit commented 1 year ago

regarding the docs there should be the field in "configure the integration" which let you set the ip address. once done this field does not show up anymore. i tried to figure out where this value is stored and looked through all the files but no luck since everything seems to be imported from somewhere else. here is the error log from the HA interface:

Logger: homeassistant.config_entries Source: custom_components/luxtronik2/luxtronik_device.py:39 Integration: Luxtronik First occurred: 22:05:30 (1 occurrences) Last logged: 22:05:30

Error setting up entry Novelan LD7 for luxtronik2
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/luxtronik2/__init__.py", line 58, in async_setup_entry
    setup_internal(hass, config_entry.data, config_entry.options)
  File "/config/custom_components/luxtronik2/__init__.py", line 127, in setup_internal
    luxtronik = LuxtronikDevice(host, port, safe, lock_timeout)
  File "/config/custom_components/luxtronik2/luxtronik_device.py", line 39, in __init__
    self._luxtronik = Lux(host, port, safe)
  File "/usr/local/lib/python3.10/site-packages/luxtronik/__init__.py", line 25, in __init__
    self.read()
  File "/usr/local/lib/python3.10/site-packages/luxtronik/__init__.py", line 40, in read
    self._connect()
  File "/usr/local/lib/python3.10/site-packages/luxtronik/__init__.py", line 29, in _connect
    self._socket.connect((self._host, self._port))
OSError: [Errno 113] Host is unreachable
apf-doit commented 1 year ago

image

apf-doit commented 1 year ago

edit: solution is to delete the old integration completely and add it again with new ip address.