home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.96k stars 31.01k forks source link

ebusd Setup Error "Connection refused" #130645

Open kallax82 opened 1 week ago

kallax82 commented 1 week ago

The problem

Error during start of HA and during start of ebusd Add-on.

Issue was not fixed or resolved by: https://github.com/home-assistant/core/issues/121660 https://github.com/LukasGrebe/ha-addons/issues/149

What version of Home Assistant Core has the issue?

2024.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ebusd

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ebusd

Diagnostics information

No response

Example YAML snippet

# Example configuration.yaml entry
ebusd:
  host: 127.0.0.1
  circuit: "700"

Anything in the logs that might be useful for us?

Logger: homeassistant.setup
Source: setup.py:416
First occurred: 9:16:59 AM (1 occurrences)
Last logged: 9:16:59 AM

Error during setup of component ebusd
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/ebusdpy/ebusdpy.py", line 14, in init
    sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/ebusd/__init__.py", line 69, in setup
    ebusdpy.init(server_address)
  File "/usr/local/lib/python3.12/site-packages/ebusdpy/ebusdpy.py", line 18, in init
    raise EBusError(socket.error)
ebusdpy.ebusdpy.EBusError: <class 'OSError'>

Additional information

No response

home-assistant[bot] commented 1 week ago

ebusd documentation ebusd source