Skip to main content

No project description provided

Project description

pyaprilaire

pyaprilaire is a library to interact with Aprilaire thermostats.

Compatibility

aprilaire-ha is generally compatible with Aprilaire Home Automation 8800-series and Zone Control 6000-series thermostats. However, due to the number of physical models, it has not been tested on all models.

Prerequisites

In order to connect to the thermostat, you will need to enable automation mode. This involves going into the Contractor Menu on your thermostat and changing the Connection Type to Automation. Please look up the instructions for your model, as this can vary between models.

Development

Mock server

During development, it is necessary to connect to a thermostat, but this can be problematic as a thermostat only allows a single connection at a time. There is a mock server that can be run to expose a local server for development that emulates a thermostat.

python -m pyaprilaire.mock_server

The port can be specified with -p PORT_NUMBER. The default port is 7001.

Caution regarding device limitations

Due to limitations of the thermostats, only one home automation connection to a device is permitted at one time (the Aprilaire app is not included in this limitation as it uses a separate protocol). Attempting to connecting multiple times to the same thermostat simultaneously can cause various issues, including the thermostat becoming unresponsive and shutting down. If this does occur, power cycling the thermostat should restore functionality.

The socket that is exposed by the thermostat can be unreliable in general. In some cases, it can silently drop the connection or otherwise stop responding. The integration handles this by quietly disconnecting and reconnecting every hour, which generally improves stability. In some cases, however, there may be periods where the change of state (COS) packets aren't received, potentially causing stale data to be shown until the connection is reset. If this happens to you frequently and you are able to capture the packets at the time via Wireshark showing the state of the socket, this data would be valuable to share.

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

pyaprilaire-0.6.0b0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

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

pyaprilaire-0.6.0b0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file pyaprilaire-0.6.0b0.tar.gz.

File metadata

  • Download URL: pyaprilaire-0.6.0b0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyaprilaire-0.6.0b0.tar.gz
Algorithm Hash digest
SHA256 8f5d9e04c591310c85a23d3d999cc2efbb81eaef6742bd5358b7df5cec42efb8
MD5 e9a81338450ea8581cedc3de7e001bc0
BLAKE2b-256 f16664b9b137c98fc120d727789083d4b8818f9906e7a8915818397084f76f84

See more details on using hashes here.

File details

Details for the file pyaprilaire-0.6.0b0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pyaprilaire-0.6.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee205003bff5b69ec24e6dcb196e350c287ffb2daa87568b0c9f5cc2ad29fde2
MD5 d7aef4be1253d822631719b92480a27f
BLAKE2b-256 991c3ba6bf1006d7fc56b5710daa6c0a046cc240dda643392cd7a1a9651f627c

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