Both email and phone are failing, I did select the eu server (netherlands), app is working just fine now. Just checked the logging and it has the same error as the MQTT was saying.
Failed to authenticate or fetch vehicle data: return code: 403, message: {“code”:403,“message”:“Illegal AppSendDate!”}
I do have a question, is it possible to make a button that simply turns on the AC for preheating or cooling the car in the mornings? In essence duplicating the one that is in the MG app?
Ive managed to set most things up on my dash board, just cant seem to find a way to do this.
I have a slight issues this morning in that the integration is fialing to initialize… I notice that the mg app is failing to connect too so could be an MG thing… when you reload the integration does it try to make a connection and thats why it could be failing to initialize?
Hello, does this issue still exists ?
I have the same issue i think
I see in my log
2025-03-18 16:47:41,557 [ ERROR ] Could not login to the SAIC API due to an error - root
2025-03-31 12:41:36.746 DEBUG (MainThread) [custom_components.mg_saic] Logging in with base URL: https://gateway-mg-eu.soimt.com/api.app/v1/ for region: EU
2025-03-31 12:41:44.334 ERROR (MainThread) [custom_components.mg_saic] Failed to log in to MG SAIC API: return code: 500, message: API call POST /oauth/token failed unexpectedly
2025-03-31 12:41:44.334 ERROR (MainThread) [custom_components.mg_saic] Failed to set up MG SAIC integration: return code: 500, message: API call POST /oauth/token failed unexpectedly
{
code: 6,
message: "The service is not available,please try again later."
}
Since this has been working nicely until now, I suppose it’s going to be a temporary thing.
Update:
This has been solved without any further modification. I guess something was wrong on SAIC’s side. That said, accessing https://gateway-mg-eu.soimt.com/api.app/v1/ still returns the same error even though the logging is successful.
I’m having a little bit of trouble with this and my MG ZS EV (2023). Specifically the climate control. I am able to set it to “cool” and the car will start cooling (this is pre-cooling while the car is off and locked), however the home assistant climate component never updates and reverts back to “off”. I can then not turn off climate control again to get the car to go back to idle.
If it matters I’m in Australia, and most of the other features do seem to work, though sometimes with a bit of delay.
It seems like the issue is on the response from the car and API after deploying the AC. Can you share your logs with the activation and response from API afterwards?
The RemoteClimate response shall be either 2 or 3, for Fan or Cool, if the car replies a different value the integration will show as Off… so the best thing is to look into the Debug logs first.
All new to both HA and this integration.
I’m getting this error “Failed to set up MG SAIC integration: return code: 500, message: API call POST /oauth/token failed unexpectedly”
I see others have had the same issue, but i don’t seam til find a clear solution.
Any recommendation?
Sorry I forgot to keep tabs on this forum, I’ll have to figure out how to get the debug logs and get back to you. I might just make it into a github issue.
Just to give you all an heads-up in advance, in case someone wants to take over this project.
I will be replacing my MG Marvel in the upcoming weeks, so I will not be making any progress or developments on the integration. I am sorry for you all, but I will not have a way to test any changes and therefore it makes no sense to handle this.
If someone is interested in taking over, you are move than welcome to PM me and express your interest.
It’s going to be way beyond my skills, but I just wanted to say thank you for all the efforts you put into this - it’s made my car and smart integrations so much more valuable to me (and my family!)
Hopefully someone is able to at least maintain the great work that has gone into this into the future…
all new to this project, but thanks for the effort.
I don’t have the setup for DEV but i can test on our MG ZS EV so if I that can be my contribution, i’m here