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

outside temp #121

Open
jotka opened this issue Aug 6, 2021 · 1 comment
Open

outside temp #121

jotka opened this issue Aug 6, 2021 · 1 comment

Comments

@jotka
Copy link

jotka commented Aug 6, 2021

hi, thanks a lot for great exporter. Is there an option to get the outside temperature? It's reported in the TADO api.

@fgrosswig
Copy link

yes this API is available. That interesting thing would be to allow the historical data to see the dependant heatingpower to the system. Here is what i can extract out of the api from the web. So maybe its an option to squeeze the weather code into the client :D but i havent gone through the source yet.

https://my.tado.com/api/v2/homes/1234567/weather

{
  "solarIntensity": {
    "type": "PERCENTAGE",
    "percentage": 0,
    "timestamp": "2022-01-09T11:43:48.386Z"
  },
  "outsideTemperature": {
    "celsius": 5.09,
    "fahrenheit": 41.16,
    "timestamp": "2022-01-09T11:43:48.386Z",
    "type": "TEMPERATURE",
    "precision": {
      "celsius": 0.01,
      "fahrenheit": 0.01
    }
  },
  "weatherState": {
    "type": "WEATHER_STATE",
    "value": "CLOUDY",
    "timestamp": "2022-01-09T11:43:48.386Z"
  }
}

but alos i would add the airComfort as well 👍 if i could to the open window intervall??? (openwindow history based)

{"freshness":{"value":"FRESH","lastOpenWindow":"2022-01-09T09:09:11Z"},
"comfort":[{"roomId":1,"temperatureLevel":"COMFY","humidityLevel":"COMFY","coordinate":{"radial":0.22,"angular":247}},{"roomId":3,"temperatureLevel":"COMFY","humidityLevel":"COMFY","coordinate":{"radial":0.44,"angular":268}},{"roomId":7,"temperatureLevel":"COMFY","humidityLevel":"COMFY","coordinate":{"radial":0.44,"angular":268}},{"roomId":8,"temperatureLevel":"COLD","humidityLevel":"HUMID","coordinate":{"radial":0.92,"angular":297}},{"roomId":11,"temperatureLevel":"COLD","humidityLevel":"COMFY","coordinate":{"radial":1.00,"angular":260}},{"roomId":13,"temperatureLevel":"COLD","humidityLevel":"COMFY","coordinate":{"radial":1.00,"angular":290}},
{"roomId":15},
{"roomId":16,"temperatureLevel":"COLD","humidityLevel":"COMFY","coordinate":{"radial":1.00,"angular":275}},{"roomId":17,"temperatureLevel":"COMFY","humidityLevel":"COMFY","coordinate":{"radial":0.32,"angular":260}},{"roomId":18,"temperatureLevel":"COMFY","humidityLevel":"COMFY","coordinate":{"radial":0.39,"angular":267}},{"roomId":20,"temperatureLevel":"COLD","humidityLevel":"COMFY","coordinate":{"radial":1.00,"angular":258}}]}

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