martijn02 / tado-connect Goto Github PK
View Code? Open in Web Editor NEWA tool to check whether users are connected to a UniFi Wifi AP, and then marks them as "at home" or "away" on a tado thermostat
License: MIT License
A tool to check whether users are connected to a UniFi Wifi AP, and then marks them as "at home" or "away" on a tado thermostat
License: MIT License
FYI: I figured out the endpoint that you can use in API v2 to create a mobile device:
POST https://my.tado.com/api/v2/homes/{{home_id}}/mobileDevices?username={{username}}&password={{password}}
Raw body (application/json
):
{
"name": "SomeName",
"metadata": {
"device": {
"platform": "Android",
"osVersion": "13.3.7",
"model": "FakePhone1,1",
"locale": "en"
},
"tadoApp": {
"version": "0.1 (0001)"
}
},
"settings": {
"geoTrackingEnabled": false,
"onDemandLogRetrievalEnabled": false,
"pushNotifications": {
"lowBatteryReminder": false,
"awayModeReminder": false,
"homeModeReminder": false,
"openWindowReminder": false,
"energySavingsReportReminder": false
}
}
}
Hello
I'm unable to create a virtual tado device using the command in the README.
I get the following error
{"errors":[{"code":"unauthorized","title":"Invalid referrer"}]}
The command for getting my homeid does work, so wrong username and password is not the issue...
Does this mean the api v1.9 doesn't work anymore or is this only me?
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.