Skip to main content

PyPI - lennoxs30api

pip install lennoxs30api

API Wrapper for www.lennoxicomfort.com

By Pete Rager

This asyncio module connects to the Lennox Cloud API to retrieve data from S30 / E30 thermostats. This API does not work for older models that use a different API. Those models are supported by this project: https://github.com/thevoltagesource/myicomfort

Prerequistes:

  1. Python version 3.8.6 or later

  2. A Lennox sign-on (email address and password)

  3. You may need to install aiohttp https://docs.aiohttp.org/en/stable/

Sample program Instructions:

  1. Grab the repo

  2. Edit the test_async.py program to supply the following

    LOG_PATH = '/home/pete/lennoxs30api' # Directoy to stash the log file in

    EMAIL_ADDRESS = 'myemail@myemail.com'

    PASSWORD = 'mypassword'

Command Line Program Instructions:

The command line program uses asyncio and runs 3 different tasks

  • Task 1 (runner) - this task connects to the cloud API and periodically polls it at a 10 second interval

  • Task 2 (poller) - this task runs on a 15 second interval and prints out information from all active Zones

  • Task 3 (prompt) - this task reads from the command line and executes commands on behalf of the user to enabling API testing. Cmd List

      cool, heat, off - sets the HVAC mode to cool, heat or off.  usage - just type the word followed by enter eg cool
    
      auto, on, circulate - sets the Fan mocde to auto, on, or ciruclate
    
      csp <TempF> - sets the cool setpoint in F.  example  csp 76
    
      hsp <TempF> - sets the heat setpoint in F.  example hsp 65
    

To exit the program hit crtl-c

Reporting Bugs

Please enabled debug logging when reporting bugs and provide sample code. Do not publicly post the debug logs as they contain Personally Identifiable Information that is part of the communication protocol. Your password IS NOT in the logs, but other information such as email, home address, etc., that is part of the lennox communications is.

Enhancements

Submit enhancement requests as issues or better yet send a pull request.

Development

This repository includes a basic pre-commit setup with file checks and Ruff.

Install development dependencies:

pip install -r requirements-dev.txt

Install and enable hooks:

Run this once per local clone (hooks live in .git/hooks and are not committed):

pre-commit install

Run hooks manually across all files:

pre-commit run --all-files

Run Ruff directly:

ruff check .
ruff format .

Release files for lennoxs30api 0.2.24

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

Source distribution (sdist)

Source distribution for lennoxs30api 0.2.24
File Size Uploaded
lennoxs30api-0.2.24.tar.gz 350.0 kB Details

Built distribution (wheel)

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

Total release size: 399.2 kB

Release files / lennoxs30api-0.2.24.tar.gz

Download URL lennoxs30api-0.2.24.tar.gz
Size 350.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fe6b757301bbb4412200f2e2e66173d5ba4ba48571b9b8dd9f89b820b18ac917
BLAKE2b-256 checksum
How to use checksums
a040419fd1275b4ba3edcfb6ad02b9ca845bb10e624e1eaaefc8ca435ed40089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / lennoxs30api-0.2.24-py3-none-any.whl

Download URL lennoxs30api-0.2.24-py3-none-any.whl
Size 49.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47947cc9de77fc7a5443ecdd88c5ba9f6159fb18db18f7065c6d2fcdde6a4d8b
BLAKE2b-256 checksum
How to use checksums
971b785cbc49281da08d4905b8b0f91823c0f3f6c733f757dab75e6e9f147d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.2.24 This release

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.13

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

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.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

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