Repository navigation
Gateway settings for Australia #169
Description
Activity
Did australia get the "facelift" of the MG app? Or is it still using the classic "black" version?
If so I fear you have to use the old gateway version. If you want to investigate more you can reach me out on telegram (@nanomad)
I believe I have the same issue... Any further details for configuring for Australia that you could provide would be great!
@bullantmm see if you can provide an answer to the question above
@nanomad at this point I believe AU and NZ are still using the classic "black" version.
In the end I rolled back to the old gateway version and it worked again for me in Australia.

@jamescreer which version exactly are you using? 0.4.6 or one of the 0.5.x ones? Also are there any other region specific settings that you need for AUS other than --saic-uri=https://tap-au.soimt.com/
?I'm using 0.4.6 according to the changelog in my directory. Was on holiday from the 14th Jan, so wasn't able to test any interim build since.
For Aus, I did not use any other specific settings except --saic-uri=https://tap-au.soimt.com/
Reacted by bullantmm@bullantmm I'm also running 0.4.6 with https://tap-au.soimt.com as the saic-uri
Reacted by bullantmm- pinned this issue
on Mar 4, 2024 - changed the title
[-]SAIC settings for Australia[/-][+]Gateway settings for Australia[/+]on Mar 4, 2024 Solution is to stay on the 0.4.6 release. Help is more than welcome to back port fixes from the current version
- addedenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
on Mar 4, 2024 @nanomad I will try it out in the next few days. I think it's a good chance to learn more about python and github.
Reacted by Giovanni Condello and denisfrench@callifo @bullantmm off topic question... Can you confirm that you see negative values for the latitude in the API responses?
Reacted by Nick4 remaining items
@pmannk let's keep this to track the backporting to the legacy version
Reacted by Peter@bullantmm i havent sorry. As usual life has got in the way of me starting something new :P
Hi - for what it's worth I've just been playing round with this. I don't know if it's newly available, but https://gateway-mg-au.soimt.com/api.app/v1/ is now available and I have been able to use the latest version of this gateway to connect to my ZS EV.
SAIC_REST_URI: https://gateway-mg-au.soimt.com/api.app/v1/
SAIC_REGION: auHope this helps
Reacted by denisfrench and Thiago FigueiróThanks @karter16! I just tried but looks like that URI is not available... Anyway it might mean we are getting closer!!
Thanks @karter16! I just tried but looks like that URI is not available... Anyway it might mean we are getting closer!!
Interesting - so if you try to go to the URI (https://gateway-mg-au.soimt.com/api.app/v1/) from your browser what do you get? I get a
{"code":6,"message":"The service is not available,please try again later."}response, which means that the API exists and is responding. If I use the latest version of "saic-python-client-ng" and specify that URI I'm able to use my iSmart username and password to connect to and control the vehicle - I have this working now.Thanks @karter16! I just tried but looks like that URI is not available... Anyway it might mean we are getting closer!!
Interesting - so if you try to go to the URI (https://gateway-mg-au.soimt.com/api.app/v1/) from your browser what do you get? I get a
{"code":6,"message":"The service is not available,please try again later."}response, which means that the API exists and is responding. If I use the latest version of "saic-python-client-ng" and specify that URI I'm able to use my iSmart username and password to connect to and control the vehicle - I have this working now.I gave it some more work and now it works... Just had to spend some time ensuring the variables were correct. Thanks for the notifying about the updated address!
Reacted by karter16Tried this and it doesn't seem to work in NZ. I get the 'service not available' at that endpoint, but when the gateway tried to log in it gets an "incorrect password" response (it's definitely the correct password).
@karter16 how did you find that endpoint? I might need to capture my phone's traffic
Hi @hamishfagg - fyi I am NZ-based so don't think it's a NZ vs AU thing.
I believe that there is a separate known issue/limitation (here it is: #255) that your password can't contain special characters (needs to be only alpha-numeric) could it be that?
You won't get that endpoint by monitoring traffic when using the iSmart app. the NZ/AU iSmart app still uses the old endpoint. I found this endpoint by taking the new EU endpoint and substituting "au" in the place of "eu". (on the basis that they've probably stood up the endpoint and just not migrated AU/NZ to the new app yet, which indeed seems to be the case).
My password is alpha-numeric, but you gave me an idea - turns out the app just ignores anything after the first 16 characters in your password (yay, security).
So, I just needed to set the env var to the first 16 chars of my password and now it's working! Thanks!
Reacted by karter16Can you guys confirm it works for AU and NZ then? I'd love for you to update the README if so with the right settings to use
Can you guys confirm it works for AU and NZ then? I'd love for you to update the README if so with the right settings to use
Definitely working for me in AU using
SAIC_REST_URI: https://gateway-mg-au.soimt.com/api.app/v1/
SAIC_REGION: auReacted by karter16So that's confirmed - works in both AU and NZ using:
SAIC_REST_URI: https://gateway-mg-au.soimt.com/api.app/v1/
SAIC_REGION: auAmazing news because version
0.4.6just started throwing errors for me:saic-mqtt-gateway | 2025-04-01 02:29:47,350 [ INFO ] Updating charging status - __main__ saic-mqtt-gateway | 2025-04-01 02:31:19,093 [ ERROR ] handle_vehicle loop failed during SAIC API call - __main__ saic-mqtt-gateway | Traceback (most recent call last): saic-mqtt-gateway | File "/usr/src/app/./mqtt_gateway.py", line 91, in handle_vehicle saic-mqtt-gateway | charge_status = self.update_charge_status() saic-mqtt-gateway | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ saic-mqtt-gateway | File "/usr/src/app/./mqtt_gateway.py", line 118, in update_charge_status saic-mqtt-gateway | chrg_mgmt_data_rsp_msg = self.saic_api.get_charging_status_with_retry(self.vin_info) saic-mqtt-gateway | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ saic-mqtt-gateway | File "/usr/local/lib/python3.11/site-packages/saic_ismart_client/saic_api.py", line 566, in get_charging_status_with_retry saic-mqtt-gateway | return self.handle_retry(self.get_charging_status, vin_info) saic-mqtt-gateway | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ saic-mqtt-gateway | File "/usr/local/lib/python3.11/site-packages/saic_ismart_client/saic_api.py", line 457, in handle_retry saic-mqtt-gateway | return self.__handle_retry_with_app_data(func, vin_info=vin_info, max_retries=max_retries) saic-mqtt-gateway | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ saic-mqtt-gateway | File "/usr/local/lib/python3.11/site-packages/saic_ismart_client/saic_api.py", line 499, in __handle_retry_with_app_data saic-mqtt-gateway | raise SaicApiException(f'API request failed after {iteration} retries{additional_info}') saic-mqtt-gateway | saic_ismart_client.exceptions.SaicApiException: API request failed after 4 retries, error message: The remote control instruction failed, please try again later.- locked and limited conversation to collaborators
on Jun 2, 2025
Hi,
Can anyone assist what I would need to use for Australian servers? Previously I could use '--saic-uri=https://tap-au.soimt.com' and this has worked well, but since upgrading and saic-uri being removed, I am unable to login.
If I use default settings, I get:
return code: 1000036, message: The account is not registered.
Changing the --saic-region to AU and saic-rest-uri with eu replaced with au, does not work.