Coder Social home page Coder Social logo

Comments (11)

elupus avatar elupus commented on July 20, 2024 1

Start be rebooting the heatpump and disabling all entities in HA. The new firmwares are known for having several crashing bugs on modbus.

Then enable entities a few at a time.

from core.

elupus avatar elupus commented on July 20, 2024 1

There is problems with firmware on the pumps. We should not be able to crash them by reading parameters from them. Even if we did do something wrong, they should not crash like they do.

Sometimes its an soft crash, where they become unresponsive over modbus. Sometimes they just crash hard and reboot.

One you figure out which entries crash the pumps, it should be reported ro nibe.

from core.

elupus avatar elupus commented on July 20, 2024 1

Yup

from core.

home-assistant avatar home-assistant commented on July 20, 2024

Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration (nibe_heatpump) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of nibe_heatpump can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign nibe_heatpump Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


nibe_heatpump documentation
nibe_heatpump source
(message by IssueLinks)

from core.

Shuties avatar Shuties commented on July 20, 2024

I have the same issue, the heatpump becomes unavailable after some time, and randomly it pops back up. maybe once every other day. Rebooting the heatpump and disabling all entities in HA cannot be a long term solution? If i'm away i would ofcourse like to monitor my heatpump, and this makes it impossible. Is it problem in the NIBE firmware or the integration?
Using a S1256 with version 2.27.5

Logbook looks the same as OP's. Latest HA versions installed on home assistant green.

from core.

Shuties avatar Shuties commented on July 20, 2024

So, i should try restarting, with all entities disabled, and then enable one by one until i find out which one makes it crash? Have i understood it correctly?

from core.

m-wo avatar m-wo commented on July 20, 2024

I've followed your advice and disabled most of the entities, I'm not down to the absolute minimum that are required for automation and I'm still getting the errors.
Even if I'd go and disable the last entities, I'd still be dependent on them. How would I report them to Nibe then?

from core.

elupus avatar elupus commented on July 20, 2024

Ignore your automations too start with. We need to find the entity that isn't working.

from core.

Shuties avatar Shuties commented on July 20, 2024

I have not had the problem again since i updated the software to a new release since a week ago. Just wanted to let you know. 3.0.10 is the version im running, and no problems in a whole week.

from core.

philippe-tc avatar philippe-tc commented on July 20, 2024

I'm havoing the same kind of problems since updating my Nibe S1255 to software version 3.0.10.
The error log of my HA (core 2024.5.5 and OS 12.2) says:

Logger: homeassistant.components.nibe_heatpump
Bron: helpers/update_coordinator.py:315
integratie: Nibe Heat Pump (documentatie, problemen)
Eerst voorgekomen: 14:34:09 (4 gebeurtenissen)
Laatst gelogd: 14:37:18

Unexpected error fetching Nibe Heat Pump data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/nibe_heatpump/coordinator.py", line 155, in _async_update_data
return await self._async_update_data_internal()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/nibe_heatpump/coordinator.py", line 177, in _async_update_data_internal
async for data in self.connection.read_coils(_get_coils()):
File "/usr/local/lib/python3.12/site-packages/nibe/connection/init.py", line 43, in read_coils
yield await self.read_coil(coil, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tenacity/_asyncio.py", line 142, in async_wrapped
return await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tenacity/_asyncio.py", line 58, in call
do = await self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tenacity/_asyncio.py", line 110, in iter
result = await action(retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tenacity/_asyncio.py", line 78, in inner
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tenacity/init.py", line 390, in
self._add_action_func(lambda rs: rs.outcome.result())
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/usr/local/lib/python3.12/site-packages/tenacity/_asyncio.py", line 61, in call
result = await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/nibe/connection/modbus.py", line 85, in read_coil
result = await self._client.read_input_registers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/async_modbus/core.py", line 194, in read_input_registers
return await self._send_message(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/async_modbus/core.py", line 142, in _send_message
return await self.protocol._async_send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/async_modbus/core.py", line 39, in send_message_tcp
await writer.drain()
File "/usr/local/lib/python3.12/site-packages/async_modbus/core.py", line 113, in drain
await self._write_coro
File "/usr/local/lib/python3.12/site-packages/sockio/aio.py", line 31, in wrapper
await self.open()
File "/usr/local/lib/python3.12/site-packages/sockio/aio.py", line 287, in open
self.reader, self.writer = await coro
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/sockio/aio.py", line 153, in open_connection
transport, _ = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1120, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1102, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1005, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('192.168.2.105', 502)

from core.

elupus avatar elupus commented on July 20, 2024

Your pump has either crashed or you have not enabled modbus. Restart it and check that modbus is enabled.

from core.

Related Issues (20)

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.