Coder Social home page Coder Social logo

hass-komfovent-c5's People

Contributors

dependabot[bot] avatar gruntmar avatar siku2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hass-komfovent-c5's Issues

Cannot install via HACS - getting 404 from GitHub

Getting this kind of messages:

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:730
Integration: HACS (documentation, issues)
First occurred: 18:41:05 (1 occurrences)
Last logged: 18:41:05

Download failed - Got status code 404 when trying to download https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 730, in async_download_file
    raise HacsException(
custom_components.hacs.exceptions.HacsException: Got status code 404 when trying to download https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip

and indeed the file https://github.com/siku2/hass-komfovent-c5/releases/download/0.3.5/dingz.zip is missing on GitHub, but mentioned in hacs.json. I am using following setup:

2024.1.5
Supervisor
2023.12.1
Operating System
11.4
User Interface
20240104.0

What am I missing?

Install not possible

Have now hass-komfovent-c5 completely removed from HACS and then added again, now the configuration flow can no longer be loaded. I've tried it several times now... it doesn't work
bild 2022-07-31 um 10 22 23

Komfovent RHP 600 losing connection

I know it's not an integration issue, as i can't properly connect to machine local management page also, but maybe you have some idea.

I think storage got full on the 600 or something. Recently i starting getting unavailable in the integration, a restart fixes it only for a few minutes
As mentioned, even going to 192.168.1.50 i can only login and see first page, any other page is giving error connection lost.

Any idea?

NoneType can't be used in 'await' expression

First of all, great job. Thanks for doing it.
It was working well with my Verso 1000. Making changes to follow HA changes is also awesome.

Suddenly after couple of changes in integrations and network setting I cannot anymore run integration. I tried reinstealling , using previous version, changing IP address, reverting to state of network and other integrations to what it has been but cannot get it to work again.

Here is stack trace:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 181, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 297, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 393, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/komfovent_c5/config_flow.py", line 31, in async_step_user
    await client.disconnect()
  File "/config/custom_components/komfovent_c5/api/client.py", line 32, in disconnect
    await self._modbus.close()
TypeError: object NoneType can't be used in 'await' expression

Any idea what could it be ?

Doesn't support program mode for RHP 600 U

First of all, thanks a lot for this, it works really well (with occasional unavailable data).
I am using this with an RHP 600U and if I set it to any preset (Comfort1/2, Economy 1/2), I can see it in home assistant, but if I used scheduled programming, called Program mode in the Komfovent local page settings, it's not visible as current operation mode in this integration.
It would be nice to have this.

Thanks again

Unable to import component

Since yesterday there are problems with the recognition of c5 after restarting Home Assistant. Another restart also leads to the error, yesterday I was able to de-energize the RLT system, after which it was recognized by ha after another restart - unfortunately not anymore today. that's the mistake.

`Logger: homeassistant.setup
Source: setup.py:162
First occurred: 06:34:35 (1 occurrences)
Last logged: 06:34:35

Setup failed for custom integration komfovent_c5: Unable to import component: No module named 'pymodbus.client.asynchronous'`

RHP 600 U new firmware heat pump level

Hi,
I had the controller changed on my RHP 600 U unit and now the heat pump level doesn't update as it did.
(Not sure if this isn't in fact how it worked before, but I didn't notice...)
This is the firmware version:
image

Everything else seems to be updating and working fine, but there is an issue with the heat pump level.
Sometimes the web page shows heat pump is running at 65-100% but in HA it's 0%, but sometimes it's correctly shown in HA as -100%.
Here's a graph of the heat pump level aligned with the power consumption (when it's using 700W, it's running):
image

It's obvious the heat pump is running but it's not visible in HA.

As a side note, it might be related to the other things the unit is "trying" to use to cool the air (DX, water cooling):
image

I noticed the heat pump level on the web page jumps to 65% then slowly grows to 100%
image
image
If possible to get the "blue" value, which seems to be the requested value, it would at least let me know the pump is running, even if it's in fact running at 100%, not 65, 70, etc...

No communication

My C5 is on and running. Accessible via IP and the web interface. Unfortunately, no data is loaded from the system via the addon. The setup runs through, but afterwards there is no data retrieval as it seems. Do settings have to be made on the device itself?
Thank You

communication fails after a few hours

Unfortunately, the communication always fails after a few hours, even though the system has a fixed IP and can be reached permanently, what can be the reason?
bild 2022-03-12 um 08 12 59
bild 2022-03-12 um 08 15 13

No Program Mode

Hi,
thanks for this HAC. I need the Program Mode but i can't choose it.

bild 2022-03-08 um 06 08 06
bild 2022-03-08 um 06 08 24

Failed to connect: [Errno 110] Connect call failed

same error even after updating to the latest version :( do you have an idea what could be the reason?

Logger: pymodbus.client.asynchronous.async_io
Source: /usr/local/lib/python3.10/site-packages/pymodbus/client/asynchronous/async_io/__init__.py:307 
First occurred: 04:46:04 (102 occurrences) 
Last logged: 04:49:24


Failed to connect: [Errno 110] Connect call failed ('192.168.178.50', 502)

and

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.komfovent_c5
Source: custom_components/komfovent_c5/api/client.py:101 
Integration: Komfovent C5 (documentation, issues) 
First occurred: 05:01:50 (1 occurrences) 
Last logged: 05:01:50

Unexpected error fetching state data: Modbus Error: [Connection] Connection lost during request
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/komfovent_c5/__init__.py", line 66, in __fetch_data
    return await KomfoventState.read_all(self.client, self.settings_state)
  File "/config/custom_components/komfovent_c5/__init__.py", line 54, in read_all
    functions=await Functions(client).read_all(),
  File "/config/custom_components/komfovent_c5/api/functions.py", line 39, in read_all
    regs = await self._client.read_many_u16(
  File "/config/custom_components/komfovent_c5/api/client.py", line 101, in read_many_u16
    await protocol.read_holding_registers(address, count=count)
  File "/usr/local/lib/python3.10/site-packages/pymodbus/client/asynchronous/async_io/__init__.py", line 35, in execute
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return fut.result()
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Connection lost during request

Failed Setup and AssertionError on Domekt R 400 L-H

I am getting the following error in the logs and setup fails.
image

This error originated from a custom integration.

Logger: custom_components.komfovent_c5
Source: custom_components/komfovent_c5/api/client.py:105
Integration: Komfovent C5 (documentation, issues)
First occurred: 22:11:32 (14 occurrences)
Last logged: 22:15:17

Unexpected error fetching komfovent_c5 data:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/komfovent_c5/__init__.py", line 81, in _async_update_data
    self.__settings = await api.Settings(self.__client).read_all()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/komfovent_c5/api/settings.py", line 161, in read_all
    registers = await self._client.read_many_u16(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/komfovent_c5/api/client.py", line 115, in read_many_u16
    await self._read_batch(batch_start, count=batch_end - batch_start)
  File "/config/custom_components/komfovent_c5/api/client.py", line 105, in _read_batch
    assert not response.isError()
AssertionError

I am running Home Assistant version 2023.8.2, but the same error was also with 2023.4, 2023.5, 2023.6, 2023.7.
I have tested with 0.26 and 0.33 version of hass-komfovent-c5.

When setting up modbus manually in HA configuration like so, it works:

modbus:
  name: "Komfovent"
  type: tcp
  host: 192.168.5.13
  port: 502
  delay: 2
  retry_on_empty: true
  close_comm_on_error: false
  message_wait_milliseconds: 200

  switches:
    - name: "Komfovent Switch Power"
      slave: 1
      address: 0
      command_on: 1
      command_off: 0

  sensors:
    - name: "Komfovent Start/Stop Status"
      address: 1999
      input_type: holding
      data_type: uint8
      scan_interval: 60
    - name: "Komfovent Current Mode"
      address: 2000
      input_type: holding
      data_type: uint16
      scan_interval: 60
...

Install fails, but easy solution

Hi,

Thanks a lot for this amazing work!
Currently version 0.2.5 cannot be installed, but main branch works (should be 0.2.6)
You should "release" main as 0.2.6 so more people can install this.

Again, nice work!

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.