Skip to main content

Tool for logging stats from the Honeywell international.mytotalconnectcomfort.com site

Project description

Honeywell IMTCC Poller

Tool for polling heating data from Honeywell International My Total Connect Comfort, combining it with the outside temperature from the OpenWeather API and presenting them as Prometheus metrics.

Installation

This is not yet packaged. To run, you will need to clone the repo with git and install the required prerequisites:

You can then run poetry install to install the required python libraries.

Usage

Create environment variables containing your Honeywell login credetials:

$ export HONEYWELL_EMAIL_ADDRESS="foo@example.com"
$ export HONEYWELL_PASSWORD="ThisIsNotARealPassword"

Create environment variables containing your OpenWeather API key and co-ordinates for where you want the outside temperature to reflect:

$ export OPENWEATHER_API_KEY="foo-openweather-api-key"
$ export OPENWEATHER_LATITUDE="51.476852"
$ export OPENWEATHER_LONGITUDE="0.0005"

You can then run the tool via poetry:

$ poetry run poll-honeywell
Kitchen: 20.0
Harrys Room: 20.5
Lounge: 19.5
Main Bedroom: 19.5
Hot Water: 48.0
Outside: 16.36

The tool will authenticate with the Honeywell API using the login credentials supplied. It will make the calls every 60 seconds in order to get location and zone data.

The Prometheus metrics are made available for scraping on https://localhost:8000 while the tool is running.

Limitations

  • Assumes you have zero or one hot water systems
  • Limited error handling

Developing

Running tests:

$ make test

License

This project is licensed under the terms of the 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

honeywell-imtcc-poller-0.5.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

honeywell_imtcc_poller-0.5.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

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