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

Climatisation not working #124

Open
klucon2 opened this issue Nov 28, 2023 · 15 comments
Open

Climatisation not working #124

klucon2 opened this issue Nov 28, 2023 · 15 comments

Comments

@klucon2
Copy link

klucon2 commented Nov 28, 2023

Hi Till,

great job in creating this. I am not an expert in coding, but I did manage to get it running thanks to your good instructions :-).

I started looking for this kind of code because I want to be able to trigger the auxiliary heating (Standheizung) from outside the app. Ideally I would like to be able to us an iOS shortcut action to trigger this, but for now I am happy if I get it up and running using my computer.

I have a Tiguan from 2019 (Model 2020).

When I want to start the climatisation I get the following error:

python3 weconnect-cli --username [email protected] --password ................ -s **** set /vehicles/WVGZZZ5NZLW......./controls/climatisation start
id /vehicles/WVGZZZ5NZLW....../controls/climatisation cannot be set: Could not control climatisation (Not Found - Upstream service responded with an unexpected status. If the problem persists, please contact our support. - Please retry in a moment)

Using the Volkswagen App I am able to start the auxiliary heating.

Is there anything you can do to make this work or am I doing something wrong?

Thank you in advance.

@tillsteinbach
Copy link
Owner

controls for auxiliary heating are in auxiliaryHeating and not climatisation

@tillsteinbach
Copy link
Owner

You can send start or a number representing minutes.

and you have to add the —spin for the auxiliary heating

@klucon2
Copy link
Author

klucon2 commented Nov 28, 2023

Hi Till,

so the correct command would be
"--username [email protected] --password ................ --spin #### set /vehicles/WVGZZZ5NZLW......./controls/auxiliaryHeating start" correct?

How does the minute argument work?

"--username [email protected] --password ................ --spin #### set /vehicles/WVGZZZ5NZLW......./controls/auxiliaryHeating 10" -> does that mean the heating will go on for 10 minutes and then turn off?

Thank you for your support :-)

@klucon2
Copy link
Author

klucon2 commented Nov 28, 2023

I just tried: "[...] set /vehicles/WVGZZZ5NZLW3...../controls/auxiliaryHeating start"
and got the response: id /vehicles/WVGZZZ5NZLW3...../controls/auxiliaryHeating not found

@klucon2
Copy link
Author

klucon2 commented Nov 28, 2023

also tried "[...]/auxiliaryheating start" but get the same response

@tillsteinbach
Copy link
Owner

Try to use the list -s command to see what is available.

@klucon2
Copy link
Author

klucon2 commented Nov 29, 2023

Hi Till,

it shows me this list:

/vehicles/WVGZZZ5NZLW....../controls/access
/vehicles/WVGZZZ5NZLW....../controls/climatisation
/vehicles/WVGZZZ5NZLW....../controls/honkAndFlash
/vehicles/WVGZZZ5NZLW....../controls/wakeup
/controls/spin

@klucon2
Copy link
Author

klucon2 commented Dec 5, 2023

Hi Till,

any alternative suggestions I could try?

BR

@tillsteinbach
Copy link
Owner

I have a suspicion. Can you have a look if the controls appear after you configured a timer for the auxiliary heating?

@klucon2
Copy link
Author

klucon2 commented Dec 5, 2023

Hi Till,

sorry for maybe a stupid question: Do you mean with timer the departure time or how long the heater is supposed to run?
Should I set the timer in the car or using the Volkswagen App?
Or using your utility? If so, how would I do that?

And what to you mean with "if the controls appear"? Where are they supposed to appear?
Does that referred to the "list -s" command?
Sorry 🙈

@tillsteinbach
Copy link
Owner

No reason to be sorry, my message was cryptic!
I meant setting a departure timer in the car. It should be enough to have an entry, it does normale to be enabled.
Afterwards there is a chance that a new entry for auxiliary heating might appear in the controls section. The reason is: I only add the controls when I believe the car has auxiliary heating. And I detect that by looking for the Timer Section.
If that still does not help I will need to do some changes in the code.

@klucon2
Copy link
Author

klucon2 commented Dec 6, 2023

Hi Till,

thank you for the explanation.
So I set a timer using the volkswagen app for tomorrow morning.
then I did the "list -s" command again and got the following response:

2023-12-06T21:01:30+0100:ERROR:/vehicles/WVGZZZ5NZLW......./domains/vehicleHealthWarnings/warningLights/warningLights/0xA227: warning light icon is not a base64 encoded png
/vehicles/WVGZZZ5NZLW......./controls/access
/vehicles/WVGZZZ5NZLW....../controls/climatisation
/vehicles/WVGZZZ5NZLW....../controls/honkAndFlash
/vehicles/WVGZZZ5NZLW......s/wakeup
/controls/spin

I don't think the warning light has anything to do with it - at least I hope so^^

@tillsteinbach
Copy link
Owner

Hmmm, ok then I need to rethink my implementation.

@stejoo
Copy link

stejoo commented Jan 4, 2024

@klucon2 Perhaps it would be better to not post your full VIN?

@tillsteinbach: I just came across this program and decided to try it. Thanks for putting this out there! ❤️

With regards to this issue. I was under the impression turning on climatisation didn't work for me either. I had this issue open in a browser tab because of it. But it turns out I was simply looking at cached results. So I would like to add a positive experience: Climatisation works for me. Car is a ID.3 Business with the ID.Software 2.4 on it.

Command I issued, same as in the opening post:

weconnect-cli set /vehicles/$VIN/controls/climatisation start

So your current implementation does work for some.

@klucon2
Copy link
Author

klucon2 commented Jan 23, 2024

Hi Both,

@stejoo thank you.

@tillsteinbach apparently there are differences depending on the models. Do you think you can look into where the difference lies?

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

3 participants