Python interface for waterfurnace geothermal systems
Project description
waterfurnace
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waterfurnace-1.6.5.tar.gz.
File metadata
- Download URL: waterfurnace-1.6.5.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88bba1fa5bf43522e5baa143f72b30efe397dd15b66da18e30147abd5c309cc9
|
|
| MD5 |
98ded107c50ae3055e74ccfa4261ea46
|
|
| BLAKE2b-256 |
4151fdc2d8338942630a20dcb2b4e425c692eda9ba900ba405e056da4a106db3
|
Provenance
The following attestation bundles were made for waterfurnace-1.6.5.tar.gz:
Publisher:
release.yml on sdague/waterfurnace
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waterfurnace-1.6.5.tar.gz -
Subject digest:
88bba1fa5bf43522e5baa143f72b30efe397dd15b66da18e30147abd5c309cc9 - Sigstore transparency entry: 1313642020
- Sigstore integration time:
-
Permalink:
sdague/waterfurnace@91bbde073cceffabc50071ef400f91f57d4fd791 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sdague
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@91bbde073cceffabc50071ef400f91f57d4fd791 -
Trigger Event:
push
-
Statement type:
File details
Details for the file waterfurnace-1.6.5-py2.py3-none-any.whl.
File metadata
- Download URL: waterfurnace-1.6.5-py2.py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ad1b5695270bf44cc84ba5c56b5e47ab811a0d280ec0a5a8cd2e590b637090
|
|
| MD5 |
cd4c415b36df6476eb75cf52afb76114
|
|
| BLAKE2b-256 |
76c68425fe2175617c63764dee3f7694bf9e867f5b4d9b310a91063153951d33
|
Provenance
The following attestation bundles were made for waterfurnace-1.6.5-py2.py3-none-any.whl:
Publisher:
release.yml on sdague/waterfurnace
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waterfurnace-1.6.5-py2.py3-none-any.whl -
Subject digest:
b9ad1b5695270bf44cc84ba5c56b5e47ab811a0d280ec0a5a8cd2e590b637090 - Sigstore transparency entry: 1313642101
- Sigstore integration time:
-
Permalink:
sdague/waterfurnace@91bbde073cceffabc50071ef400f91f57d4fd791 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sdague
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@91bbde073cceffabc50071ef400f91f57d4fd791 -
Trigger Event:
push
-
Statement type: