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

Setting passenger temperature results in lowest setting. #74

Closed
johnypony3 opened this issue Apr 23, 2022 · 2 comments
Closed

Setting passenger temperature results in lowest setting. #74

johnypony3 opened this issue Apr 23, 2022 · 2 comments

Comments

@johnypony3
Copy link

johnypony3 commented Apr 23, 2022

I'd like to thank you for this body of work. Very well crafted!

Setting the drivers temperature works as expected. Newest version 2.5.0

{"name":"change_climate_temperature_setting","data":{"driver_temp":20.555555555555554},"result":true}

{"name":"change_climate_temperature_setting","data":{"passenger_temp":20.555555555555554},"result":true}

image

@tdorssers
Copy link
Owner

You need to pass both driver_temp and passenger_temp. Also both values should be equal.

cli.py -e elon@tesla.com -c CHANGE_CLIMATE_TEMPERATURE_SETTING -k driver_temp=20 -k passenger_temp=20

@johnypony3
Copy link
Author

johnypony3 commented Apr 23, 2022

that definitely worked, any insight into why they have to be equal?

edit:
I tried with two temps and it seemed to work:

[{
'name': 'change_climate_temperature_setting', 
'data': {'driver_temp': 20.555555555555554, 'passenger_temp': 22}, 
'result': True
}]

edit 2:
confirmed that both temperatures are reflected in the vehicle.

thanks for the quick assist!

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