Skip to main content

No project description provided

Project description

Run tests and release PyPI Version

PyHTCC

An (unofficial) library for interfacing with a Honeywell Total Connect Comfort (TCC) thermostat system. It includes both a simple CLI and an API.

Installation

pip install pyhtcc

Simple API Example

from pyhtcc import PyHTCC
p = PyHTCC(<TCC username>, <TCC password>)
zone = p.get_zone_by_name('<zone name>')

# set cooling on, and a setpoint of 75 degrees
zone.set_permanent_cool_setpoint(75)

See https://csm10495.github.io/pyhtcc/ for full API documentation.

CLI Syntax

usage: pyhtcc [-h] [-u USER] [-p PASSWORD] [-n NAME] [-s] [-d] [-l]
              [-H HEAT | -C COOL]

A CLI to perform actions on a Honeywell Total Comfort Connect thermostat
system

options:
  -h, --help            show this help message and exit
  -u USER, --user USER  Username to login to TCC. If not given uses the
                        environment variable PYHTCC_EMAIL
  -p PASSWORD, --password PASSWORD
                        Password to login to TCC. If not given uses the
                        environment variable PYHTCC_PASS. If neither are
                        given, will prompt for user input.
  -n NAME, --name NAME  Thermostat name to target. If not given, targets all
                        zones
  -s, --show-info       If given, will show info and quit.
  -d, --debug           If given, will log to stdout
  -l, --logout          if given, will logout from TCC after performing
                        actions.
  -H HEAT, --heat HEAT  Set a target heat temperature
  -C COOL, --cool COOL  Set a target cooling temperature

License

MIT License

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

pyhtcc-0.1.57.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

pyhtcc-0.1.57-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file pyhtcc-0.1.57.tar.gz.

File metadata

  • Download URL: pyhtcc-0.1.57.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyhtcc-0.1.57.tar.gz
Algorithm Hash digest
SHA256 5f146595f3a0fa4bc8fd94e581ae6174a8e8224e7382dcf464e6182183b7129c
MD5 977fa175603f2e73852999902453a9eb
BLAKE2b-256 18ead99d87138429035faae1387d2a143da8615f074003237f5006bba2ef906d

See more details on using hashes here.

File details

Details for the file pyhtcc-0.1.57-py3-none-any.whl.

File metadata

  • Download URL: pyhtcc-0.1.57-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyhtcc-0.1.57-py3-none-any.whl
Algorithm Hash digest
SHA256 d4dc3b1cff31e738e87dd4dd110e9afc6cb48581f903b358ecd9e2299317ecdc
MD5 46c91271d8ec3ac4eedd1d6063557a79
BLAKE2b-256 e4e546766a703b0acac51fdf8e55a40bac0713d37995d2ec4b179b0d8a5c6302

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