Closed Hellraiser8 closed 2 years ago
I tried to run it but it stops with the following issue, any idea?:
David@Synology:/volume1/docker/TeslaLogger$ sudo docker-compose pull ABRP Pulling ABRP ... done David@Synology:/volume1/docker/TeslaLogger$ sudo docker-compose up ABRP Creating TeslaMate_ABRP ... done Attaching to TeslaMate_ABRP TeslaMate_ABRP | {'--model': None, TeslaMate_ABRP | '-a': False, TeslaMate_ABRP | '-h': False, TeslaMate_ABRP | '-l': False, TeslaMate_ABRP | '-p': False, TeslaMate_ABRP | 'CAR_NUMBER': None, TeslaMate_ABRP | 'MQTT_PASSWORD': None, TeslaMate_ABRP | 'MQTT_SERVER': None, TeslaMate_ABRP | 'MQTT_USERNAME': None, TeslaMate_ABRP | 'USER_TOKEN': None} TeslaMate_ABRP | Traceback (most recent call last): TeslaMate_ABRP | File "/usr/src/teslamate-abrp/./teslamate_mqtt2abrp.py", line 110, in TeslaMate_ABRP | client.connect(MQTTSERVER) TeslaMate_ABRP | File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect TeslaMate_ABRP | return self.reconnect() TeslaMate_ABRP | File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect TeslaMate_ABRP | sock = self._create_socket_connection() TeslaMate_ABRP | File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection TeslaMate_ABRP | return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source) TeslaMate_ABRP | File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection TeslaMate_ABRP | for res in getaddrinfo(host, port, 0, SOCK_STREAM): TeslaMate_ABRP | File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo TeslaMate_ABRP | for res in _socket.getaddrinfo(host, port, family, type, proto, flags): TeslaMate_ABRP | socket.gaierror: [Errno -2] Name does not resolve
solved myself...wrong config
I tried to run it but it stops with the following issue, any idea?:
David@Synology:/volume1/docker/TeslaLogger$ sudo docker-compose pull ABRP Pulling ABRP ... done David@Synology:/volume1/docker/TeslaLogger$ sudo docker-compose up ABRP Creating TeslaMate_ABRP ... done Attaching to TeslaMate_ABRP TeslaMate_ABRP | {'--model': None, TeslaMate_ABRP | '-a': False, TeslaMate_ABRP | '-h': False, TeslaMate_ABRP | '-l': False, TeslaMate_ABRP | '-p': False, TeslaMate_ABRP | 'CAR_NUMBER': None, TeslaMate_ABRP | 'MQTT_PASSWORD': None, TeslaMate_ABRP | 'MQTT_SERVER': None, TeslaMate_ABRP | 'MQTT_USERNAME': None, TeslaMate_ABRP | 'USER_TOKEN': None} TeslaMate_ABRP | Traceback (most recent call last): TeslaMate_ABRP | File "/usr/src/teslamate-abrp/./teslamate_mqtt2abrp.py", line 110, in
TeslaMate_ABRP | client.connect(MQTTSERVER)
TeslaMate_ABRP | File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
TeslaMate_ABRP | return self.reconnect()
TeslaMate_ABRP | File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
TeslaMate_ABRP | sock = self._create_socket_connection()
TeslaMate_ABRP | File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
TeslaMate_ABRP | return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
TeslaMate_ABRP | File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection
TeslaMate_ABRP | for res in getaddrinfo(host, port, 0, SOCK_STREAM):
TeslaMate_ABRP | File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
TeslaMate_ABRP | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
TeslaMate_ABRP | socket.gaierror: [Errno -2] Name does not resolve