chrism0dwk / pytado Goto Github PK
View Code? Open in Web Editor NEWPython binding for Tado web API. Pythonize your central heating!
License: GNU General Public License v3.0
Python binding for Tado web API. Pythonize your central heating!
License: GNU General Public License v3.0
tado is discontinuing the old OAuth2 endpoints at my.tado.com
. Starting March 2019, authentication will require retrieving access and refresh tokens from auth.tado.com
. The client public-api-preview
can be used as is (with the same client secret) on the new endpoint.
The new authentication will also be a standard OAuth2 system, but will use JWT as a format for refresh tokens. So be aware that this will increase the size of the refresh tokens.
Additionally, the new endpoints implement refresh token rotation. A new refresh token is issued with every access token refresh response. The previous refresh token is invalidated.
Thanks for the awesome work, Chris!
Since a few days (?), Tado supports manually putting the house in Away or Home mode. Supporting that would really help out a lot of users that are currently using hacks, for example to pre-heat their home when they leave work (before this crisis happened of course).
I'll get started on a PR, but I rarely do stuff in Python so it might take a while.
I don't know if the issue I'm experiencing is with the PyTado code or has some other cause.
I just the PyTado code as a link between Tado and Domoticz, since today I have not been able to use the setZoneOverlay function without getting an http 422 error. As far as I can tell the code I use is the same as is on this github. I did add some extra code, but that is only because I don't know how to properly include this PyTado as a library. But up till today the code was working fine, setting and resetting zone overlays based on motion detection retrieved from Domoticz via the JSON api.
I am not at all experienced with this kinds of code, any help/suggestions for things I can try/do are greatly appreciated. Or if I should copy/paste more information such as specific error messages/code please let me know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.