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

External temperature #21

Open
mikaelho opened this issue Oct 20, 2019 · 7 comments
Open

External temperature #21

mikaelho opened this issue Oct 20, 2019 · 7 comments

Comments

@mikaelho
Copy link

Winter is coming! A big thank you to everyone who helped fix this script - nothing like telling Siri to heat up the car on those freezing mornings.

But how freezing are they? The earlier API included external temperature, but I am not seeing an example of that in the latest version. Any pointers how I could get it?

@odelma
Copy link

odelma commented Nov 1, 2019

At least the getRemoteHeating returns the temperature:
{ "errorCode":"0", "timerCount":3, "remoteAuxiliaryHeating":{ "status":{ "active":true, "operationMode":"HEATING", "outdoorTemp":"2,5 °C", "remainingTime":22 }

I would also like to get fuel, remaining range, mileage, location etc. but I cannot see those anywhere. It would be nice to have this kind of status report which would contain all relevant information available via the API.

@mikaelho
Copy link
Author

mikaelho commented Nov 1, 2019

Thanks, that sounds like exactly the thing - but I do not see getRemoteHeating anywhere in the current code?

The range etc. data is available with the /-/emanager/get-emanager url, it is just not conveniently exposed by the current code. Will try to get around to submitting a PR.

@odelma
Copy link

odelma commented Nov 3, 2019

Sorry, forgot to mention that getRemoteHeating is on the development branch only at the moment: https://github.com/reneboer/python-carnet-client/blob/development/we_connect_client.py#L519

@mikaelho
Copy link
Author

@odelma, that link seems to not work any more. Any pointers for finding the code now? Thanks.

@odelma
Copy link

odelma commented Nov 15, 2019

@mikaelho
Copy link
Author

Much obliged, again.

I am doing something wrong, since all I get with getRemoteAccessHeating is /-/rah/get-status {"errorCode":"2","timerCount":3}.

I am unsure about the whole ”remote access” thing - does it require that I have something specific enabled that was not previously required?

@odelma
Copy link

odelma commented Nov 15, 2019

Hmm, I think you need to verify that eveyrhing works first in the VW WeConnect web portal https://www.portal.volkswagen-we.com/. Then just use the script as intended, .e.g.
we_connect_client.py -u 'username' -p 'password' -s 'spin' -c getRemoteHeating

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