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

[Feature]: Support flow temperature optimization #143

Open
3 tasks done
jvandijk opened this issue Jan 3, 2025 · 0 comments
Open
3 tasks done

[Feature]: Support flow temperature optimization #143

jvandijk opened this issue Jan 3, 2025 · 0 comments

Comments

@jvandijk
Copy link

jvandijk commented Jan 3, 2025

Describe the Feature

Recently Tado extended their feature set by providing flow temperature optimization on OpenTherm based implementations.
Via this feature people will be able to further optimize there energy usage.


Why Is This Feature Useful?

Next to controlling the temperature for efficient energy usage, this addition allows for even more fine grained control.


Proposed Solution

:method: PUT
:scheme: https
:path: /api/v2/homes/<id>/flowTemperatureOptimization?ngsw-bypass=true
:authority: my.tado.com
content-type: application/json
accept: application/json, text/plain, */*
authorization: Bearer <token>
sec-fetch-site: same-site
accept-language: nl-NL,nl;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-mode: cors
origin: https://app.tado.com
referer: https://app.tado.com/
content-length: 25

{"maxFlowTemperature":50}

Above put request should return a HTTP 204 for a successful change request.

:status: 200
date: Fri, 03 Jan 2025 14:37:29 GMT
content-type: application/json;charset=UTF-8
vary: origin,access-control-request-method,access-control-request-headers,accept-encoding
access-control-allow-origin: https://app.tado.com
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
content-security-policy: frame-ancestors 'none'
x-frame-options: DENY
content-encoding: gzip

{
  "hasMultipleBoilerControlDevices":false,
  "maxFlowTemperature":50,
  "maxFlowTemperatureConstraints":{
    "min":30,
    "max":80
  },
  "autoAdaptation":{
    "enabled":false,
    "maxFlowTemperature":null
  },
  "openThermDeviceSerialNumber":"<id>"
}

Above GET response is the returning content on the same API as the earlier PUT example

The examples provided here are an introspection of the latest communication between the client app and server.


Alternatives Considered

None


Additional Context

E2DFA2DE-C780-40BD-ABBD-9F1E772ABF1C
7345E46E-3352-4631-8B50-9EE3633630B4


Checklist

  • I have searched the existing issues and discussions to ensure this is not a duplicate.
  • I have provided a clear and concise description of my feature request.
  • I have included any relevant examples or details to support my proposal.

Thank you for helping to improve PyTado! 🚀

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

No branches or pull requests

1 participant