Skip to content
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

Error 500 input string #50

Open
askovi opened this issue Jan 24, 2022 · 2 comments
Open

Error 500 input string #50

askovi opened this issue Jan 24, 2022 · 2 comments

Comments

@askovi
Copy link

askovi commented Jan 24, 2022

Getting this error on remote start with default profile (created through interactive mode) for a Canadian account. I'm using the CLI, not HA. Any ideas? I assume the AUTO is coming from the custom preset data

subarulink.connection - ERROR - ('{"httpCode":500,"errorCode":"error","errorMessage":"java.lang.NumberFormatException ' '- For input string: \\"AUTO\\""}') 2022-01-24 17:12:17,663 - subarulink - ERROR - SubaruException caught: HTTP 500: <ClientResponse(https://mobileapi.ca.prod.subarucs.com/g2v21/service/g2/engineStart/execute.json) [500 ]>

@askovi
Copy link
Author

askovi commented Jan 24, 2022

To add to this, it only happens with the custom preset i created. It works fine if I select for eg. Full Heat preset

This is the custom preset data:

{'airConditionOn': 'true', 'climateZoneFrontAirMode': 'AUTO', 'climateZoneFrontAirVolume': 'AUTO', 'climateZoneFrontTempCelsius': '20', 'heatedRearWindowActive': 'true', 'heatedSeatFrontLeft': 'HIGH_HEAT', 'heatedSeatFrontRight': 'HIGH_HEAT', 'name': 'ovi', 'outerAirCirculation': 'recirculation', 'runTimeMinutes': '10'}

@G-Two
Copy link
Owner

G-Two commented Jan 29, 2022

@askovi I was able to replicate the issue on my end with a 2019 Crosstrek PHEV. I suspect it has something to do with some vehicles not supporting the 'AUTO' options in the presets. If I set climateZoneFrontAirVolume = AUTO, I receive the same error you observed above. If I set climateZoneFrontAirMode = AUTO, the command processes, but fails when it reaches the vehicle with a NegativeAcknowledge:inVehicleTimeout. If I change both options to something other than AUTO, the command succeeds. I noticed in the official MySubaru app, I do not have any "AUTO" options available when creating a custom preset. The CLI in this package allows the user to select options that the vehicle does not necessarily support, usually resulting in an error. To avoid this, you can configure your presets in the official app or website. They will be made available to you in the CLI automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants