Closed Inarion closed 4 weeks ago
Looks like your SAIC credentials are wrong, please remove any special characters from the password and try again.
Thanks for your answer. The password already consists of only alphanumeric characters (in regex it would be matched by [A-Za-z0-9]). Also I organize my passwords with a password manager and only copy + paste them, so no typos can sneak in. The very same password works alright with the MG iSmart app.
I just reapplied the password setting and restarted the addon, but the log still shows the exact same problem.
Is there anything I can do to further debug the problem? (When programming I like to set breakpoints to see more closely what happens when the problem occurs - but I guess that's not quite possible in this case...)
@Inarion Feel free to reach out to me on telegram and I can debug it for you. My handle is the same as my username here on github
Thanks for your generous offer. I was having doubts about installing telegram on my primary phone, so due to this and the fact that life has been rather busy, I postponed getting back to my issue for quite some time.
Today I had an unforeseen success with an unrelated Home Assistant issue, which got me totally motivated to take a look at the SAIC gateway again. And would you believe it? All this time my MQTT config for the gateway was flawed - it pointed at the port for MQTT over websocket. This seems to have triggered the above errors.
So the solution in my case was: Check, double-check and then check your config again. Fixing the port in MQTT_URI was all that was needed. (I'm sure I had checked that before, but only once...)
Feeling kinda stupid now, but also relieved.
Hi there,
I'm seeing a repeating warning in the logs, the line looks as follows:
2024-07-07 15:25:40,383 [WARNING ] [TRYING WRITE TO CLOSED SOCKET] - gmqtt.mqtt.protocol
For more detail refer to the full log below, taken directly after restarting the addon. The part after [CONNECTION MADE] repeats every 5-6 seconds. Can I do something to get rid of this warning? Does it indicate something going wrong? I'm specifically asking because I'm not seeing the correct values in the mqtt topics, while the MG iSmart app actually displays the correct SOC for once.Are more details needed? Please let me know.