-
-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MG Vehicle Config: Please Add Region and/or API URL option #17497
Comments
For developing please see https://github.com/evcc-io/evcc/blob/master/CONTRIBUTING.md or contact us on Slack. |
Thankyou, I will give it ago. |
@mjhgmailcom I use the integration over home assistant. This means evcc -> mqtt . This means evcc does not connect to mg at all. |
Yes, thanks. I've tried Home assistant and set that up aswell via mqtt using my own solar rules. Just wanted to see how evcc works, but couldn't do it properly because no AU region. |
Problem
MG has Multiple Regions, but the evcc MG Vehicle configuration only allows for EU.
MG accounts for one region do not work in other regions.
Solution
Background Information
MG configuration is hardcoded to EU URL:
https://gateway-mg-eu.soimt.com/api.app/v1/
However, there is also an AU region (and possibly more to come)
https://gateway-mg-au.soimt.com/api.app/v1/
<-- Works for Australia and New Zealand.EU API does not allow MG vehicles to work in from the AU Region, as they receive the following error:
However when using the said-python-mqtt-gateway with the following configuration, the account will log in.
Happy to assist if you need anyone to test or debug.
BTW I am a developer (Windows), but could not find a guide on compiling evcc that worked (and I attempted several different ways) - so I couldn't make the change myself. Let me know if there is a guide (on Windows?) that I have missed and I might be able to make the change myself.
Thankyou!
The text was updated successfully, but these errors were encountered: