flobz / psacc-ha

psa_car_controller addons for Home Assistant
GNU General Public License v3.0
48 stars 46 forks source link

Home Assistant Addin crashes #10

Closed maedball closed 3 years ago

maedball commented 3 years ago

Hiho, i got everything installed and connected the car -> i can even see the connection for a few second. During startup the addon crashes -> this is the only thing i could find in the log. Is there anything i am missing that needs to be done?

Thanks for your help

Traceback (most recent call last): File "/psa_car_controller/server.py", line 22, in conf.load_app() File "/psa_car_controller/libs/config.py", line 105, in load_app self.start_remote_control() File "/psa_car_controller/libs/config.py", line 63, in start_remote_control self.myp.start_mqtt() File "/psa_car_controller/my_psacc.py", line 341, in start_mqtt self.mqtt_client.connect(MQTT_SERVER, 8885, 60) File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 914, in connect return self.reconnect() File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1073, in reconnect sock.do_handshake() File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)

flobz commented 3 years ago

Look here : https://github.com/flobz/psa_car_controller The issue is described in the FAQ