Skip to main content

Python interface for waterfurnace geothermal systems

Project description

waterfurnace

python package status build status Python versions

Python interface for WaterFurnace and GeoStar geothermal systems.

This provides basic sensor readings for WaterFurnace geothermal systems by using the websocket interface that exists for the Symphony website. This is not a documented or stable interface, so don't use this for critical systems. However, it is useful to record historical usage of your WaterFurnace system.

Installation

pip install waterfurnace

Quick Start

   from waterfurnace.waterfurnace import WaterFurnace
   wf = WaterFurnace(user, pass)
   wf.login()
   data = wf.read()

The waterfurnace symphony service websocket monitors it's usage, so you need to do a data reading at least every 30 seconds otherwise the websocket is closed on the server side for resource constraints. The symphony website does a poll on the websocket every 5 seconds.

The software now supports a CLI. For details, use waterfurnace --help

CLI Usage

# Basic usage
waterfurnace -u user@example.com -p password

# Continuous monitoring (reads every 15 seconds)
waterfurnace -u user@example.com -p password --continuous

# Get energy data
waterfurnace -u user@example.com -p password --energy \
  --start 2024-01-01 --end 2024-01-31 --freq 1H

# Use environment variable for password
export WF_PASSWORD=your_password
waterfurnace -u user@example.com

# GeoStar systems
waterfurnace -u user@example.com -p password --vendor geostar

Development

Setting Up Development Environment

# Clone the repository
git clone https://github.com/sdague/waterfurnace.git
cd waterfurnace

# Install in development mode with all dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run tests with coverage
pytest --cov=waterfurnace --cov-report=term-missing

# Format code
black waterfurnace tests

# Run all tests across Python versions
tox

Building and Publishing

# Build package
python -m build

# Check package
twine check dist/*

Known Issues / Limitations

  • The python websocket code goes into a blocked state after long periods of usage (always takes at least days if not weeks or months to get to this state). I've yet to discover why. Help welcome.

License

  • Free software: Apache Software License 2.0

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

waterfurnace-1.7.1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

waterfurnace-1.7.1-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file waterfurnace-1.7.1.tar.gz.

File metadata

  • Download URL: waterfurnace-1.7.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for waterfurnace-1.7.1.tar.gz
Algorithm Hash digest
SHA256 c5e69becfb126cd31d632b4e6f7f347cb457f4faee3456c838fa9a65682789cc
MD5 426859b6bfd81c2b0d3c940c09bc4694
BLAKE2b-256 9b565f49c6e4c22577a0c6fd8251f3b62a68ad02ce74e34d7a2cf220e604cfdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for waterfurnace-1.7.1.tar.gz:

Publisher: release.yml on sdague/waterfurnace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file waterfurnace-1.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: waterfurnace-1.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for waterfurnace-1.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 523812d291d75a335ef72381a4a5a45641c69afeeb87817fed8122c308969ec6
MD5 414ea364b1a846bc20f7c9dd5de99ab6
BLAKE2b-256 89ea9a66b2d4c32aa9901aae21ed1a815e2f69a9bae61da49b43c959167bdd44

See more details on using hashes here.

Provenance

The following attestation bundles were made for waterfurnace-1.7.1-py2.py3-none-any.whl:

Publisher: release.yml on sdague/waterfurnace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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