-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install the component #84
Comments
The IP was incorrect and the part of the code for VEDO has to be commented because I don't have vedo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I tried to add the comelit component to my HA with the following parameters (in bold the info that I modified, the X are for privacy)
Comelit Hub/Vedo
comelit:
hub:
host: 192.168.1.XXX
port: 1883
mqtt-user: hsrv-user
mqtt-password: sf1nE9bjPc
username: 'admin'
password: 'admin'
serial: 0025291717XX(two letters)
client: homeassistant
scan_interval: 2
vedo:
host: VEDO IP ADDRESS
port: 80
password: 'VEDO PASSWORD'
scan_interval: 30
binary_sensors: disable
But I can't get it to work. This is the log of the error.
Registratore: homeassistant.setup
Fonte: setup.py:402
Prima occorrenza: 15:47:06 (1 occorrenze)
Ultima registrazione: 15:47:06
Error during setup of component comelit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 402, 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 "/config/custom_components/comelit/init.py", line 56, in setup
hub = ComelitHub(hub_client, hub_serial, hub_host, mqtt_port, mqtt_user, mqtt_password, hub_user,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/comelit/hub.py", line 226, in init
self.client.connect(hub_host, mqtt_port, 45)
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/socket.py", line 852, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.12/socket.py", line 837, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Last year I tried HA on a laptop and figured out how to configure the comelit component correctly, but I don't remember how.
Would you be able to help me?
Many thanks.
The text was updated successfully, but these errors were encountered: