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

API v2 endpoint for creating mobile devices #2

Open
itavero opened this issue Jan 3, 2020 · 0 comments
Open

API v2 endpoint for creating mobile devices #2

itavero opened this issue Jan 3, 2020 · 0 comments

Comments

@itavero
Copy link

itavero commented Jan 3, 2020

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
        }
    }
}
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

1 participant