I've just installed the Add on and configured it... but the logs are showing:
Traceback (most recent call last):
File "/app/TSmart/server.py", line 173, in
return self.reconnect()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
publishOutput(output)
File "/app/TSmart/server.py", line 45, in publishOutput
HAMQTT.publish_discovery(tempoutput)
File "/app/TSmart/HA_Discovery.py", line 83, in publish_discovery
sock = self._create_socket_connection()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
client.connect(HAMQTT.MQTT_Address,port=HAMQTT.MQTT_Port)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.10/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.10/socket.py", line 824, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve
2022-10-07 10:12:21,609 TSmart_STARTUP - Starting UDP Server
2022-10-07 10:12:21,610 root - Starting the MQTT Client...
2022-10-07 10:12:21,750 - root [CRITICAL] Inside server.py
2022-10-07 10:12:21,750 - root [CRITICAL] UDP server up and listening
Traceback (most recent call last):
File "/app/TSmart/mqtt_client.py", line 82, in
Traceback (most recent call last):
File "/app/TSmart/server.py", line 173, in
client.connect(MQTT_Address,port=MQTT_Port)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
publishOutput(output)
File "/app/TSmart/server.py", line 45, in publishOutput
HAMQTT.publish_discovery(tempoutput)
File "/app/TSmart/HA_Discovery.py", line 83, in publish_discovery
client.connect(HAMQTT.MQTT_Address,port=HAMQTT.MQTT_Port)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client
Any thoughts? I thought that I had everything correct (double checked too - IP address, mqtt user and p/w) but clearly something is wrong....
I've just installed the Add on and configured it... but the logs are showing:
Traceback (most recent call last): File "/app/TSmart/server.py", line 173, in
return self.reconnect()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
publishOutput(output)
File "/app/TSmart/server.py", line 45, in publishOutput
HAMQTT.publish_discovery(tempoutput)
File "/app/TSmart/HA_Discovery.py", line 83, in publish_discovery
sock = self._create_socket_connection()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
client.connect(HAMQTT.MQTT_Address,port=HAMQTT.MQTT_Port)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.10/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.10/socket.py", line 824, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve
2022-10-07 10:12:21,609 TSmart_STARTUP - Starting UDP Server
2022-10-07 10:12:21,610 root - Starting the MQTT Client...
2022-10-07 10:12:21,750 - root [CRITICAL] Inside server.py
2022-10-07 10:12:21,750 - root [CRITICAL] UDP server up and listening
Traceback (most recent call last):
File "/app/TSmart/mqtt_client.py", line 82, in
Traceback (most recent call last):
File "/app/TSmart/server.py", line 173, in
client.connect(MQTT_Address,port=MQTT_Port)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
publishOutput(output)
File "/app/TSmart/server.py", line 45, in publishOutput
HAMQTT.publish_discovery(tempoutput)
File "/app/TSmart/HA_Discovery.py", line 83, in publish_discovery
client.connect(HAMQTT.MQTT_Address,port=HAMQTT.MQTT_Port)
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client
Any thoughts? I thought that I had everything correct (double checked too - IP address, mqtt user and p/w) but clearly something is wrong....