Skip to content
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

smappee not loading #35

Open
Trouble-51 opened this issue Dec 9, 2021 · 0 comments
Open

smappee not loading #35

Trouble-51 opened this issue Dec 9, 2021 · 0 comments

Comments

@Trouble-51
Copy link

I get the following message when adding the smappee integration using cloud:

SmappeeCloud failed to setup. This although I get a success message when the integration visit the smappee website

I am on Home assistant 2021.12.0b5

Logger: homeassistant.config_entries
Source: components/smappee/init.py:104
First occurred: 14:57:05 (3 occurrences)
Last logged: 15:55:30

Error setting up entry smappeeCloud for smappee
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/smappee/init.py", line 104, in async_setup_entry
await hass.async_add_executor_job(smappee.load_service_locations)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/pysmappee/smappee.py", line 30, in load_service_locations
sl = SmappeeServiceLocation(service_location_id=service_location.get('serviceLocationId'),
File "/usr/local/lib/python3.9/site-packages/pysmappee/servicelocation.py", line 74, in init
self.load_configuration()
File "/usr/local/lib/python3.9/site-packages/pysmappee/servicelocation.py", line 227, in load_configuration
self.mqtt_connection_central = self.load_mqtt_connection(kind='central')
File "/usr/local/lib/python3.9/site-packages/pysmappee/servicelocation.py", line 522, in load_mqtt_connection
mqtt_connection.start()
File "/usr/local/lib/python3.9/site-packages/pysmappee/mqtt.py", line 219, in start
self._client.connect(host=config['MQTT'][self._farm]['host'],
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.9/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.9/socket.py", line 844, in create_connection
raise err
File "/usr/local/lib/python3.9/socket.py", line 832, in create_connection
sock.connect(sa)
socket.timeout: timed out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant