Skip to main content

Python package for interacting with Trane thermostats locally.

Project description

Lantrane

A python library for interacting with Trane thermostats over the local network

Usage Example

Your thermostat for communicating, variable speed heat pump systems might have a port open that emits data every time the compressor speed changes if you can find the right port via nmap and telnet (usually port 30,000 or so), this example will listen on that port and give you data. The port may change when the device is updated though.

from lantrane import Trane
import asyncio

trane = Trane(args.ip, args.port)

def read(data):
	print(data)

trane.on_data(read)
	
asyncio.run(trane.listen())

Distribution

python3 setup.py bdist_wheel
python3 setup.py sdist
twine check dist/*
twine upload dist/*

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

lantrane-0.0.5.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

lantrane-0.0.5-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file lantrane-0.0.5.tar.gz.

File metadata

  • Download URL: lantrane-0.0.5.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for lantrane-0.0.5.tar.gz
Algorithm Hash digest
SHA256 703948b6f237d9f4ee97429d89879565bf61aa14055ec6c138d5992edc003ab6
MD5 b9aacd7e1f83560a860aa510a925d63a
BLAKE2b-256 9344b637e0554a34ec494aaa79e74d3be2366bd6cbe2c40bb77aca63d54dc0b3

See more details on using hashes here.

File details

Details for the file lantrane-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: lantrane-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for lantrane-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e3525c8454eae16d0ea65f74c75c321554c00d71e59cdd8c4034d39c6a9eb2e2
MD5 66263ddf2446469cdd718abbaaf3267d
BLAKE2b-256 b667a3d788a30bce9085876823aa0eca9b6eb1678dec3af65cc57a6f2e7f86ce

See more details on using hashes here.

Supported by

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