-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I have a problem with the saic_ismart_client telling me I used a wrong pasword.
But I'm sure I use the correct one...
I'm able to login to the ismart app with the same PW and userid I tried to use for the saic-python-mqtt-gateway.
The app login works fine - after I reconnect in the app saic resets my failed logons to 5 attempts.
When I try to login through the gateway it doesn't work.
Is there a restriction in the pw length?
I looked at your code and think that there should be no problem with my pw.
The password has 20 characters, upper/ lowercase and numbers - no special characters.
As I see in the code a password between 6 and 30 characters is supported...
But now I don't have any idea what could be wrong...
My environment:
Everything runs in Docker.
I use the saic-python-mqtt-gateway from docker hub.
I also have a mosquitto and evcc running in docker.
According to the logs the connections between evcc <--> mosquitto <--> saic-python-mqtt-gateway seems to work.
Just the connection saic-python-mqtt-gateway <--> saic api seems to fail :-(
Status: Downloaded newer image for saicismartapi/saic-python-mqtt-gateway:latest
2023-11-26 11:23:30,399 [ INFO ] Connected to MQTT broker - mqtt_publisher
2023-11-26 11:23:30,402 [ INFO ] Scheduler started - apscheduler.scheduler
2023-11-26 11:23:31,268 [ ERROR ] MqttGateway crashed due to SaicApiException - __main__
Traceback (most recent call last):
File "/usr/src/app/./mqtt_gateway.py", line 301, in run
login_response_message = self.saic_api.login()
File "/usr/local/lib/python3.10/site-packages/saic_ismart_client/saic_api.py", line 122, in login
raise SaicApiException(login_response_message.body.error_message,
saic_ismart_client.exceptions.SaicApiException: return code: 15019, message: Incorrect password. You may have another 3 attempts of the day,please try again.
return code: 15019, message: Incorrect password. You may have another 3 attempts of the day,please try again.
regards
elmer