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

Send complete Climatisation Settings in one Request. #209

Open
DeBaschdi opened this issue Mar 9, 2023 · 4 comments
Open

Send complete Climatisation Settings in one Request. #209

DeBaschdi opened this issue Mar 9, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@DeBaschdi
Copy link

Hi,
Currently, for individual _writetopic instructions for air conditioning, the complete body is transferred to the VW server, if my wife now makes settings for temperature / windows and seat heating ect on the wall tablet in quick succession, the MQTT queue request gets muddled, in the worst case nothing happens and the container needs to be restarted.

I think it would be more stable to be able to transmit a complete json structure of the desired values ​​"at the same time",

{'windowHeatingEnabled': True, 'zoneFrontLeftEnabled': True, 'zoneFrontRightEnabled': True, 'targetTemperature_K': 295.15, 'climatisationWithoutExternalPower': True, 'targetTemperature_C': 22, 'targetTemperature_F': 72, 'climatizationAtUnlock': False}

maybe also implementable with weconnect-cli, currently the _writetopic instructions do not run reliably after a longer runtime (see other issue)

@tillsteinbach tillsteinbach self-assigned this Mar 9, 2023
@tillsteinbach tillsteinbach added the enhancement New feature or request label Mar 9, 2023
@tillsteinbach
Copy link
Owner

Yea, I could think of a json mode where several values can be sent at the same time.
Currently I‘m very busy so this will take some time

@stefanroeck
Copy link
Contributor

stefanroeck commented Mar 26, 2023

I agree, I JSON based format would be preferrable. At the moment, to consume MQTT messages for the parkingPosition, multiple topics need to be consumed:

  • latitude
  • longitude
  • carCapturedTimestamp

A single JSON-based payload with all three values would greatly simplify further processing.

@tillsteinbach
Copy link
Owner

For consumption there is already an option --with-raw-json-topic that gives you everything in one json message.

@stefanroeck
Copy link
Contributor

Thanks, works like a charm ;-)

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

No branches or pull requests

3 participants