Gateway settings for Australia
callifo opened this issue · comments
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.
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/
@bullantmm I'm also running 0.4.6 with https://tap-au.soimt.com as the saic-uri
Solution is to stay on the 0.4.6 release. Help is more than welcome to back port fixes from the current version
@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.
@callifo @bullantmm off topic question... Can you confirm that you see negative values for the latitude in the API responses?
@nanomad yes position sensor returns negative for latitude (obviously still on 0.4.6 release).
NZer here with a MG4 - I can see from DNS logs my phone is looking up these:
gateway-au.soimt.com
tap-au.soimt.com
The iSmart app reports version 1.0.4 under "My Profile" -> "About"
@nanomad can you say a little more about the work required to make 5.x work for AU/NZ? I'm interested in giving it a go.
@hamishfagg I'd start by refactoring the existing https://github.com/SAIC-iSmart-API/saic-python-client
To expose an API surface similar to the new one https://github.com/SAIC-iSmart-API/saic-python-client-ng
@hamishfagg have you had a try at this yet? Keen to see how you go - I’d love to be able to update to latest version when new releases come out rather than being stuck on 4.6
@pmannk let's keep this to track the backporting to the legacy version
@bullantmm i havent sorry. As usual life has got in the way of me starting something new :P