Skip to main content

Library for accessing T-Smart thermostats

Project description

Python library for T-Smart smart thermostats

This library provides access to T-Smart smart thermostats.

from tsmart import TSmart
import asyncio

async def find_devices():
    devices = await TSmart.async_discover()
    print("Found %d devices" % len(devices))
    for device in devices:
        await device.async_get_status()
        print("Thermostat: %s" % device.name)
        print("Temperature: %.1f°C" % device.temperature)

asyncio.run(find_devices())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsmart-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsmart-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file tsmart-0.1.0.tar.gz.

File metadata

  • Download URL: tsmart-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for tsmart-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73aabbadf47969d2b51a39a19ace91a9877b0a88b59367ea39f9e24ecf5ea9c4
MD5 4ca5fa51a024194ce3830f621a9483e9
BLAKE2b-256 6daee477432096a7394c2afea7401a035afdd5b4ba20c91547cde68257fa2ff5

See more details on using hashes here.

File details

Details for the file tsmart-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tsmart-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for tsmart-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47feccfc1265b94ea8d64c1783479211fa2c780cb02c955c1c5fc9117bd62d74
MD5 8342581b58c79c9337a6f7ea76a908b0
BLAKE2b-256 44e4bf9f9140f741ee3da24d3f54375a392686e95d97433ecea3987dd6f796cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page