Skip to main content

Schluter API Python wrapper

An async Python wrapper for the Schluter-DITRA-E-WIFI Wi-Fi Themostat

User

Create a user for your thermostats at https://ditra-heat-e-wifi.schluter.com/

Install

Install the most recent version of the library from Python Package Index

pip install aioschluter

Basic Example

import asyncio
import logging

from aiohttp import ClientError, ClientSession

from aioschluter import (
    ApiError,
    InvalidUserPasswordError,
    InvalidSessionIdError,
    SchluterApi,
)

## specify the username and password that you have on the Schluter DITRA-HEATER-E-WIFI
## site at https://ditra-heat-e-wifi.schluter.com/
SCHLUTER_USERNAME = "XXXX"
SCHLUTER_PASSWORD = "XXXX"

logging.basicConfig(level=logging.DEBUG)


async def main():
    async with ClientSession() as websession:
        try:
            schluter = SchluterApi(websession)

            sessionid = await schluter.async_get_sessionid(
                SCHLUTER_USERNAME, SCHLUTER_PASSWORD
            )
            thermostats = await schluter.async_get_current_thermostats(sessionid)
        except (
            ApiError,
            ClientError,
            InvalidUserPasswordError,
            InvalidSessionIdError,
        ) as error:
            print(f"Error: {error}")
        else:
            for thermostat in thermostats.values():
                print(thermostat)


loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.close()

Release files for aioschluter 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioschluter 0.1.9
File Size Uploaded
aioschluter-0.1.9.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioschluter 0.1.9
File Interpreter ABI Platform
aioschluter-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / aioschluter-0.1.9.tar.gz

Download URL aioschluter-0.1.9.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e9fbfe3d46223fd163c3ea24cb9a688bb078ca5255114f98b7cdde559bd56539
BLAKE2b-256 checksum
How to use checksums
90fbccc25de2e4d2a519e8bc533f780ee5f18b56d1ca1cddcea8b3650efbf1ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / aioschluter-0.1.9-py3-none-any.whl

Download URL aioschluter-0.1.9-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3cc344bf52695209956979fa8d3035e5204396bcf5fb4fe59b5d6215c5ff842
BLAKE2b-256 checksum
How to use checksums
de1f701039881321a4eec6b50cf5d5d325bb018991534d50dcc5eea22bdaeffa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page