Before posting I tried searching but came up empty handed, so sorry if I missed anything.
Did anyone happen to integrate the MySubaru app with HE? Reason I am looking to do this is to use Alexa to start the car when getting the kids together before leaving. Also I would like to try and set a schedule to automatically lock the doors every night just in case I forget to lock them.
If that works, it certainly seems simple enough... Maybe I'd consider having a go, but certainly someone with a car that can accept these commands would be better placed to do the development
Apparently models have different names in the United States and the Great Southern Land. I had no idea what a Liberty or Levorg was, though I'm on my third Subaru.
From memory Legacy replaced Liberty back in he day, now I think Leborg replaces both. Bot not sure what the current model name is.... Not looking for another petrol engine vehicle....
After talking about Leborg and Liberty, I got lost. lol.
If this can be done, that would be great but I can see the work and challenge it may bring so I understand if it does not. Doesnt hurt to ask though and appreciate it.
The code seems simple enough to port over, it would certainly be possible. Do you have the login details to be able to access the API, the username, password and pin (I'm not asking you to post them, just whether you have them or not).
I have the login info but the API I didnt see on the app/website itself. I did some additional searching and located this but not sure if this is helpful. This looks like it is only for remote start and no lock/unlock.
Thanks. The python is easier to read, but having some issues getting some of the basics to work. Might need to call it a night / morning and look at it some more over the weekend.
That said, it does seem to have an additional step in the login, so it may come in handy.
I'd be interested to see if anyone can get the login process to work with this early version of a driver (logging in is literally all I have attempted to develop at this stage):
If you know how to install drivers code manually, add this driver and create a virtual device.
On the device edit page that is displayed, select the "platform", i.e. US or Canada. Set your username, password and PIN. Turn on Debug Logging. Click Save Preferences.
Keep the device page open and open a separate tab / window with the logs page for HE. On the device page click the "Refresh" command at the top. Keep an eye on the logs and you should eventually see something like this, but hopefully with a better outcome: login: [success:false, errorCode:invalidAccount, dataName:null, data:null]
Hmmm... that's a shame, but thanks for trying and letting me know. Was a bit of a long shot.
I can keep looking at it, but will probably be a couple of weeks before I do. If anyone's handy with Postman or something similar to capture the web traffic when using a browser, I'd be interested to know the calls that are being made when logging into the Subaru page.